Results 1 to 5 of 5
  1. #1

    Default Blank Page Error - Debug Result. Help?

    I am getting a blank page when I try to enter into any product info on my cart. I ran the debugger and it says the following.

    [26-Aug-2009 13:44:26] PHP Parse error: syntax error, unexpected T_STRING in /home1/brandyri/public_html/brandyridgehammocks/includes/languages/english/orange/product_info.php on line 1


    So, I opened up the file in question, and here is what I have.

    <?php/** * @package languageDefines * @copyright Copyright 2003-2007 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: product_info.php 6371 2007-05-25 19:55:59Z ajeh $ */define('TEXT_PRODUCT_NOT_FOUND', 'Sorry, the product was not found.');define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');define('TEXT_MORE_INFORMATION', 'For more information, please visit this product\'s <a href="%s" target="_blank">webpage</a>.');define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');define('TEXT_DATE_AVAILABLE', 'This product will be in stock on %s.');define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased...');define('TEXT_PRODUCT_OPTIONS', 'Please Choose: ');define('TEXT_PRODUCT_MANUFACTURER', 'Manufactured by: ');define('TEXT_PRODUCT_WEIGHT', 'Shipping Weight: ');define('TEXT_PRODUCT_QUANTITY', ' Units in Stock');define('TEXT_PRODUCT_MODEL', 'Model: ');// previous next productdefine('PREV_NEXT_PRODUCT', 'Product ');define('PREV_NEXT_FROM', ' from ');define('IMAGE_BUTTON_PREVIOUS','Previous Item');define('IMAGE_BUTTON_NEXT','Next Item');define('IMAGE_BUTTON_RETURN_TO_PRODUCT_LIST','Back to Product List');// missing products//define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');//define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');//define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');define('TEXT_ATTRIBUTES_PRICE_WAS',' [was: ');define('TEXT_ATTRIBUTE_IS_FREE',' now is: Free]');define('TEXT_ONETIME_CHARGE_SYMBOL', ' *');define('TEXT_ONETIME_CHARGE_DESCRIPTION', ' One time charges may apply');define('TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK','Quantity Discounts Available');define('ATTRIBUTES_QTY_PRICE_SYMBOL', zen_image(DIR_WS_TEMPLATE_ICONS . 'icon_status_green.gif', TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK, 10, 10) . '&nbsp;');define('ATTRIBUTES_PRICE_DELIMITER_PREFIX', ' ( ');define('ATTRIBUTES_PRICE_DELIMITER_SUFFIX', ' )');define('ATTRIBUTES_WEIGHT_DELIMITER_PREFIX', ' (');define('ATTRIBUTES_WEIGHT_DELIMITER_SUFFIX', ') ');define('TEXT_XSELL_PRODUCTS', 'We Also Recommend :');
    ?>

    Bear in mind, the whole file, except for the final "?>" is "line 1".

    Any help here?
    Last edited by avastyebucs; 26 Aug 2009 at 09:27 PM.

  2. #2

    Default Re: Blank Page Error - Debug Result. Help?

    Shameless bump.

    Forgive me, board, for I have sinned.

  3. #3

    Default Re: Blank Page Error - Debug Result. Help?

    One more bump for the PHP gurus out there.

    PLEASE help.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Blank Page Error - Debug Result. Help?

    If you remove or rename that file so that Zencart uses the default, does it work?

  5. #5

    Default Re: Blank Page Error - Debug Result. Help?

    Quote Originally Posted by stevesh View Post
    If you remove or rename that file so that Zencart uses the default, does it work?

    Sadly, no.

 

 

Similar Threads

  1. Front page blank - Debug information says Query select error.
    By gtgderek in forum General Questions
    Replies: 4
    Last Post: 27 Apr 2011, 08:15 AM
  2. Iridium Module - Blank Page - Debug Error
    By katea in forum Addon Payment Modules
    Replies: 3
    Last Post: 11 Jun 2010, 08:49 PM
  3. PHP Error - Blank Page w/ log files from debug utility.
    By jester8131 in forum General Questions
    Replies: 2
    Last Post: 5 Feb 2010, 05:35 AM
  4. Getting a blank page, debug error-logging not working
    By credenscel in forum General Questions
    Replies: 7
    Last Post: 26 Jul 2009, 07:32 PM
  5. Please see my debug error - blank page
    By paigesjewelry in forum General Questions
    Replies: 1
    Last Post: 4 Jan 2009, 02:32 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