PDA

View Full Version : MySQL Errors?


Extier
03-28-2005, 05:38 AM
After having added the includes for the global.php (I did chdir and all to the correct path) file to access forum variables from outside the forum folder (ie.main home page).... I get the following error message:

Warning: mysql_query(): 6 is not a valid MySQL-Link resource in homefppublic_htmlforumincludesdb_mysql.php on line 212

Warning: mysql_error(): 6 is not a valid MySQL-Link resource in homefppublic_htmlforumincludesdb_mysql.php on line 357

Warning: mysql_errno(): 6 is not a valid MySQL-Link resource in homefppublic_htmlforumincludesdb_mysql.php on line 358

Any ideas on reasons why and how to fix it?

Jolten
03-28-2005, 03:18 PM
it would appear as though maybe you chdir path is incorrect.

Zachery
03-28-2005, 04:06 PM
After having added the includes for the global.php (I did chdir and all to the correct path) file to access forum variables from outside the forum folder (ie.main home page).... I get the following error message:

Warning: mysql_query(): 6 is not a valid MySQL-Link resource in homefppublic_htmlforumincludesdb_mysql.php on line 212

Warning: mysql_error(): 6 is not a valid MySQL-Link resource in homefppublic_htmlforumincludesdb_mysql.php on line 357

Warning: mysql_errno(): 6 is not a valid MySQL-Link resource in homefppublic_htmlforumincludesdb_mysql.php on line 358


Any ideas on reasons why and how to fix it?
You are seting a chdir in global.php? O.o did you chdir back?

Extier
03-28-2005, 08:24 PM
I chdir to my forum folder. Then called up globals.php. And chdir back to the main folder.

It seemed to work, because I can call up bbuserinfo variables such as username and such. But the error messages appear at the bottom of the page.

Any ideas why?

Extier
03-31-2005, 05:17 AM
Any ideas....anyone?