breamreaper Posted March 11, 2018 Share Posted March 11, 2018 Hi I have just installed oscommerce for the first time but cannot seem to login to the admin area. I have noted the username and password I used during setup and when I enter these it just seems to refresh the page without any error messages showing. Clearly I have done something wrong but cannot seem to work out what it is. Can someone help? Thanks. Link to comment Share on other sites More sharing options...
MrPhil Posted March 11, 2018 Share Posted March 11, 2018 What version of osC, and what version of PHP? osC 2.3.4.1BS "Edge" is the only really up to date version that you should be using, known to work well up through at least PHP 7.0. Note that it's not the "official" osC release! Link to comment Share on other sites More sharing options...
breamreaper Posted March 12, 2018 Author Share Posted March 12, 2018 Hi MrPhil 2.3.4.1 is the release version for osC. No idea what the PHP version is how do I find out? Also what is the best way to uninstall and reinstall osC? Regards Link to comment Share on other sites More sharing options...
breamreaper Posted March 12, 2018 Author Share Posted March 12, 2018 Also I am trying to run it from a subdomain. Could this be part of the problem? Link to comment Share on other sites More sharing options...
breamreaper Posted March 12, 2018 Author Share Posted March 12, 2018 After I type in the username and password the URL turns to www.domain.com/subdomain/admin/login.php?action=process the screen remains unchanged. Link to comment Share on other sites More sharing options...
MrPhil Posted March 12, 2018 Share Posted March 12, 2018 Did you install manually a copy from the GitHub repository? If not, you're using the "official" 2.3.4.1 release. While the osC owner calls this "PHP 7 ready", supposedly all he did is suppress the "deprecated" warnings when running on PHP 7. I don't trust this version not to have subtle bugs when running at PHP 5.5 or higher. If you're just starting out, do it right by installing and using the "Edge" version (see my sig below). It's got a lot of bug fixes, is fully PHP 7.0 ready, has new features, and best of all is responsive. Run the following .php script to get information about your PHP installation, including the version: <?php phpinfo(); ?> Do not publicly give out the URL of your script or list all the output; it contains information that might be useful to a hacker. Regarding the subdomain showing in the URL, did you put the subdomain name (as subdomain.domain.com) in the configure.php files, rather than domain.com/subdomain/? If so, some hosts need an .htaccess redirect to take domain.com/subdomain/ and turn it back into subdomain.domain.com. I'm assuming you're using the term "subdomain" correctly, and not actually referring to an "add-on" domain (where you should see www.addonname.com instead of www.domain.com/addon/). Link to comment Share on other sites More sharing options...
breamreaper Posted March 12, 2018 Author Share Posted March 12, 2018 Thank you MrPhil I will try the Edge version in your link and see how it goes. Kind regards Link to comment Share on other sites More sharing options...
breamreaper Posted March 25, 2018 Author Share Posted March 25, 2018 Ok I tried the Edge version and still no good. The same thing happens as before. The install says it was successful so quite perplexed. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.