Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2009
    Posts
    27
    Plugin Contributions
    0

    Default index page is blank after changing index.php

    I am using a free template..."the bookshelf". I went to

    includes/languages/ENGLISH/CUSTOM/index.php

    and I edited the heading title at the bottom. I made sure I kept the
    ' ' marks at the end. As soon as I change this, my home page is blank. I can go to all my other pages if I type the direct url. But my main page is blank.

    here's the code I changed:

    // 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', 'Discount Homeschool Curriculum offers top quality curriculum at a price your family can afford. We guarantee our prices can't be beat!');

    } 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', 'Discount Homeschool Curriculum offers top quality curriculum at a price your family can afford. We guarantee our prices can't be beat!');

    }

    ?>


    heres a link:
    www.discounthomeschoolcurriculum.com

    what has happened?

    Thanks for the help!
    Last edited by meesh; 22 Jul 2009 at 04:51 PM.

  2. #2
    Join Date
    Feb 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: index page is blank after changing index.php

    I just wanted to add that before I made these changes everything was working just fine.

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: index page is blank after changing index.php

    Easy correction.

    define('HEADING_TITLE', 'Discount Homeschool Curriculum offers top quality curriculum at a price your family can afford. We guarantee our prices can\'t be beat!');

    If you don't escape the single quote in can't, you will have a syntax error.

  4. #4
    Join Date
    Feb 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: index page is blank after changing index.php

    Thanks a million. That worked perfect!

    This forum rocks!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 12 Jul 2016, 04:21 PM
  2. Blank page index.php after Upgrade to 1.3.8a
    By wirnsperger in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 18 Feb 2010, 06:18 AM
  3. Help: Spanish version goes blank when changing index.php
    By layoyo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Oct 2008, 01:08 PM
  4. Blank Index Page/Apache Errors - Optimize MYSQL Index
    By fr33k in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 23 Oct 2008, 10:58 PM
  5. 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

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