PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
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 Back to top

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: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
porcupinepc
Involved
Involved


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

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

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

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: 16987
Location: Kansas

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

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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
porcupinepc
Involved
Involved


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

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

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:
Only registered users can see links on this board!
Get registered or login to the 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
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: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
porcupinepc
Involved
Involved


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

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

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
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: 16987
Location: Kansas

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

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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
porcupinepc
Involved
Involved


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

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

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

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: 16987
Location: Kansas

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

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
porcupinepc
Involved
Involved


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

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

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
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
CodyG
Life Cycles Becoming CPU Cycles


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

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

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
Involved
Involved


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

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
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.

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