Jump to content

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

$Config['http_Path'] = ''; Can't Access Admin.php, Page Looping Rate Topic   - - - - -

 

Posted 17 February 2020 - 06:09 AM #1

Hi there,
 
I'm really stuck here! I deleted my http_host and http_path, now I cant remember what the 'http_path' is and because of this it loops and wont load any pages except for "store closed" page because I closed the store down. I can't even get the admin.php to come up. 
 
// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.website.com';
$config['http_path'] = '';
 
// Host and directory where software is installed on secure server
$config['https_host'] = 'website.com';
$config['https_path'] = '';
 
Is there a way to find the store directory 'http_path' so I can enter it in? Will this fix the problem?

Thanks for any help, I really need it before I go crazy  :shock: lol
 
Cheers


 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4744 posts

Posted 17 February 2020 - 07:48 AM #2

if your store is in root and not in any subdirectory then
 
 
// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.yoursite.co.uk';
$config['http_path'] = '';
 
// Host and directory where software is installed on secure server
$config['https_host'] = 'www.yoursite.co.uk';
$config['https_path'] = '';
If in sub directory called store or similar then
 
// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.yoursite.co.uk';
$config['http_path'] = 'store/';

// Host and directory where software is installed on secure server
$config['https_host'] = 'www.yoursite.co.uk';
$config['https_path'] = 'store/'; 

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


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

Posted 17 February 2020 - 12:59 PM #3

Second answer for subcategory is not correct. Where should be

 

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.yoursite.co.uk';
$config['http_path'] = '/store';


// Host and directory where software is installed on secure server
$config['https_host'] = 'www.yoursite.co.uk';
$config['https_path'] = '/store'; 

Also it is required to clear cache after the config file is changed. We recommend to delete the var/cache directory manually


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)