Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
muttley
New Member
New Member


Joined: Jun 19, 2003
Posts: 5

PostPosted: Thu Jun 19, 2003 5:50 am Reply with quote

Have installed and activated but within the block I get this error

Quote:
MySQL said Table 'nuke.nuke_session' doesn't exist


Any Ideas Question
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Sat Jun 21, 2003 4:03 pm Reply with quote

If you look at your MySQL databse, using phpMyAdmin, do you have a nuke.nuke_session table?
 
View user's profile Send private message
muttley
PostPosted: Sun Jun 22, 2003 6:14 am Reply with quote

Sorry Raven, I should have mentioned in the original post, yes the nuke_session table does exist. But the Database is not titled "Nuke" it is titled "phpnuke" hence I would assume the script is looking for nuke.nuke_session and it needs to look for php.nuke_session, correct?? If so how do I fix this?? Thanks for advice in advance.
 
Raven
PostPosted: Sun Jun 22, 2003 9:55 am Reply with quote

The script uses what is in the $prefix variable in the config.php file, or at least that's what I recall. What is the $prefix value set to?
 
muttley
PostPosted: Mon Jun 23, 2003 3:45 pm Reply with quote

mmm, from .root/config.php file -

Quote:
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "xxxxxx";
$dbname = "phpnuke";
$prefix = "nuke";
$user_prefix = "nuke";


Does this make things clearer Question
 
Raven
PostPosted: Mon Jun 23, 2003 4:04 pm Reply with quote

What version of nuke are you running?
 
muttley
PostPosted: Mon Jun 23, 2003 5:05 pm Reply with quote

PHPnuke 6.5
PHP 4.3.1.1
Mysql 4.0.12
 
Raven
PostPosted: Mon Jun 23, 2003 6:10 pm Reply with quote

One more time Embarassed

Change all instances of

$prefix.nuke

to

".$dbname.".".$prefix."

Include the quote marks.
 
muttley
PostPosted: Tue Jun 24, 2003 2:12 am Reply with quote

Very Happy Thanks Raven, thats got it. Very Happy

Thats kind of where I was going in my second post but couldn't get it to find the database.

Thanks for your time and better still the solution.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

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 ©