Hello Yellow
I am not sure why I always have problems when installing this mod.
I am installing this mod on a customer site that I am developing. Zen cart is installed in a subfolder names /dev/. I am installing the latest version 3.6.6. I have installed the .htaccess in the subfolder root so the link to it is public_html/dev/.htaccess the content of the .htaccess folder is"
Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<PRE>#### BOF SSU
Options +FollowSymLinks
RewriteEngine On
# Change "/zencart/ to the correct setting
# if your site is located at root folder, then you should have RewriteBase /
# Go to your include/configure.php, this value should be the same with the value of DIR_WS_CATALOG
RewriteBase /dev/</PRE>
<PRE># Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]</PRE>
<PRE>RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]</PRE>
<PRE>RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU</PRE>
Here is the issue.
- The ssu_check.php doesn't load either.
- If I go to admin>extras>SSU Manager I get the following error:
Code:
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home6/eliteca1/public_html/dev/admin/includes/classes/ssu.php on line 12
Everything else in the admin works even the SSU configuration works. Now the site doesn't load even if the SSU was disabled.
Matter of fact just after I uploaded the files to the server the site will now load even if I remove the .htaccess.
The configure file is set as follow:
Code:
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'http://www.elitecarcovers.com');
define('HTTPS_SERVER', 'https://www.elitecarcovers.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/dev/');
define('DIR_WS_HTTPS_CATALOG', '/dev/');