Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2013
    Posts
    14
    Plugin Contributions
    0

    help question 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

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

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

    Quote Originally Posted by TinaLynn View Post
    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

  3. #3
    Join Date
    Jan 2013
    Posts
    14
    Plugin Contributions
    0

    Default 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?

  4. #4
    Join Date
    Jan 2013
    Posts
    14
    Plugin Contributions
    0

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

  5. #5
    Join Date
    Jan 2013
    Posts
    14
    Plugin Contributions
    0

    Default 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.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

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

    Post both your configure.php files' contents here

    xxx out sensitive information
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jan 2013
    Posts
    14
    Plugin Contributions
    0

    Default 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

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Quote Originally Posted by TinaLynn View Post
    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.
    .

    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.

  9. #9
    Join Date
    Jan 2013
    Posts
    14
    Plugin Contributions
    0

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

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

 

 

Similar Threads

  1. Replies: 7
    Last Post: 10 Jan 2015, 03:39 PM
  2. v150 New templates aren't showing up
    By panxa in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Apr 2012, 07:30 PM
  3. multiple images aren't loading
    By zmtak in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 1 Dec 2011, 08:09 PM
  4. Can I use numbers (1001_0.jpg) as my image names? My addtional images aren't loading
    By lizord in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 2 Apr 2009, 06:48 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