+ Reply to Thread
Results 1 to 4 of 4

Thread: CSS Templates

  1. #1
    lucia1 is offline x10Hosting Member lucia1 is an unknown quantity at this point
    Join Date
    May 2009
    Location
    Central West Coast
    Posts
    28

    CSS Templates

    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.

  2. #2
    pythondev is offline x10Hosting Member pythondev is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    59

    Re: CSS Templates

    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

  3. #3
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: CSS Templates

    Quote Originally Posted by lucia1

    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?
    Nothing is always absolutely so.

  4. #4
    lucia1 is offline x10Hosting Member lucia1 is an unknown quantity at this point
    Join Date
    May 2009
    Location
    Central West Coast
    Posts
    28

    Re: CSS Templates

    Quote Originally Posted by pythondev View Post
    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 by lucia1; 10-28-2009 at 05:08 PM. Reason: Automerged Doublepost

+ Reply to Thread

Similar Threads

  1. Need some help regarding templates
    By SiddFisher in forum Tutorials
    Replies: 4
    Last Post: 08-14-2009, 03:46 AM
  2. [OFFR][500 Credits]Get Simple & Eye Catching Templates
    By simpleboy in forum The Marketplace
    Replies: 2
    Last Post: 11-17-2008, 04:34 PM
  3. Free & Cheap Templates
    By woocorp in forum The Marketplace
    Replies: 7
    Last Post: 05-19-2008, 07:43 PM
  4. Free & Cheap Templates!
    By woocorp in forum Graphics & Webdesign
    Replies: 1
    Last Post: 05-18-2008, 08:48 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers