Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Uploading zencart to live server

    What happens if you try to load the "default" template? Does that work for you? (Since you can access the Admin, you should be able to alter that). What do you get?
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  2. #12
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Uploading zencart to live server

    Quote Originally Posted by kpax View Post
    doesn't load any stylesheets, for whatever reason?!? In FF Web Developer tool under CSS you can see that no stylesheet seems to be attached.
    Ok, got a thought. What is the name of your stylesheet? (The exact name). Zen Cart has an automated system of loading stylesheets and it is dependent on how you name them. If you named it differently from the "conventional naming scheme", then it will not load.

    So, what did you name yours?
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  3. #13
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Uploading zencart to live server

    Sorry for the many posts. I have copied the "how to" for style sheets below.Have you ready this yet? This file is found in your /includes/templates/css/ folder.

    HTML Code:
    The CSS files are sent to the browser in this order: (and alphabetically within each case of more than one match):
    
                 style*.css   // are always loaded and at least ONE should contain site-wide properties.
    language_stylesheet.css   // changes to ALL pages, when that language is used
              page_name.css   // changes to one page 
     language_page_name.css   // changes to one page, when that language is used
                c_??_??.css   // changes to all info pages in a category
       language_c_??_??.css   // changes to all info pages in a category, when that language is used
                   m_??.css   // changes to a manufacturer's listing page
          language_m_??.css   // changes to a manufacturer's listing page, when that language is used
                   p_??.css   // changes to a product's info page
          language_p_??.css   // changes to a product's info page, when that language is used
                 print*.css   // printer-friendly global usage site-wide changes for printing-only
    
    The 'stylesheet.css' always loads first and should contain the bulk of your CSS selectors. Each file loaded takes priority over previously loaded file(s). To save loading time, only new selectors or selectors whose properties you wish to change should be in the optional CSS files. You can have different overrides for the same page, in different languages, because the two would never be called at the same time.
    
    If someone selected the French language on your site, the 'french_stylesheet.css' would also be loaded. It should only contain the site-wide changes you want to make to 'stylesheet.css'. For example, change a 'background-image' for your French customers.
    
    If someone went to any of the other pages, that page's CSS file would be loaded. Possibly you want different 'background-image' & 'background-color' on each of 'page_x' pages. Possibly you do not want a border around '.plainBox' most of the time, but on a couple of pages you do... and on one of those pages you want it in black and the other in red.
    
    Possibly you created a NEW tag and did a <span class="newtag"> in your Privacy Statement. It is defined in only one CSS file, 'german_privacy.css' as '.newtag { text-transform: uppercase }' Because, in Germany, that phrase must be in all CAPS, but not in other countries.
    
    Use your CSS files and the standard tags as much as possible, just change their properties when needed. If possible, DON'T HACK the core code. Use your CSS files to do the work for you. When the style coding has been removed from the ZenCart code and people have to decide if they want to go without the upgrade ~or~ undo all their hacks and finally learn about CSS... your site will still be up and running. 
    
    Additional information is contained in the 'read_me' file in the common folder.
    
    Juxi Zoza
    03/15/05
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  4. #14
    Join Date
    Apr 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Uploading zencart to live server

    The problem I'm having is the same with every template, even the default one so I think my own customized template might not even be the culprit here.

    I stuck to the normal naming scheme for my stylesheets:

    stylesheet.css
    style_imagehover.css
    stylesheet_css_buttons.css
    stylesheet_betterCategoriesEzInfo.css

    thanks for your help so far!!

  5. #15
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Uploading zencart to live server

    Have you checked your "PRINT" stylesheet? The page looks identical when only that is read.

    See my two tests below (using the "default template" directory). I didn't know the name of your custom template so I had to use the default one.

    Using all css files:
    http://www.zencartoptimization.com/o...test/test.html

    Reading on the "print" stylesheet:
    http://www.zencartoptimization.com/o...tcss-only.html

    Could it have something to do with that on your end? Again, since I don't have access, the best I can do is offer advice. :)
    Last edited by econcepts; 29 May 2007 at 01:02 PM. Reason: url edit
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  6. #16
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Uploading zencart to live server

    kpax.

    I think I got your answer. :)

    It has to do with the settings in your .htaccess file.

    See the following link

    https://www.zen-cart.com/tutorials/i...hp?article=235

    Viola!
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  7. #17
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Uploading zencart to live server

    econcepts,
    By pm kpax stated that even the fantastico installed ZenCart did not parse the stylesheet and this with a "0" byte .htaccess...
    The host is looking into the cause
    Just FYI

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 5
    Last Post: 8 Oct 2009, 07:50 AM
  2. uploading to server
    By mike-b in forum General Questions
    Replies: 1
    Last Post: 15 May 2009, 05:16 PM
  3. trouble uploading on my mac server. HELP!
    By jenb in forum Installing on a Mac Server
    Replies: 11
    Last Post: 3 Apr 2008, 06:12 PM
  4. Uploading new templates to live server
    By wwwursa in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 25 Jan 2008, 05:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg