Guest Posted July 11, 2010 Posted July 11, 2010 Lets try this again since my topic seemed to have gone missing from yesterday, I need help getting my admin login working, I have tried all the different things on this forum to get it running, nothing is working, it constantly says invalid login. I even tried the automatic install from my service provider for my domain, and I go to the admin and I get a 404 error, nothing I do will let me into my admin for my oscommerce, I do not write PHP, I just want to get my shopping cart working for my website, and nothing is working, PLEASE HELP and do not delete my topic, I need help.
Guest Posted July 12, 2010 Posted July 12, 2010 Victor, Log into your hosting control panel and use myphpadmin to find the administrators table. delete any entries in the table. DO NOT DELETE THE TABLE ITSELF. Then, log into your admin for your store, you will see a warning on the top stating there is no administrators registered to create a new username and password. This will reset the admin username and password to whatever you enter. Chris
Guest Posted July 12, 2010 Posted July 12, 2010 Victor, Log into your hosting control panel and use myphpadmin to find the administrators table. delete any entries in the table. DO NOT DELETE THE TABLE ITSELF. Then, log into your admin for your store, you will see a warning on the top stating there is no administrators registered to create a new username and password. This will reset the admin username and password to whatever you enter. Chris I did this about 7 times, still nothing, I also uninstalled and reinstalled 3 times and went in and changed the password code as another thread suggested which was the code for pass and that didnt work either
germ Posted July 12, 2010 Posted July 12, 2010 Does the catalog side function (i.e. can you create an account like you were a potential customer and successfully login/logout after the account is created)? :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted July 12, 2010 Posted July 12, 2010 also, after installing the oscommerce directly from my cpanel I type in www.mywebsite.com/osc/admin which is supposed to be the admin login area for the direct install and I get this error Not Found The requested URL /osc/admin was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. but all the information from the direct install says that that is the link, also the www.mywebsite.com/osc shows the catalog for that install.
germ Posted July 12, 2010 Posted July 12, 2010 yes, the catalog side works fine, no issues there Well that's good and bad. Good for you, bad for me. If the catalog side was "broke" I had an "off the wall" suggestion, but as it is - I'm left clueless... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted July 12, 2010 Posted July 12, 2010 please, tell me your suggestion, I am willing to try pretty much anything, I even tried installing zencart and having the same problem there, can't get into the admin area
Guest Posted July 12, 2010 Posted July 12, 2010 I still get the error trying to get into the admin area of oscommerce when I have it installed by my server provider, I am going to try manual install again, I got zencart working by making this change Your Own Certificate Change includes/configure.php and admin/includes/configure.php to: // Define the webserver and path parameters define('HTTP_SERVER', 'http://www.YOUR_SHOP.com'); define('HTTPS_SERVER', 'https://www.YOUR_SHOP.com'); define('ENABLE_SSL', 'true'); Shared Certificate Change includes/configure.php and admin/includes/configure.php to: // Define the webserver and path parameters define('HTTP_SERVER', 'http://www.YOUR_SHOP.com'); define('HTTPS_SERVER', 'https://YOUR_SHOP.YOUR_SECURE_SERVER.net'); define('ENABLE_SSL', 'true'); or: // Define the webserver and path parameters define('HTTP_SERVER', 'http://www.YOUR_SHOP.com'); define('HTTPS_SERVER', 'https://YOUR_SECURE_SERVER.net/YOUR_USERNAME'); define('ENABLE_SSL', 'true'); or: // Define the webserver and path parameters define('HTTP_SERVER', 'http://www.YOUR_SHOP.com'); define('HTTPS_SERVER', 'https://YOUR_SECURE_SERVER.net/~YOUR_USERNAME'); define('ENABLE_SSL', 'true'); I have SSL on my website and when I went into the configure files of the install I noticed it said false for the enable ssl, so, if I do the manual install of oscommerce and make that change, maybe it will fix the problem, I posted this here for other people that might be running into the brick wall I was running into, I will post again if this works after the manual install.
Guest Posted July 12, 2010 Posted July 12, 2010 I still get the error trying to get into the admin area of oscommerce when I have it installed by my server provider, I am going to try manual install again, I got zencart working by making this change Your Own Certificate Change includes/configure.php and admin/includes/configure.php to: // Define the webserver and path parameters define('HTTP_SERVER', 'http://www.YOUR_SHOP.com'); define('HTTPS_SERVER', 'https://www.YOUR_SHOP.com'); define('ENABLE_SSL', 'true'); Shared Certificate Change includes/configure.php and admin/includes/configure.php to: // Define the webserver and path parameters define('HTTP_SERVER', 'http://www.YOUR_SHOP.com'); define('HTTPS_SERVER', 'https://YOUR_SHOP.YOUR_SECURE_SERVER.net'); define('ENABLE_SSL', 'true'); or: // Define the webserver and path parameters define('HTTP_SERVER', 'http://www.YOUR_SHOP.com'); define('HTTPS_SERVER', 'https://YOUR_SECURE_SERVER.net/YOUR_USERNAME'); define('ENABLE_SSL', 'true'); or: // Define the webserver and path parameters define('HTTP_SERVER', 'http://www.YOUR_SHOP.com'); define('HTTPS_SERVER', 'https://YOUR_SECURE_SERVER.net/~YOUR_USERNAME'); define('ENABLE_SSL', 'true'); I have SSL on my website and when I went into the configure files of the install I noticed it said false for the enable ssl, so, if I do the manual install of oscommerce and make that change, maybe it will fix the problem, I posted this here for other people that might be running into the brick wall I was running into, I will post again if this works after the manual install. That was the problem, once I made that change in the /catalog/includes/configure.php and the /catalog/admin/includes/configure.php I was easily able to log into the admin area of the oscommerce, so, remember to do this step people if you have your site protected by ssl or shared ssl.
drub Posted August 16, 2010 Posted August 16, 2010 I used cpanel to install osc (The first time. Yep, I'm a real noob). Received email with the admin password. Attempted to log in. Did not work. Used the suggestion, in this thread, and removed the row from the database. Specifically, removed the only entry in the "Administrators" table, in the "_oscm1" database. Navigated to <my site>/admin, and a page was displayed that prompted for a new admin user name and password. Worked like a charm. ISP : HostGator Hope this helps others with the same issue!
MrBloop Posted August 16, 2010 Posted August 16, 2010 I have been using wordpress, drupal and joomla for about 2 years now. I wanted to try out OsCommerce. In Joomla when I login to the admin section all it is is: http://www.sitename.com/administrator How very easy, Drupal and Wordpress are also very easy. Now I am confused, I search in Google for WHERE to login to MY WEBSITE as an admin, and all I see is people presuming one want to hack and all kind of absurd things! I just want to know WHERE to login as an administrator????? Is it under myaccount? Should that be so and it does not recognise me like it has been, then it is simple, I use Zencart or Cubecart. If one does not even get told WHERE to login as an admin for fear of being a hacker? I hope you don't mind me posting my issue here as well, but this is such a simple thing and it should just work for the first 5 minutes, like every other cart or CMS in the world, before having to edit databases?
Jan Zonjee Posted August 16, 2010 Posted August 16, 2010 I hope you don't mind me posting my issue here as well, but this is such a simple thing and it should just work for the first 5 minutes, like every other cart or CMS in the world, before having to edit databases? When you installed osCommerce you were given the option to either visit the catalog side or the admin side. You could have seen it there. You could have seen when viewing the files in the catalog. You could have seen when looking at the topic about admin insecurity. It is simply the directory catalog/admin/ When you are not logged-in it will lead you to the login.php. There is more information on osCommerce in this part of the development server. I think osC is a lot simpler than Drupal...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.