Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9
Author Message
porcupinepc
Involved
Involved



Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Tue Nov 18, 2003 8:14 am Reply with quote

I installed a fresh copy of 6.9 and setup the database and that went perfect. However, when i setup a super user, i try to get into Preferences, it boots me back to the Admin login screen. What did i do wrong?

Joe
 
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Nov 18, 2003 9:08 am Reply with quote

Review your error logs to see if there's anything there. Also, verify your mysql configuration settings. That's usually the issue. The dbuser and dbname are not linked (permissions) or are incorrect.
 
View user's profile Send private message
porcupinepc







PostPosted: Tue Nov 18, 2003 10:00 am Reply with quote

I double checked the database using analyze.php and all seems ok. no errors shown. Which directories/files need to be chmod?

Joe
 
Raven







PostPosted: Tue Nov 18, 2003 10:14 am Reply with quote

Analyze does not verify the username/password permission credentials. This has all the indications that permissions in MySQL are not set correctly. If you used cPanel to create the database and database user, did you then connect the user with the database to allow that dbuser to have access to that database?
 
porcupinepc







PostPosted: Tue Nov 18, 2003 10:16 am Reply with quote

Raven wrote:
Analyze does not verify the username/password permission credentials. This has all the indications that permissions in MySQL are not set correctly. If you used cPanel to create the database and database user, did you then connect the user with the database to allow that dbuser to have access to that database?


What is did was:

1. setup a fresh database

2. ftp all files into: http://www.porcupinepc.com/forums

3. set me up as "super user"

Then what happens is it boots be back to the admin login screen. i can't setup configuration or anything

Joe
 
Raven







PostPosted: Tue Nov 18, 2003 10:25 am Reply with quote

But, when you set up a fresh database you also have to assign a database user who can access that database. If you use cPanel, for example, you either use and existing user or you create a new user. Then, you have to link that user to the database to tell MySQL that he has permisiion to use the database. This has nothing at all to do with Nuke at this point. It is all in MySQL to this point. Then you put that information in your nuke config.php file.
 
porcupinepc







PostPosted: Tue Nov 18, 2003 11:59 am Reply with quote

Raven:

I am using PhpMyAdmin to setup the database. Im still getting kicked back to the login screen. I went as far as to contact my hosting company that tested my settings for the database and it was ok. I thought maybe a corrupted database table so i deleted the tables and reinstalled them. Same prob.

Joe
 
Raven







PostPosted: Tue Nov 18, 2003 12:24 pm Reply with quote

When I look at your Plesk database setup, I only see 1 user for that database and it is not the same username you are using in your config.php. Did you use Plesk to add another username to the database?
 
porcupinepc







PostPosted: Tue Nov 18, 2003 12:36 pm Reply with quote

that must be where i went wrong. There should only be one user

Joe
 
Raven







PostPosted: Tue Nov 18, 2003 12:38 pm Reply with quote

That's what I was trying to tell you in all my ramblings. When the admin panel goes blank like that it's 99.999% of the time because nuke can't login and retrieve the configuration/author table settings. That means either the settings are wrong in config.php or MySQL isn't configured correctly Smile


Last edited by Raven on Tue Nov 18, 2003 12:53 pm; edited 1 time in total 
porcupinepc







PostPosted: Tue Nov 18, 2003 12:45 pm Reply with quote

what i'll do, once this is fixed, is write everything down (database settings and config.php settings) In case i have to reload it the future

Joe
 
CodyG
Life Cycles Becoming CPU Cycles



Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island

PostPosted: Thu Nov 20, 2003 9:03 am Reply with quote

My first webhost used Plesk 2.5. That extra step, connecting user to the database, wasn't required. My second host used CPanel. I spent three excruitiating days trying to get a nuke up, then blamed the webhost and moved on to some other host, again with CPanel. But this third one had great support forums and within minutes I had this issue sussed ... doh! Such a little thing, eh? But that fancy host *without* the support forums was clueless to my db connection problem.
 
View user's profile Send private message
porcupinepc







PostPosted: Thu Nov 20, 2003 10:00 am Reply with quote

the "most excellent" Raven suggested that the browser's "cookies" may be conflicting. They were! I deleted both the cookies as well as i cleared my browsers history. All is well. thanks to everyone!

Kindest regards

Joe Robertson
System Administrator
Porcupine PC / The Great White North Trading Post
www.porcupinepc.com/forums
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9

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 ©