Results 1 to 7 of 7
  1. #1
    Join Date
    May 2009
    Posts
    16
    Plugin Contributions
    0

    Default Help! Lost my index.php

    All I tried to do was remove the text that says "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution", and so i replaced the file and now when I go to the site, NOTHING shows up....what did I do wrong? Thanks

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: Help! Lost my index.php

    Ne,
    Reload the original file index.php so the site will load correctly.


    1. Did you leave the single quotes between the wording
    2. define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
    3. Ex:
    4. define('HEADING_TITLE', '');

  3. #3
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Help! Lost my index.php

    Quote Originally Posted by nexgraphics View Post
    All I tried to do was remove the text that says "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution", and so i replaced the file and now when I go to the site, NOTHING shows up....what did I do wrong? Thanks
    Well, from my experience here in the forum, I'd say (without seeing) that it's a problem with the quotes......make sure that you still have 2 '' left after deleting all the text, and not just one '.

    Hope this helps.


    If it's live, post the URL. If we can see, we can help more in most cases.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  4. #4
    Join Date
    May 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Help! Lost my index.php

    How do I find the original file, can someone send it to me, my husband installed all this for me and he is out of town...boo hoo.
    Thanks for the help!

  5. #5
    Join Date
    May 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Help! Lost my index.php

    Here is what I have now:

    <?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 Storeif (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
    /*Replace this text with the headline you would like for your shop. For
    example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', ");
    } 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', ");
    }

  6. #6
    Join Date
    May 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Help! Lost my index.php

    ok, i found it and resinstalled it and now I am ok, but how do I WIPE OUT that whole line please, what would it look like, so I dont do a dumb thing like that again, thanks mucho!

  7. #7
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

 

 

Similar Threads

  1. Index.php file lost
    By kmorganics in forum Basic Configuration
    Replies: 1
    Last Post: 13 Oct 2011, 06:26 PM
  2. uploaded index.php to wrong index php HELP!
    By janiceM in forum General Questions
    Replies: 2
    Last Post: 3 Jul 2007, 08:45 PM
  3. I've lost index.php HELP!
    By icklebits in forum General Questions
    Replies: 2
    Last Post: 31 Dec 2006, 04:07 AM
  4. Blank index.php and /admin/index.php page after install
    By gsummerlin in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 14 Jul 2006, 10:04 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