Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Website not reading template

Website not reading template

Locked

Views: 1,656

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
26 Aug 2006, 10:16 PM
#1
freya avatar

freya

Zen Follower

Join Date:
Mar 2006
Posts:
122
Plugin Contributions:
0

Website not reading template

I've set up a couple other Zen Cart stores, so I have a general idea of what I am doing, but I have no idea what is happening now. Everything is missing: CSS, images, etc. Even the classic template doesn't have anything when I select that. Here's the link:

http://www.linmorel.com/store/

Yes, I have a few things to fix yet, but I am more concerned about getting the site to read the images, CSS, etc.

Any help would be appreciated.

Thanks,

Marci

26 Aug 2006, 10:26 PM
#2
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,590
Plugin Contributions:
0

Re: Website not reading template

Who is the host?

26 Aug 2006, 10:27 PM
#3
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: Website not reading template

This happened to me about a week ago with a new site I was making. I tried using the classic template and overrides, there were things missing. This was on version 1.3.2

I had to grab stylesheet.css from another website using classic template.

Also, you may have missing files on the ftp upload. That is quite common also. I'd check that too.

As for using the classic template in the future, I don't think I'll make that mistake again.

26 Aug 2006, 10:31 PM
#4
freya avatar

freya

Zen Follower

Join Date:
Mar 2006
Posts:
122
Plugin Contributions:
0

Re: Website not reading template

Thanks, everyone!

The hosts are AAces.com. They do not support Zen Cart nor do they offer it as a Fantastico install, although they have great suppor otherwise. Not a big deal as I am accustomed to installing via FTP anyway.

Okay. I can easily grab that from my own sites.

I did the full install, so I shouldn't be missing any files. If I was, which should I look for?

Thanks,

Marci

26 Aug 2006, 10:35 PM
#5
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,590
Plugin Contributions:
0

Re: Website not reading template

Please post your includes/configure.php minus your password

27 Aug 2006, 4:03 AM
#6
freya avatar

freya

Zen Follower

Join Date:
Mar 2006
Posts:
122
Plugin Contributions:
0

Re: Website not reading template

Here it is:

<?php /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> define('HTTP_SERVER', 'http://www.linmorel.com'); define('HTTPS_SERVER', 'https://safesurf.info/~linmorel/store/'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', '/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/linmorel/public_html/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'linmorel_zen'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/linmorel/public_html/store/cache'); ?>

Thanks!

Marci

27 Aug 2006, 4:06 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Website not reading template

It might help if you put the single slash back in:

define('DIR_WS_CATALOG', '/');

instead of
define('DIR_WS_CATALOG', '');

27 Aug 2006, 6:36 AM
#8
freya avatar

freya

Zen Follower

Join Date:
Mar 2006
Posts:
122
Plugin Contributions:
0

Re: Website not reading template

I don't know how that came out as I didn't change that. In any case, it didn't help. (sigh)

Thanks!

Marci

27 Aug 2006, 6:27 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Website not reading template

Change this:

define('HTTP_SERVER', 'http://www.linmorel.com');
define('HTTPS_SERVER', 'https://safesurf.info/~linmorel/store/');

To read:

define('HTTP_SERVER', 'http://www.linmorel.com');
define('HTTPS_SERVER', 'https://safesurf.info/~linmorel');

Change this:

define('DIR_WS_CATALOG', '');
define('DIR_WS_HTTPS_CATALOG', '/store/');

to read:

define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/store/');

27 Aug 2006, 9:47 PM
#10
freya avatar

freya

Zen Follower

Join Date:
Mar 2006
Posts:
122
Plugin Contributions:
0

Re: Website not reading template

Thanks, Linda! That worked perfectly. Now, all i have to do is get my permissions set properly again.

Marci