Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    59
    Plugin Contributions
    0

    Default Help-getting error messgae

    I am getting this message
    Parse error: parse error, unexpected '/' in /home/digidoll/public_html/store/includes/languages/english/index.php on line 51


    When I go into /public_html/store/includes/languages/english/custom and add the index.php file, I get the above message when trying to view my store.

    See attachment....



    Help
    Attached Images Attached Images  

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Help-getting error messgae

    Check the file listed in the error message and see if you have a typo around line 51 ...

    You should check with your hosting site on why directories are listing or put in your own safeties with index.html files and check directory permissions that directories are not 777 unless necessary ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2007
    Posts
    59
    Plugin Contributions
    0

    Default Re: Help-getting error messgae

    Quote Originally Posted by Ajeh View Post
    Check the file listed in the error message and see if you have a typo around line 51 ...

    You should check with your hosting site on why directories are listing or put in your own safeties with index.html files and check directory permissions that directories are not 777 unless necessary ...

    I don't see a typo.

    What do you mean"why directories are listing or put in your own safeties with index.html files and check directory permissions"?

  4. #4
    Join Date
    Apr 2007
    Posts
    59
    Plugin Contributions
    0

    Default Re: Help-getting error messgae

    Here is a copy of my index.php...

    <?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 3027 2006-02-13 17:15:51Z 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', 'Welcome <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', 'Define your main Index page copy here.');
    //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
    /'Welcome to Digi Dollar Days'*/
    define('HEADING_TITLE', 'A Steal of a Deal. Nothing over $2.00');
    } elseif ($category_depth == 'nested') {
    //
    ?>

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Help-getting error messgae

    You appear to have cut off the bottom of the file ... it ends in:
    PHP Code:
    } 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''Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.'); 
    }
    ?> 
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Apr 2007
    Posts
    59
    Plugin Contributions
    0

    Default Re: Help-getting error messgae

    Quote Originally Posted by Ajeh View Post
    You appear to have cut off the bottom of the file ... it ends in:
    PHP Code:
    } 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''Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.'); 
    }
    ?> 

    Thank you, but I got it working:)

 

 

Similar Threads

  1. Please Help. Getting Error
    By nolsowski in forum General Questions
    Replies: 2
    Last Post: 28 Sep 2011, 12:50 AM
  2. Help getting jscript error
    By cyphercys in forum General Questions
    Replies: 4
    Last Post: 7 Apr 2010, 03:40 AM
  3. Getting Error Message...please help. :(
    By Hisgirl0305 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Jan 2009, 04:59 AM
  4. HELP! Getting a category tree error!
    By ellispiano in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 20 May 2007, 05:05 AM

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