Skip to main content

Author Topic: Login difficulties

S

STS

  • *
  • Newbie
  • Posts: 5
Login difficulties
OP: 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
  • IP logged
« Last Edit: November 21, 2016, 01:36:48 PM by STS »

  • *****
  • Administrator
  • Full Member
  • Posts: 232
    • XT CMS
Re: Login difficulties
#1: 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
  • IP logged

S

STS

  • *
  • Newbie
  • Posts: 5
Re: Login difficulties
#2: 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
  • IP logged

S

STS

  • *
  • Newbie
  • Posts: 5
Re: Login difficulties
#3: November 21, 2016, 08:02:44 PM
Persistence, tenacity and luck paid off. Figured it out.
  • IP logged

  • *****
  • Administrator
  • Full Member
  • Posts: 232
    • XT CMS
Re: Login difficulties
#4: November 25, 2016, 09:54:39 AM
Glad you got it sorted. It can sometimes be tricky getting it to work on a localhost.
  • IP logged