Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

install ok. Can't login to admin.


magneteye

Recommended Posts

Posted

My username and password i set for the database do not work. I also tried the user/pass for my server, doesnt work either. what are the user/pass based on, and where do you set it?

 

thanks,

 

matt

Posted

What version of osCommerce....?

GIVE DETAILS.

 

If you use Ian's loaded snapshot: Read the docs.

They'll tell you the default admin/pass is

 

login: default

pass: admin

 

For mySQL passwords you need to contact your system admin or hosting provider.

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

I just uploaded via FTP and then ran the install.

 

OSC Version 2.2

 

it asked me for db username/password during install. but, what the admin login by default? nothing in the docs mention it.

 

?

 

matt

Posted

it asked you for the MYSQL password and username. They're hosting provider related. If you do not know them you should ask your provider.

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

yeah i know. i set my username and password for the db in Cpanel. thats not a problem.

 

so apparently it should work, right?

 

the question is: when you goto admin and it prompts for user/pass, it wants the DB user/pass, or does it want the Server user/pass?

 

i tried both. no dice.

 

 

i checked configure.php and it has correct user/pass info for the mysql db. so i thought it should work.

 

:?:

 

-m

Posted
If you use Ian's loaded snapshot: Read the docs.

 

Forgive my ignorance, but who's Ian and does the latest snapshot password protect the admin folder? Hmm...maybe I don't have the latest version. :?

Posted

CRAP! ok, i think i got the user/pass but then it takes me to this screen:

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

 

now what is this about?

Posted

How is the Admin protected then? By a popup thingie?

In the default installation there is no pass protection on osCommerce admin side.... ?!?

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

nevermind. now i got a bit further...

 

Warning: Access denied for user: 'cloud9_magneteye@localhost' (Using password: YES) in /home/cloud9/public_html/store/admin/includes/functions/database.php on line 19

 

Warning: MySQL Connection Failed: Access denied for user: 'cloud9_magneteye@localhost' (Using password: YES) in /home/cloud9/public_html/store/admin/includes/functions/database.php on line 19

 

Unable to connect to database server!

 

 

 

my user/pass are correct, but it wont let me in. argh!

 

 

oh well, i searched forums and havent found an answer yet. i'll keep trying things.

 

thanks.

Posted

No Data Base selected means that you didnt enter the right name for your data base

 

this is a cpanel issue try your username_catalog or what ever you named the data base if it difffers from catalog

 

let us know how you make out

Posted

OK! I got it all sorted out! PHEW!

 

Apparently you need to open the configure.php in admin/includes and set values there, besides the configure.php in catalog/includes.

 

no one mentions this in the docs...not that i could see.

 

so, it works now. sorry if i was a bother.

 

THANKS!!!

 

matt

Posted
nevermind. now i got a bit further...

 

Warning: Access denied for user: 'cloud9_magneteye@localhost' (Using password: YES) in /home/cloud9/public_html/store/admin/includes/functions/database.php on line 19

 

Warning: MySQL Connection Failed: Access denied for user: 'cloud9_magneteye@localhost' (Using password: YES) in /home/cloud9/public_html/store/admin/includes/functions/database.php on line 19

 

Unable to connect to database server!

 

 

 

my user/pass are correct, but it wont let me in. argh!

 

 

oh well, i searched forums and havent found an answer yet. i'll keep trying things.

 

thanks.

 

I have got exactly the same thing did you ever get to the bottom of this???

 

WHo is your host??

Posted

yes. Se my last post that says:

 

Apparently you need to open the configure.php in admin/includes and set values there, besides the configure.php in catalog/includes.

 

So, open configure.php in the admin/includes folder and check the settings. They should natch the configure.php in catalog/includes folder. Its the last 6 lines or so.

 

Hope you get it!

 

-Matt

Posted
yes. Se my last post that says:

 

Apparently you need to open the configure.php in admin/includes and set values there, besides the configure.php in catalog/includes.

 

So, open configure.php in the admin/includes folder and check the settings. They should natch the configure.php in catalog/includes folder. Its the last 6 lines or so.

 

Hope you get it!

 

-Matt

 

Got it! Both the password and username had a space at the end between the quotes. I removed this and all was well. But I can't work out why mysql let the datbase populate without the correct password and username!>>>

 

Thanks anyway.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...