Jump to content

[Resolved] Admin section 500 error when using DNS name


bobdonkey

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...