Zen Cart Logo
Forums / General Questions / HELP!!! My templates aren't loading!!

HELP!!! My templates aren't loading!!

Views: 567

Results 1 to 9 of 9
30 Jan 2013, 2:31 AM
#1
tinalynn avatar

tinalynn

New Zenner

Join Date:
Jan 2013
Posts:
14
Plugin Contributions:
0

HELP!!! My templates aren't loading!!

My templates, which were working fine and now not loading. I moved the files earlier today... successfully- I thought. But somehow my templates.. or css... or something is no longer in the loop.

https://bestmitzvahfavors.com

30 Jan 2013, 4:24 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: HELP!!! My templates aren't loading!!

TinaLynn:

My templates, which were working fine and now not loading. I moved the files earlier today... successfully- I thought. But somehow my templates.. or css... or something is no longer in the loop.

https://bestmitzvahfavors.com

I think you've neglected to update your configure.php files. At least one of the paths is still set for /bestmitzvahfavors.com/cart/ (which no longer exists)

Cheers
Rod

30 Jan 2013, 1:48 PM
#3
tinalynn avatar

tinalynn

New Zenner

Join Date:
Jan 2013
Posts:
14
Plugin Contributions:
0

Re: HELP!!! My templates aren't loading!!

I originally had the files in one too deep. I had them in cart, which was in BMF. It was working fine providing I added /cart/ to the address. I need to promote the files to BMF. I've triple checked the only two configure sheets I know of: /admin (renamed in my system during original install)/include/ configure and /include/configure. Am I missing something?

30 Jan 2013, 3:01 PM
#4
tinalynn avatar

tinalynn

New Zenner

Join Date:
Jan 2013
Posts:
14
Plugin Contributions:
0

Re: HELP!!! My templates aren't loading!!

Okay.. I feel like what I'm about to suggest doesn't make sense since the site was working after installation, but- After installing and as recommended I changed the name of my admin folder. Can someone look at the follow code off my configure.php and tell me if I'm missing something from these admin lines? Could that be the problem?

define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/BMF/');

30 Jan 2013, 3:18 PM
#5
tinalynn avatar

tinalynn

New Zenner

Join Date:
Jan 2013
Posts:
14
Plugin Contributions:
0

Re: HELP!!! My templates aren't loading!!

Okay... getting better and weirder all at the same time. Now it's showing up great in http, but not in https. It's still as though the css is missing.

30 Jan 2013, 4:31 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HELP!!! My templates aren't loading!!

Post both your configure.php files' contents here

xxx out sensitive information

30 Jan 2013, 6:27 PM
#7
tinalynn avatar

tinalynn

New Zenner

Join Date:
Jan 2013
Posts:
14
Plugin Contributions:
0

Re: HELP!!! My templates aren't loading!!

this is my ../includes configure:

define('HTTP_SERVER', 'http://bestmitzvahfavors.com');
define('HTTPS_SERVER', 'https://bestmitzvahfavors.com');

// 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', '/BMF/');

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/content/t/i/n/tinawexler/html/BMF/');

//the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
define('DIR_FS_LOGS', '/home/content/t/i/n/tinawexler/html/BMF/logs');

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', '');
define('DB_CHARSET', 'utf8');
define('DB_SERVER', 'xxxxx');
define('DB_SERVER_USERNAME', 'xxxx');
define('DB_SERVER_PASSWORD', 'xxxx');
define('DB_DATABASE', 'xxxx');

// 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/content/t/i/n/tinawexler/html/BMF/cache');

// EOF

30 Jan 2013, 6:33 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: HELP!!! My templates aren't loading!!

TinaLynn:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/BMF/');
Your DIR_WS_xxxx entries probably shouldn't mention "BMF". In your case they should probably be set to just '/'

Don't confuse them with the DIR_FS_xxxx entries, which point to actual real folders on your server. So, if your site's files ARE in a folder called "BMF" and your website is actually served directly from the BMF folder, then leave the BMF references in your DIR_FS_xxx entries. If it's the BMF part that you were trying to remove when you moved your site up a folder, then you should have removed the BMF/ references everywhere.

30 Jan 2013, 7:01 PM
#9
tinalynn avatar

tinalynn

New Zenner

Join Date:
Jan 2013
Posts:
14
Plugin Contributions:
0

Re: HELP!!! My templates aren't loading!!

*** I LOVE YOU!!** Thank you. thank you. Thank you! xxoo phew!!