Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Nov 2008
    Location
    Canterbury
    Posts
    44
    Plugin Contributions
    0

    Default Re: Site doesn't load anymore???!!! WHY?

    Thanks for your help guys, I have changed the quote mark, but still not working!

    Before I got the WSOD I went to the admin password section for a snoop around, but I don't think I changed anything. Then I went to the define pages> main page and changed a gif file on that page. It all worked fine until I deleted a row of text that I did not want to show anymore (plus some character bits maybe!). When I refreshed I got the WSOD.

    What now?!

  2. #12
    Join Date
    Nov 2008
    Location
    Canterbury
    Posts
    44
    Plugin Contributions
    0

    Default Re: Site doesn't load anymore???!!! WHY?

    Ran debugger again and it said line 46 was bad. Here it is:

    define('TEXT_NOW', '\' now');

    Can someone tell me what is wrong with this??

    Thanks

  3. #13
    Join Date
    Nov 2008
    Location
    Canterbury
    Posts
    44
    Plugin Contributions
    0

    Default Re: Site doesn't load anymore???!!! WHY?

    bump! thanks!

  4. #14
    Join Date
    Nov 2008
    Location
    Canterbury
    Posts
    44
    Plugin Contributions
    0

    Default Re: Site doesn't load anymore???!!! WHY?

    Recent debug says: [22-Dec-2008 17:55:29] PHP Parse error: syntax error, unexpected T_STRING in /home/www/rcmonster.co.uk/includes/languages/english/index.php on line 46

    Line 46 now says:

    define('TEXT_NOW', '\'now');

    Thanks

  5. #15
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Site doesn't load anymore???!!! WHY?

    How about the 5 lines before and after that?
    .

    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.

  6. #16
    Join Date
    Nov 2008
    Location
    Canterbury
    Posts
    44
    Plugin Contributions
    0

    Default Re: Site doesn't load anymore???!!! WHY?

    This is the whole lot:

    <?php
    /**
    * @package languageDefines
    * @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
    * @version $Id: index.php 6550 2007-07-05 03:54:54Z drbyte $
    */

    define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

    // Showcase vs Store
    if (STORE_STATUS == '0') {
    define('TEXT_GREETING_GUEST', 'Hi, <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
    } else {
    define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
    }

    define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');

    define('TEXT_INFORMATION', 'RC Monster');

    //moved to english
    //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

    //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
    //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
    //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
    // This section deals with product-listing page contents
    define('HEADING_TITLE', 'Available Products');
    define('TABLE_HEADING_IMAGE', 'Product Image');
    define('TABLE_HEADING_MODEL', 'Model');
    define('TABLE_HEADING_PRODUCTS', 'Product Name');
    define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
    define('TABLE_HEADING_QUANTITY', 'Quantity');
    define('TABLE_HEADING_PRICE', 'Price');
    define('TABLE_HEADING_WEIGHT', 'Weight');
    define('TABLE_HEADING_BUY_NOW', 'Buy Now');
    define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
    define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
    define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
    define('TEXT_SHOW', 'Filter Results by:');
    define('TEXT_BUY', 'Buy 1 \');
    define('TEXT_NOW', '\'now');
    define('TEXT_ALL_CATEGORIES', 'All Categories');
    define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
    } elseif ($category_depth == 'top') {
    // This section deals with the "home" page at the top level with no options/products selected
    /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'Welcome to RC Monster!');
    } elseif ($category_depth == 'nested') {
    // This section deals with displaying a subcategory
    /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'Welcome to RC Monster');
    }
    ?>


    Thanks Dr!

  7. #17
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Site doesn't load anymore???!!! WHY?

    Line 45 is your problem:
    Quote Originally Posted by rcmonster View Post
    define('TEXT_BUY', 'Buy 1 \');
    You've added a slash before the closing ' mark, thus making it no longer a closing ' mark.

    You only add \ marks to preserve ' marks *between* existing ' marks.
    .

    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.

  8. #18
    Join Date
    Nov 2008
    Location
    Canterbury
    Posts
    44
    Plugin Contributions
    0

    Default Re: Site doesn't load anymore???!!! WHY?

    Thanks Dr, you were right, the Syntax is now OK (I checked it on an online checker?!). But Screen is still white....?

  9. #19
    Join Date
    Nov 2008
    Location
    Canterbury
    Posts
    44
    Plugin Contributions
    0

    Default Re: Site doesn't load anymore???!!! WHY?

    Now debugger says:

    [22-Dec-2008 18:27:36] PHP Parse error: syntax error, unexpected T_STRING in /home/www/rcmonster.co.uk/includes/languages/english/index1.php on line 54

    <?php
    /**
    * @package languageDefines
    * @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
    * @version $Id: index.php 6550 2007-07-05 03:54:54Z drbyte $
    */

    define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

    // Showcase vs Store
    if (STORE_STATUS == '0') {
    define('TEXT_GREETING_GUEST', 'Hi, <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
    } else {
    define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
    }

    define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');

    define('TEXT_INFORMATION', 'RC Monster');

    //moved to english
    //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

    //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
    //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
    //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
    // This section deals with product-listing page contents
    define('HEADING_TITLE', 'Available Products');
    define('TABLE_HEADING_IMAGE', 'Product Image');
    define('TABLE_HEADING_MODEL', 'Model');
    define('TABLE_HEADING_PRODUCTS', 'Product Name');
    define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
    define('TABLE_HEADING_QUANTITY', 'Quantity');
    define('TABLE_HEADING_PRICE', 'Price');
    define('TABLE_HEADING_WEIGHT', 'Weight');
    define('TABLE_HEADING_BUY_NOW', 'Buy Now');
    define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
    define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
    define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
    define('TEXT_SHOW', 'Filter Results by:');
    define('TEXT_BUY', 'Buy 1');
    define('TEXT_NOW', '\'now');
    define('TEXT_ALL_CATEGORIES', 'All Categories');
    define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
    } elseif ($category_depth == 'top') {
    // This section deals with the "home" page at the top level with no options/products selected
    /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'Welcome to RC Monster!');
    } elseif ($category_depth == 'nested') {
    // This section deals with displaying a subcategory
    /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'Welcome to RC Monster');
    }
    ?>

    Paul
    Last edited by rcmonster; 22 Dec 2008 at 07:36 PM.

  10. #20
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Site doesn't load anymore???!!! WHY?

    Why do you have an "index1.php" file anyway?
    .

    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.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v139h The content of the headerWrapper div won't load anymore on the French side of my site
    By cjdweb in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Feb 2012, 01:32 AM
  2. Why doesn't my site show up, even though I've already installed a template?
    By ktscootrpie in forum Installing on a Windows Server
    Replies: 1
    Last Post: 18 May 2011, 11:46 PM
  3. Weird problem: Admin page doesn't load anymore...
    By pablobaluba in forum Basic Configuration
    Replies: 2
    Last Post: 29 Mar 2011, 02:03 PM
  4. Users say my site doesn't come up - I now know why
    By milobloom in forum General Questions
    Replies: 2
    Last Post: 31 May 2008, 12:16 AM
  5. logo.jpg won't load up anymore
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Sep 2006, 01:45 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR