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
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 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?
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/');
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.
Post both your configure.php files' contents here
xxx out sensitive information
Zen-Venom Get Bitten
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
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.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
*** I LOVE YOU!!** Thank you. thank you. Thank you! xxoo phew!!