My login hack uses the following code, so i can access the global $vbulletin:
PHP Code:
chdir("./forum/");
require('./global.php');
chdir("/");
which worked fine on 3.0.7, but on 3.5.0, everythings goes well until the page displays the following at the bottom:
Quote:
There seems to have been a problem with the Forums database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
---
Database error in vBulletin 3.5.0 Release Candidate 2:
Invalid SQL:
UPDATE session
SET lastactivity = 1125339316, location = '/index.php', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '2204453e54c5f1e43f9a07ca23fb8562';
MySQL Error : Table 'main.session' doesn't exist
Error Number : 1146
Date : Monday, August 29th 2005 @ 07:15:16
|
It seems to want to connect to the session table on my "main" database. The database for my site is called: "main", the forum database is called: "main_forum").
Any ideas? Thx