Cannot create Admin account

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
vidar.ostevik
Posts: 2
Joined: Wed 19. Jul 2006, 21:55

Cannot create Admin account

Post by vidar.ostevik »

Hi!
I'm having a problem during the installation process. In step 2, I can't create an Admin account..? After filling in username, password and e-mail, the installation program says Check your admin user name and password!.
I'm installing this on my laptop, running XP Pro, Apache 1.3.35, php 4.3.11, and MySQL 5.0.11 using old passwords.
When opening MySQL admin, and opening the schema (Database), I can see that the data has been installed. Any suggestions?

Regards Vidar
Pappnase

Post by Pappnase »

hello

detele the whole tables and re run the setup :-)
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

To re-enable setup remove the line

Code: Select all

$NO_ACCESS = true;
in setup.conf.inc.php.
Pappnase

Post by Pappnase »

DeXXus wrote:To re-enable setup remove the line

Code: Select all

$NO_ACCESS = true;
in setup.conf.inc.php.
hello

did we both start the same good game again :-) and support each other :-)
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

LOL :lol:
Just to see you here... hard at work (as usual) :wink:
YOU are "the Man" !!!
Pappnase

Post by Pappnase »

DeXXus wrote:LOL :lol:
Just to see you here... hard at work (as usual) :wink:
YOU are "the Man" !!!
hehe dex

after taking a offtime from the forum i must renew all my knowings ;-)
vidar.ostevik
Posts: 2
Joined: Wed 19. Jul 2006, 21:55

Post by vidar.ostevik »

Hi Pappnase!

I've tried to re-install the system several times...
Every time I have deleted the database, still no luck!
I've even tried to set "root" as DB user, still no luck!
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

DB user and Admin account are not the same! Db username and password are something you create (or have been given by your host).

You provide phpWCMS install script with this username, password, the address to your MySQL database and the name of the database you want phpWCMS to use (where you have already created a database for phpWCMS).

You make sure you checkmark "Create admin account" and leave default (u:webmaster p:admin).

If everything is GREEN then phpWCMS is confirming that your answers were entered in the proper format for it to proceed. (NOT that it has "connected" yet)

Then phpWCMS uses this info (that you gave) to try connecting to database and creating tables and "default" Admin user.

If you give it a database URL, username, password that is not right (or it cannot connect, because the database is down)
You will get a message that says:-->Check your admin user name and password!

If all goes well... Later you login with "default" Admin user and change Admin users to your liking. confirm that it is working and then delete SETUP folder.
Uups
Posts: 3
Joined: Wed 16. Aug 2006, 11:41

Same problem

Post by Uups »

Hi
I got the same Problem. On first setup screen, I added all all the stuff correctly. When trying to add an admin account on saving the second screen, I get the Message:
Warning: mysql_connect(): Access denied for user 'db_user'@'localhost' (using password: YES) in
/www/htdocs/w007075f/web/Durbusch2/setup/setup.php on line 100

Instead "db_user" there should be the database user I entered an saved on first screen - but it isn't
>> error in setup script?
Pappnase

Re: Same problem

Post by Pappnase »

Uups wrote:Hi
I got the same Problem. On first setup screen, I added all all the stuff correctly. When trying to add an admin account on saving the second screen, I get the Message:
Warning: mysql_connect(): Access denied for user 'db_user'@'localhost' (using password: YES) in
/www/htdocs/w007075f/web/Durbusch2/setup/setup.php on line 100

Instead "db_user" there should be the database user I entered an saved on first screen - but it isn't
>> error in setup script?
hello

then YOU have the wrong settings setup in the setup script! the setup script is ok ;-)
Uups
Posts: 3
Joined: Wed 16. Aug 2006, 11:41

Found Solution

Post by Uups »

Sorry for the post
Solution is: When creating the MySQL Databese at least on some site admin tools, you must create explicitly a database *within* this new created databse. As long as this db inside the created login does'nt exist, nothing works.
>> Go to Site-Admin, open you MySQL Admin tool (i.e. mysladmin) and check if the databese existst *within* the database you use for login.

(For the developers: Gallery, another free product, seems to check this on installation and solve the Problem by itself. Maybe the code used there is useful?)
Uups
Posts: 3
Joined: Wed 16. Aug 2006, 11:41

Re: Same problem

Post by Uups »

Pappnase wrote: then YOU have the wrong settings setup in the setup script! the setup script is ok ;-)
Nothing changed in your code 8)
Seems when creating a database in my website Admin tool just an accout is created but not the database itself.
Pappnase

Re: Same problem

Post by Pappnase »

Uups wrote:
Pappnase wrote: then YOU have the wrong settings setup in the setup script! the setup script is ok ;-)
Nothing changed in your code 8)
Seems when creating a database in my website Admin tool just an accout is created but not the database itself.
hehe it's not my code! :-) ist Oliver G.'s code :-)
Post Reply