Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Renamed Admin.php And Now Can't Get To The Admin Screen Rate Topic   - - - - -

 
  • jalpert
  • Member
  • Trial users
  • Join Date: 28-Aug 17
  • 25 posts

Posted 25 September 2018 - 01:37 PM #1

I renamed admin.php, changed config.local.php to reflect the new admin file name, deleted var/cache. 

 

When I try to access the admin page I get these messages. 

THIS PAGE ISN'T WORKING

XXXXXXXX. COM sent an INVALID RESPONSE

ERR_INVALID_REDIRECT

 

I checked file permissions and set those according to the documentation.  I did use a copy of the original admin.php from before the install instead of just renaming the one on the server.  

 

I don't know what I am missing. Any suggestions are appreciated.

 


 
  • jalpert
  • Member
  • Trial users
  • Join Date: 28-Aug 17
  • 25 posts

Posted 25 September 2018 - 01:50 PM #2

Never mind.  I figured it out!  



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20259 posts

Posted 25 September 2018 - 02:04 PM #3

What was the reason?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • jalpert
  • Member
  • Trial users
  • Join Date: 28-Aug 17
  • 25 posts

Posted 25 September 2018 - 02:16 PM #4

The copy of config.local.php must have been before I had updated everything.  Once I supplied the correct information in the section shown below, it started working.

 

// Host and directory where software is installed on no-secure server
$config['http_host'] = '%HTTP_HOST%';
$config['http_path'] = '%HOST_DIR%';
 
// Host and directory where software is installed on secure server
$config['https_host'] = '%HTTPS_HOST%';
$config['https_path'] = '%HOST_DIR%';