Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating Admin Account...?


Brandburnmedia

Recommended Posts

Hey guys,

 

For some reason on one of my sites that have ecommerce when I install it, it never prompts me for a Username and Password to create, and when I go to my admin page it just goes right into the Administration page, so anyone can get into it.

 

My other site I run has an Administration account and prompts you to login before getting into the administration area.

 

Why is this....I don't like the fact that my administration page is so easy to get into.

Link to comment
Share on other sites

In server information it says this for version name.

 

"osCommerce 2.2-MS2"

 

So how come all I have to do is type in my url than /admin and I'm in my store....doesn't make me feel protected at all lol.

 

Any clue....not opening till this is fixed....don't feel safe at all...

Link to comment
Share on other sites

Alright I clicked upgrade to the 2.2 MS - filled in server information etc.

 

Says it was successfull but I get this error....and I still don't have an admin loggin.

 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/d2stash/public_html/install/includes/functions/database.php on line 45

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/d2stash/public_html/install/includes/functions/database.php on line 45

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/d2stash/public_html/install/includes/functions/database.php on line 45

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/d2stash/public_html/install/includes/functions/database.php on line 45

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/d2stash/public_html/install/includes/functions/database.php on line 45

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/d2stash/public_html/install/includes/functions/database.php on line 45

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/d2stash/public_html/install/includes/functions/database.php on line 45

Link to comment
Share on other sites

In server information it says this for version name.

 

"osCommerce 2.2-MS2"

 

So how come all I have to do is type in my url than /admin and I'm in my store....doesn't make me feel protected at all lol.

As Nic pointed above, you are using MS2 version of oscommerce. MS2 doesn't have an admin login screen. Htaccess is used to secure admin.

 

Login screen for osc admin started with RC1.

 

If you want to secure your admin with a login screen, password protect your admin folder thru your webhost control panel.

 

You may also want to search the contribution section. There are some written for this purpose also.

 

Regarding upgrading, check >> this

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...