Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Feb 2010
    Posts
    328
    Plugin Contributions
    0

    Default define_main_page.php Not Displaying Content

    define_main_page.php isn't showing its content and I haven't the slightest idea what I've done wrong. Any suggestions on how to fix it would be much appreciated.

    Thanks,
    Robert
    Last edited by rdcast; 5 Jun 2011 at 02:25 PM.
    I await your thoughtful response.
    Thank you

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

    Default Re: define_main_page.php Not Displaying Content

    Do you have any errors in this folder, post the last 2:

    root directory/ cache

  3. #3
    Join Date
    Feb 2010
    Posts
    328
    Plugin Contributions
    0

    Default Re: define_main_page.php Not Displaying Content

    Quote Originally Posted by haredo View Post
    Do you have any errors in this folder, post the last 2:
    Today: 9:26 AM
    [05-Jun-2011 09:26:16] PHP Warning: define() expects at least 2 parameters, 1 given in /home/filterco/public_html/includes/languages/english/meta_tags.php on line 14
    [05-Jun-2011 09:26:16] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:26:16] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:26:16] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:26:16] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:26:16] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:26:16] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:26:16] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60

    Today 9:27 AM
    [05-Jun-2011 09:27:34] PHP Warning: define() expects at least 2 parameters, 1 given in /home/filterco/public_html/includes/languages/english/meta_tags.php on line 14
    [05-Jun-2011 09:27:34] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:27:34] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:27:34] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:27:34] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:27:34] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:27:34] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    [05-Jun-2011 09:27:34] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: nothing to repeat at offset 7 in /home/filterco/public_html/includes/classes/template_func.php on line 60
    I await your thoughtful response.
    Thank you

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: define_main_page.php Not Displaying Content

    have you edited this core file?
    includes/ templates/ template_default/ common/ tpl_main_page.php

  5. #5
    Join Date
    Feb 2010
    Posts
    328
    Plugin Contributions
    0

    Default Re: define_main_page.php Not Displaying Content

    Quote Originally Posted by haredo View Post
    have you edited this core file?
    Not unless turning off the left sidebox column from Admin made some change to it.
    I await your thoughtful response.
    Thank you

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

    Default Re: define_main_page.php Not Displaying Content

    I would back track my step and replace the changes you have made to correct the problem that now exists...

    You need to research on the override system... You are editing the core files of zen cart to make changes are is very difficult to correct if you don't keep great notes...

    I sent you a PM

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

    Default Re: define_main_page.php Not Displaying Content

    Quote Originally Posted by haredo View Post
    ............is very difficult to correct if you don't keep great notes................

    Hehe..........understatement............................and especially if you design sites for a living................you MUST keep not just great notes, but G-R-E-A-T notes................
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  8. #8
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: define_main_page.php Not Displaying Content

    Now you are all set up right to tackle Zen Cart for all she is worth..

  9. #9
    Join Date
    Jan 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: define_main_page.php Not Displaying Content

    I have a similar problem with my customized page not displaying. I have followed all the steps for adding a custom template and override folders. Everything else appears to be fine (so far) but i can not get the define_main_page.php to display.

    My site is live and open and would prefer not to have lots of traffic through it by posting the url here but was wondering if I pm the url to somebody they might be able to have a look for me?

  10. #10
    Join Date
    Jan 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: define_main_page.php Not Displaying Content

    Just to add the problem is not limited to the define_main_page.php only but to all the pages about_us.php etc

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. define_Main_page text not displaying
    By gprit in forum General Questions
    Replies: 8
    Last Post: 15 Aug 2013, 10:26 AM
  2. define_main_page.php Not Displaying - PLEASE HELP!!
    By dave_nextexit in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 6 Feb 2009, 06:21 PM
  3. define_main_page not displaying
    By dilate in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Jul 2008, 04:36 AM
  4. define_main_page.php has content but it's not showing on Main Page
    By marleyman in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Apr 2008, 09:56 AM
  5. How do I place the category bar below the content of define_main_page.php?
    By Earl Parker II in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Dec 2007, 03:02 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