Zen Cart Logo

Newbie help

Views: 1,112

Results 1 to 7 of 7
19 Sep 2011, 9:06 PM
#1
jeffbond avatar

jeffbond

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

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 . :blush:

thanks in advance
Jeff.

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

20 Sep 2011, 6:23 AM
#2
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

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

20 Sep 2011, 7:43 AM
#3
jeffbond avatar

jeffbond

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

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:{}

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

  1. Until i get home tonight i cannot check permissions on images folder I am accessing my ftp via google chrome on works pc :unsure:

  2. 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.:cry:

20 Sep 2011, 8:10 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

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 Sep 2011, 10:16 AM
#5
jeffbond avatar

jeffbond

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

Re: Newbie help

Okay thanks for help..:clap:

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.

20 Sep 2011, 2:23 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Newbie help

OK... be careful :shocking:

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 Sep 2011, 2:27 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

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.