PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  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
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Fri Sep 07, 2007 11:40 pm Reply with quote Back to top

Hello, I recently re-installed my website and when I try to browse the forums I get this error:

Code:
phpBB : Critical Error

Error doing DB query userdata row fetch

DEBUG MODE

SQL Error : 1146 Table 'z7rsq3_******.SESSIONS_KEYS_TABLE' doesn't exist

SELECT u.* FROM nuke_users u, SESSIONS_KEYS_TABLE k WHERE u.user_id = 2 AND u.user_active = 1 AND k.user_id = u.user_id AND k.key_id = 'b4cc92640322fc12ac6f5251dc34efa7'

Line : 89
File : sessions.php


I need some help please, if you guys can help me out with this.
Thank you in advance.


Last edited by icewolf on Sat Sep 08, 2007 9:53 am; edited 1 time in total
View user's profile Send private message
utssace
Worker
Worker


Joined: Feb 18, 2006
Posts: 155
Location: Virginia

PostPosted: Sat Sep 08, 2007 7:16 am Reply with quote Back to top

Were you reinstalling a previously working site with backed up site files & database or are you starting over with a fresh install?
View user's profile Send private message Visit poster's website
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 9:34 am Reply with quote Back to top

Greetings, I started up with a fresh install.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Sep 08, 2007 10:17 am Reply with quote Back to top

What did you install? Nuke or phpBB? What version? Sort of looks like you are missing or have a corrupt database table.
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 11:08 am Reply with quote Back to top

I installed Nuke 8.1, which includes both.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Sep 08, 2007 11:40 am Reply with quote Back to top

Do you have the file includes/constants.php on your server?
View user's profile Send private message
gotcha
Regular
Regular


Joined: Mar 14, 2005
Posts: 91

PostPosted: Sat Sep 08, 2007 11:42 am Reply with quote Back to top

Looks like the includes/constants.php is missing the definition for SESSIONS_KEYS_TABLE..

define('SESSION_KEYS_TABLE', $prefix.'_bbsessions_keys');
View user's profile Send private message Visit poster's website
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 11:43 am Reply with quote Back to top

/public_html/modules/Forums/includes/constants.php
Yes
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 11:47 am Reply with quote Back to top

gotcha wrote:
Looks like the includes/constants.php is missing the definition for SESSIONS_KEYS_TABLE..

define('SESSION_KEYS_TABLE', $prefix.'_bbsessions_keys');


After adding that I get this error:

phpBB : Critical Error

Error doing DB query userdata row fetch

DEBUG MODE

SQL Error : 1146 Table '*****_*****.nuke_bbsessions_keys' doesn't exist

SELECT u.* FROM nuke_users u, nuke_bbsessions_keys k WHERE u.user_id = 2 AND u.user_active = 1 AND k.user_id = u.user_id AND k.key_id = 'b4cc92640322fc12ac6f5251dc34efa7'

Line : 89
File : sessions.php
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 11:54 am Reply with quote Back to top

So I suppose there are some parts missing from the SQL, weird.., is there an SQL file I should get that has all the tables?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Sep 08, 2007 11:57 am Reply with quote Back to top

icewolf wrote:
/public_html/modules/Forums/includes/constants.php
Yes


No, I said includes/constants.php, meaning public_html/includes/constants.php, not modules/Forums/includes/constants.php.

Otherwise I'm not familiar with how PHP-Nuke 8 does the forums. I assumed it was using BBtoNuke, in which case all the includes are in the root directory, not under forums.
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 12:28 pm Reply with quote Back to top

That be a no, usually for phpnuke they have it in modules/forums/includes/constants.php
But no there is no constants.php on the public_html/includes/constants.php
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 12:40 pm Reply with quote Back to top

Hey should I try to install 7.9 and then keep upgrading to 8.1? that may work.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Sep 08, 2007 12:50 pm Reply with quote Back to top

I am familiar with RavenNuke, Nuke Evolution, and PHP-Nuke 7.9. They all use the BBtoNuke package to achieve phpBB integration. And all of these put the forums includes stuff in <root>/includes, not modules/Forums/includes. So either 8.x is doing something different, or you have the files in the wrong locations.

You are better off trying to go to RavenNuke if you are going to go anywhere. Wink
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 12:59 pm Reply with quote Back to top

Gremmie wrote:
I am familiar with RavenNuke, Nuke Evolution, and PHP-Nuke 7.9. They all use the BBtoNuke package to achieve phpBB integration. And all of these put the forums includes stuff in <root>/includes, not modules/Forums/includes. So either 8.x is doing something different, or you have the files in the wrong locations.

You are better off trying to go to RavenNuke if you are going to go anywhere. Wink


I don't think I put files in the wrong locations.
Anyways I went to
Only registered users can see links on this board!
Get registered or login to the forums!

but not sure which one to download (ravenuke) I could use some help.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Sep 08, 2007 1:05 pm Reply with quote Back to top

They are all the same, they just differ on how they are archived (.zip, .rar, etc). You won't need the core table fix package.
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 3:47 pm Reply with quote Back to top

Alrighty, I installed everything, now when I try to go to the forums and post something it takes me to Your Account page, not sure whats going on, btw Gremmie, do you have anything that we can use to talk real time? msn or something.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Sep 08, 2007 3:55 pm Reply with quote Back to top

You have to be logged in as a user probably to make a forum post. Are you just logged in as God admin?
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 4:21 pm Reply with quote Back to top

my username is the same as the god admin, I logged out from god admin and still kept going to the same page when I tried to post or reply to a thread.
Here is a screenshot:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Sep 08, 2007 4:33 pm Reply with quote Back to top

What are the forum permissions? Clear your cookies just in case.
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 5:15 pm Reply with quote Back to top

Looks like clearing my cookies fixed the problem! thank you so much, I believe I am all good to go!
Thank you so much Gremmie you are truly amazing.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Sep 08, 2007 5:20 pm Reply with quote Back to top

RavensScripts

Glad you got it working!
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 6:01 pm Reply with quote Back to top

Looks like it wasn't just me but other users were not able to post, should I tell them to just go ahead and delete cookies for all ?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Sep 08, 2007 7:35 pm Reply with quote Back to top

Sure, I guess....??? Can't hurt.
View user's profile Send private message
icewolf
Hangin' Around


Joined: Jul 10, 2006
Posts: 32

PostPosted: Sat Sep 08, 2007 8:07 pm Reply with quote Back to top

Sorry to add this, as I go I keep getting more and more errors:
When I try to update my info (adding avatar) or something else I get error saying:
Invalid Session. Please resubmit the form.
I get that over and over again, I also tried from Profile (the phpnuke one instead of the forums one) and same bug, instead of uploading the avatar it re-directs me to the avatar page (the one with all the icons)
Its weird.
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum