i had write many script ( not in the same database ) that using the vb exciting member system , and all my script is use the above code at the header :
and this is good and no problem at version 2.2.5 ,
no , while i upgrade to 2.2.6 , i all error when i load my script that using this code . the page is load , and at the end of the page , i got this error :
i think that must some change in 2.2.6 and make my script have eorror , please help and support !
chdir($DOCUMENT_ROOT . "/forums");
require($DOCUMENT_ROOT . "/forums/global.php");
chdir($DOCUMENT_ROOT . "/myscriptpath");
require($DOCUMENT_ROOT . "/forums/global.php");
chdir($DOCUMENT_ROOT . "/myscriptpath");
no , while i upgrade to 2.2.6 , i all error when i load my script that using this code . the page is load , and at the end of the page , i got this error :
Database error in vBulletin 2.2.6:
Invalid SQL: UPDATE session SET lastactivity=1029542956,location='/myscriptpath/' WHERE sessionhash='87cd73064491f2c03f72f0699f880610'
mysql error: Table 'other_database.session' doesn't exist
mysql error number: 1146
Invalid SQL: UPDATE session SET lastactivity=1029542956,location='/myscriptpath/' WHERE sessionhash='87cd73064491f2c03f72f0699f880610'
mysql error: Table 'other_database.session' doesn't exist
mysql error number: 1146
Comment