bobdonkey Posted February 5, 2016 Share Posted February 5, 2016 Hey all I have an internal dev server. The site is working fine using the URL, but when I login to admin. I get the login box, try and login, and it says Error 500. If use the IP address it works fine. So in my case http://centos/cc6/admin/php does not work (500 error) but http://192.168.3.64/cc6/admin.php works fine. I did set the URL on the SSL page to http://centos/cc6 (not that it is using SSL, SSL is off). It is on CENTOS 7, Cubecart 6.0.8. Any ideas? Thanks Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 5, 2016 Share Posted February 5, 2016 On a local machine, I found I had to force the issue by including the following in global.inc.php: $glob['installed'] = '1'; $glob['storeURL'] = 'http://127.0.0.1/608'; $glob['standard_url'] = 'http://127.0.0.1/608'; $glob['ssl_url'] = 'https://127.0.0.1/608'; $glob['cookie_domain'] = '127.0.0.1'; $glob['rootRel'] = '/608/'; I am not saying, however, this is your solution. Quote Link to comment Share on other sites More sharing options...
bobdonkey Posted February 5, 2016 Author Share Posted February 5, 2016 Yes thanks bsmithers, it worked Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.