| Author |
Post |
|
|
#1 Wed Sep 05, 2007 5:39 pm
|
|
Member
Registered: Sep 2007
Posts: 3
|
hey there, i have everything needed, the config all worked out, but i am stuck on this problem:
In file sources/db_mysql.php on line 117:
SQL_ERROR - Table '<my DB name>.usebb_sessions' doesn't exist
Enable debug mode level 2 to see the error and erroneous SQL query.
ive looked into the coding and i find that there shouldnt be any usebb_session script there: * Execute database queries * * @param string $query SQL query * @param bool $return_error Return error instead of giving general error * @returns mixed SQL result resource or SQL error (only when $return_error is true) */ function query($query, $return_error=false, $log=true) { if ( $log ) $this->queries[] = preg_replace('#\s+#', ' ', $query); $result = @mysql_query($query, $this->connection) or $error = mysql_error($this->connection); if ( isset($error) ) { if ( $return_error ) return $error; else (line 117) trigger_error('SQL: '.$error, E_USER_ERROR); } return $result; } /** what exactly is it that i need to do to enable the sessions
|
|
|
#2 Wed Sep 05, 2007 6:40 pm
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
Please read docs/index.html (or online).
|
|
|
#3 Wed Sep 05, 2007 7:19 pm
|
|
Member
Registered: Sep 2007
Posts: 3
|
how does that help me at all with the problem im facing? ive already read the documents twice over, and its not a problem addressed by the docs/index.html file.
|
|
|
#4 Wed Sep 05, 2007 7:31 pm
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
You haven't installed UseBB as described in the documentation.
|
|
|
#5 Wed Sep 05, 2007 9:24 pm
|
|
Member
Registered: Sep 2007
Posts: 3
|
what step havent i followed? i was pretty sure i ran the install and such according to the documentation...
|
|
|
#6 Wed Sep 05, 2007 11:37 pm
|
|
Moderator
Registered: Oct 2005
Posts: 437
Location: canada
|
You are missing MySQL tables.
|
|
|
#7 Thu Sep 06, 2007 8:12 am
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
The process is documented very well in that HTML file. You indeed don't have any tables in the database, thus have not run the installer or not imported any tables manually.
|