Hello Guest

Login difficulties

  • 4 Replies
  • 2217 Views
*

STS

  • *
  • 5
    • View Profile
Login difficulties
« on: November 19, 2016, 08:02:44 PM »
I've just downloaded and installed the trial version of XT-CMS on my local (localhost) server in c:\xampp\htdocs\xt-cms. I am running xampp 1.8.3 and PHP 5.5.6. I had to first run the "loader-installer" on my server to install the ionCube loader. Installation was successful, and I can get to the xt-cms login screen, but when I attempt to login to the system entering "admin" for userid and password, I get the following error message:

Server not found

Firefox can
« Last Edit: November 21, 2016, 01:36:48 PM by STS »

*

xtom

  • *****
  • 184
    • View Profile
    • XT CMS
Re: Login difficulties
« Reply #1 on: November 21, 2016, 02:28:01 PM »
This is usually because the cms_root_url needs to be set manually so you seem to be on the right track. Make sure you uncomment the line in the scripts/config.php file by removing the two slashes at the start of the line if you haven't already. It should work if you copy and paste whatever the url is in the browser used to access the admin page but just remove the admin/ part and enter this as the cms_root_url

*

STS

  • *
  • 5
    • View Profile
Re: Login difficulties
« Reply #2 on: November 21, 2016, 02:38:28 PM »
Thanks for your reply. Here's what I have done:
// the cms tries to auto detect it's root directory and url but you can manually set them here
define('cms_root_dir','C:/xampp/htdocs/xt-cms/');
define('cms_root_url','localhost:/xt-cms/')

I see the admin login page, but when I attempt to login, I get:
----
The address wasn

*

STS

  • *
  • 5
    • View Profile
Re: Login difficulties
« Reply #3 on: November 21, 2016, 08:02:44 PM »
Persistence, tenacity and luck paid off. Figured it out.

*

xtom

  • *****
  • 184
    • View Profile
    • XT CMS
Re: Login difficulties
« Reply #4 on: November 25, 2016, 09:54:39 AM »
Glad you got it sorted. It can sometimes be tricky getting it to work on a localhost.