CSS Templates

lucia1

New Member
Messages
28
Reaction score
0
Points
0
I am building a site that includes a Zen Cart. The optional CSS Style Sheets, which load into the include\template folder are not loading. I checked the server's errorlog data, but I did not find any "Limit option not allowed here" errors in the log to indicate that the server did not want me to activate the new templates.

Are the items listed below reasonable options to consider on x10Hosting? Or should I look for other causes?

"1. PREFERRED: Ask your hosting company to add the "Limit" keyword to the AllowOverrides parameter of your domain's vhost configuration in their server's httpd.conf settings file.
This is your most secure option for Apache-based Webservers.
Windows IIS Webservers, this option is of no value. You'll have to use the following method instead

2. If they won't do that for you, you'll have to disable the security protections that the supplied .htaccess files would normally provide for you:
Simply use your FTP program to temporarily rename the /includes/.htaccess file to htaccess_OFF
Do the same for your /admin/includes/.htaccess file, since similar symptoms are likely occurring there as well.

After making this change, if your stylesheet loads properly (formatting appears more like you expected), then the settings in this .htaccess file will need to be altered for compatibility with your webhost, or you can choose to ignore their security benefits completely. The logic in the /includes/.htaccess and /admin/includes/.htaccess files basically just say "for all *.php files, don't allow them to be accessed via a browser directly". Your host should be able to help you secure those folders using other means if they're not willing to make the change suggested in option #1 above."

In my case, I just need to get the templates to laod. They are in the proper directory, but do not appear under the Carts Admin-> Tools->Templates menu.
 

pythondev

New Member
Messages
59
Reaction score
0
Points
0
you can download your .htaccess file, or overwrite it with your own...

set your ftp client to show hidden files to see it..

no need to ask your hosting company LOL
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
lucia1 said:
2. If they won't do that for you, you'll have to disable the security protections that the supplied .htaccess files would normally provide for you:
Simply use your FTP program to temporarily rename the /includes/.htaccess file to htaccess_OFF
Do the same for your /admin/includes/.htaccess file, since similar symptoms are likely occurring there as well.

After making this change, if your stylesheet loads properly (formatting appears more like you expected), then the settings in this .htaccess file will need to be altered

Have you tried this, and did that change anything?

Are you sure that the templates have the proper permissions?
 

lucia1

New Member
Messages
28
Reaction score
0
Points
0
you can download your .htaccess file, or overwrite it with your own...

set your ftp client to show hidden files to see it..

no need to ask your hosting company LOL

I thought about going the .htaccess route, but I am uncerain of the security consequences.
Edit:
I have checked and set the permissions. The permissions are ot blocking me, so it must be the .htacces file. I will have to balance this against the security implications.

I am trying to replicate a zencart setup running on localhost using windows vista. I have been able to setup the primary website, but I cannot get Mysql to run on localhost on the local system. I thught that I would make the CSS changes here and upload them to the sever there. I am still trying different ideas.
 
Last edited:
Top