Thread: Newbie help

Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2011
    Posts
    3
    Plugin Contributions
    0

    Default Newbie help

    zencart 1.3.9
    Fresh install

    Previously i have used html for my wifes website, I have now took the plunge after much nagging to build her an eCommerce website.

    After a bit of playing about offline using Mowes portable. i have deleted all but her index page for now which will eventually contain a link to her shop.

    I have the problem that the template 'classic green' is not showing the pictures or layout it was 'offline'

    I did a fresh install online using a clean zencart. not trying to upload what id been playing with offline.

    o her shop site the properties of the pictures are correct and they are there in the location it is just they are not showing up .

    thanks in advance
    Jeff.

    http://www.yellowrosecards.co.uk/shop/index.php

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Newbie help

    1) Look in your cache folder to see if there are any debug files appearing
    2) What are the permissions set to on your images folder etc
    3) How did you do an online install if you couldn't see the pictures, as there are images included in the install stuff, were those images showing up? or did you use a oneclick install?

    go to includes/templates/classic/css/stylesheet.css is that file actually there?, as i should be able to browse to it.

    Check it online using cpanel, or your hosting providers panel to see if the file is actually there
    Webzings Design
    Semi retired from Web Design

  3. #3
    Join Date
    Sep 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Newbie help

    Sorry for being a pain but I am a bit lost as to what to look for so i will copy n paste stuff.

    1) cache folder:- a) .htaccess + b) index.php + c) sess_22luru4afhc93lq793cim1s307

    a) -------------------------------------------------------
    #
    # @copyright Copyright 2003-2010 Zen Cart Development Team
    # @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    # @version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $
    #
    # This is used with Apache WebServers
    #
    # The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
    # It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
    # Will also prevent people from seeing what is in the dir. and any sub-directories
    #
    # For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
    # Example:
    #<Directory "/usr/local/apache/htdocs">
    # AllowOverride Limit Indexes
    #</Directory>
    ###############################

    <Limit GET POST PUT>
    Order Allow,Deny
    Deny from All
    </Limit>

    #NOBODY SHOULD BE SNOOPING HERE

    # deny *everything*
    <FilesMatch ".*">
    Order Allow,Deny
    Deny from all
    </FilesMatch>

    IndexIgnore */*

    b) -------------------------------------------------------
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers |
    // | |
    // | http://www.zen-cart.com/index.php |
    // | |
    // | Portions Copyright (c) 2003 osCommerce |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license, |
    // | that is bundled with this package in the file LICENSE, and is |
    // | available through the world-wide-web at the following url: |
    // | http://www.zen-cart.com/license/2_0.txt. |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to |
    // | [email protected] so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    // $Id: index.php 1322 2005-05-06 23:22:28Z drbyte $
    //

    // send to domain root
    session_write_close();
    header('Location: ' . 'http://' . $_SERVER['HTTP_HOST']);
    exit();
    ?>


    c) -------------------------------------------------------
    installerConfigKeys|a:1:{s:8:"language";s:7:"english";}logfilename|s:27:"Sep-19-2011_08-08-27-6kow8o";installerConfigInfo|a:0:{}

    -------------------------------------------------------

    2) Until i get home tonight i cannot check permissions on images folder I am accessing my ftp via google chrome on works pc

    3) The images where there when i installed zencart and followed it through all the way until it gives me the link to 'shop front' & 'shop admin'

    went to includes/templates/classic/css/stylesheet.css again on Chrome it is there via ftp.

    copied txt from it and attached

    Thanks in advance for your assistence

    JEff.
    Attached Files Attached Files

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Newbie help

    When loading your shop installation, I get the following on the stylesheet:

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>500 Internal Server Error</TITLE>
    </HEAD><BODY>
    <H1>Internal Server Error</H1>
    The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.<P>
    Please contact the server administrator,
    [email protected] and inform them of the time the error occurred,
    and anything you might have done that may have
    caused the error.<P>
    More information about this error may be available
    in the server error log.<P>
    </BODY></HTML>
    Check the server error log.

    I think this may be a .htaccess error.

    In your ROOT directory (public_html), temporarily disable .htaccess by re-naming it to .htaccessSUSPENDED .

    Additionally, if you have a .htaccess file in yellowrosecards.co.uk/shop/ , do the same thing.
    20 years a Zencart User

  5. #5
    Join Date
    Sep 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Newbie help

    Okay thanks for help..

    I went through 1 by 1
    renamed the htaccess files and found out by refreshing webpage that in following locations...

    shop/images/htaccess - gave me back half of images on website

    shop/includes/htaccess - gave me back rest of images on website

    admin(renamed)/includes/htaccess - gave me back correct layout in zencart admin.

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Newbie help

    OK... be careful

    The .htaccess in SUB folders are important. They are vital for the security of the folder(s).

    There should be no .htaccess in the ROOT of the installation, or if there is, it must be structured correctly.

    Some "URL REWRITE" mods will require a complex .htaccess structure, but I advise you to keep well away from "SEO URL" modules.

    They are not necessary.
    20 years a Zencart User

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Newbie help

    If ... after disabling certain .htaccess files, you get the desired behaviour, it would be a good idea to RESTORE the htaccess files in the various sub-folders to their ORIGINAL core zencart situation (contents).

    If you then get display errors, you need to talk to your host about their SERVER CONFIGURATION.

    You could have chosen a host who is not skilled in hosting eCommerce sites. Many of the "stack em high, sell em cheap" hosts are NOT good for eCommerce sites.

    You NEED the htaccess files for security reasons. Don't disable them, unless your host can confirm that other security measured are in place.
    20 years a Zencart User

 

 

Similar Threads

  1. Newbie help
    By nothingnuaghty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Dec 2010, 10:06 PM
  2. newbie help
    By bigapplefta in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 16 Jul 2008, 03:54 AM
  3. newbie help!!
    By blushfashions.co.uk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jul 2006, 09:59 PM
  4. newbie help
    By aprogrammer in forum General Questions
    Replies: 5
    Last Post: 3 Jul 2006, 03:26 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