I am using WSN links verion 3.13.My website is osy-directory.com. My website was moved from host to another hosting company recently. Since then, I am seeing these errors. I am not familiar with PHP but, I am familiar with SQL. I would appreciae any help in resolving these errors. (or please point me to the document that will help me resolve this problem).
--------------------------------------------------------- Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 72
Warning: Cannot modify header information - headers already sent by (output started at /home/directo/public_html/classes/database.php:72) in /home/directo/public_html/prestart.php on line 115
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 72
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 59
I looked at the directions given in the pinned thread and followed them. I could not even get into the admin section. Here is the link that I have gone to check for the directions. Is this the correct thread or should I be looking at a different place.
I have updated the config.php file with the new database name, userid and password. I have checked that time and again, but, still shows the same errors.
Can anyone in this forum suggest a programmer who can take a look at it?(for a price ofcourse)
It has nothing to do with programming, it has only to do with your database. Fifty years of computer science classes won't reveal where your database tables are and how to access them.
If your database access info is correct (ask your web host), the only other possibility is that you didn't transfer the database content, and so are using an empty database.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on errors after switching hosts
Beginner
Usergroup: Customer
Joined: Jul 26, 2005
Total Topics: 2
Total Comments: 6
I am using WSN links verion 3.13.My website is osy-directory.com. My website was moved from host to another hosting company recently. Since then, I am seeing these errors. I am not familiar with PHP but, I am familiar with SQL. I would appreciae any help in resolving these errors. (or please point me to the document that will help me resolve this problem).
---------------------------------------------------------
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 72
Warning: Cannot modify header information - headers already sent by (output started at /home/directo/public_html/classes/database.php:72) in /home/directo/public_html/prestart.php on line 115
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_list_fields(): Unable to save MySQL query result in /home/directo/public_html/classes/database.php on line 19
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 72
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/directo/public_html/classes/database.php on line 59
--------------------------------------------------------
Thanks,
Venkata
Beginner
Usergroup: Customer
Joined: Jul 26, 2005
Total Topics: 2
Total Comments: 6
I looked at the directions given in the pinned thread and followed them. I could not even get into the admin section. Here is the link that I have gone to check for the directions. Is this the correct thread or should I be looking at a different place.
scripts.webmastersite.net/w...s/wsnmanual/link.php?id=66
Thanks,
Venkata
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You probably have completely different database info on your new server and never updated config.php.
Beginner
Usergroup: Customer
Joined: Jul 26, 2005
Total Topics: 2
Total Comments: 6
I have updated the config.php file with the new database name, userid and password. I have checked that time and again, but, still shows the same errors.
Can anyone in this forum suggest a programmer who can take a look at it?(for a price ofcourse)
Thanks
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It has nothing to do with programming, it has only to do with your database. Fifty years of computer science classes won't reveal where your database tables are and how to access them.
If your database access info is correct (ask your web host), the only other possibility is that you didn't transfer the database content, and so are using an empty database.