PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
mrix
Client


Joined: Dec 04, 2004
Posts: 524

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

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: 4852

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

Do you mean, what is the syntax for CREATE TABLE?
View user's profile Send private message
mrix
Client


Joined: Dec 04, 2004
Posts: 524

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

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
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4852

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

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?
View user's profile Send private message
mrix
Client


Joined: Dec 04, 2004
Posts: 524

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

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
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4852

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

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?
View user's profile Send private message
mrix
Client


Joined: Dec 04, 2004
Posts: 524

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

Its phpbb stand alone
cheers
mrix
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4852

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

Did you find the CREATE TABLE statement for the SESSIONS_KEYS_TABLE table in your installation sql?
View user's profile Send private message
mrix
Client


Joined: Dec 04, 2004
Posts: 524

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

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
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4852

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

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.
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

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

maybe this helps..
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum