Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Stand Alone
Author Message
mrix
Client



Joined: Dec 04, 2004
Posts: 757

PostPosted: Thu Jun 08, 2006 6:56 am Reply with quote

Hello all, after upgrading my phpbb forums I found on the upgrade details
it showed this error

Updating version and optimizing tables
Progress :: . . Done
Result :: Some queries failed, the statements and errors are listing below

Error :: Table 'mrix_phpb1.SESSIONS_KEYS_TABLE' doesn't exist
SQL :: DELETE FROM SESSIONS_KEYS_TABLE


If it needs adding how would I go about adding it?

thanks for any help

mrix
 
View user's profile Send private message Visit poster's website
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Thu Jun 08, 2006 7:31 am Reply with quote

Do you mean, what is the syntax for CREATE TABLE?

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
mrix







PostPosted: Thu Jun 08, 2006 7:39 am Reply with quote

Just basically why have the error ? and how can I fix it?
I also notice which I think is the same problem when I go to delete a member I get this error

DEBUG MODE

SQL Error : 1146 Table 'mrix_phpb3.SESSIONS_KEYS_TABLE' doesn't exist

DELETE FROM SESSIONS_KEYS_TABLE WHERE user_id = 35

Line : 191
File : admin_users.php

thanks for you help

cheers
mrix
 
kguske







PostPosted: Thu Jun 08, 2006 7:58 am Reply with quote

Since the table is missing, I'm wondering if there was a problem when you set up the database. Maybe this table was to be created with the upgrade?
 
mrix







PostPosted: Thu Jun 08, 2006 8:16 am Reply with quote

To be totally honest I have had this problem for some time, I am now wondering what do I need to add this piece of code to my database is it straight forward?
Cheers
mrix
 
kguske







PostPosted: Thu Jun 08, 2006 8:20 am Reply with quote

I think you might be OK as long as you create the table in your database. You should be able to find the SQL to create the table in your installation script or instructions. Just to clarify, is this a Nuke installation or phpBB standalone?
 
mrix







PostPosted: Thu Jun 08, 2006 8:21 am Reply with quote

Its phpbb stand alone
cheers
mrix
 
kguske







PostPosted: Thu Jun 08, 2006 9:01 am Reply with quote

Did you find the CREATE TABLE statement for the SESSIONS_KEYS_TABLE table in your installation sql?
 
mrix







PostPosted: Thu Jun 08, 2006 9:27 am Reply with quote

No I didnt what would be the code I need to add to my database not sure where I can get it from etc.
Thanks again
mrix
 
kguske







PostPosted: Thu Jun 08, 2006 9:44 am Reply with quote

One of the files that came with your download should have a .sql extension. Open that file with a text editor and search for SESSIONS_KEYS_TABLE. There should be an SQL statement there that looks something like

CREATE TABLE SESSIONS_KEYS_TABLE.....

Copy that entire statement.

Log into your web account, and open phpMyAdmin. Select your database, then click SQL. Paste the SQL statement you copied, then click Go (I think) to run the statement.
 
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Thu Jun 08, 2006 9:51 am Reply with quote

maybe this helps..
http://www.phpbb.com/phpBB/viewtopic.php?p=1957543&highlight=&sid=cf416e2322b225461dd7e121f8e8dd2f
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Stand Alone

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©