Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How are the product HTML pages generated?

    I commented out the code on line 72 because I don't have a custom english.php file.
    If you don't have a custom version, then the code will look for the stock version (which is what the error message says is missing). You can't disable some code and expect to have the rest still function correctly, unless you *know* that nothing else depends on the disabled code.

  2. #12
    Join Date
    Aug 2012
    Posts
    25
    Plugin Contributions
    0

    Default Re: How are the product HTML pages generated?

    It's strange because the english.php isn't missing. Plus the comments in the php file say that you may have to disable the code.

  3. #13
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: How are the product HTML pages generated?

    I think you should start by solving this problem first

    [22-Sep-2012 22:30:34] PHP Parse error: syntax error, unexpected T_REQUIRE in /home/pnaples9/public_html/spa/includes/templates/custom/templates/tpl_product_info_display.php on line 1
    chances are it will solve the other problem to. Like picandnix asked, were you installing any mods? Which file is the require statement asking for?

  4. #14
    Join Date
    Aug 2012
    Posts
    25
    Plugin Contributions
    0

    Default Re: How are the product HTML pages generated?

    I am not installing any mods; I am using the file override system for custom templates. Also I seemed to have found the culprit. The tpl_product_info.php file code had been transformed to fit all on one line. Sections with comments got intermingled with actual code, etc., etc., ...
    Let you know...

  5. #15
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: How are the product HTML pages generated?

    Quote Originally Posted by capncrunch0 View Post
    I commented out the code on line 72 because I don't have a custom english.php file. Now only the parse error shows.
    That is the *wrong* thing to do. Line 72 is important. It is not your problem; it is only "the messenger".
    You'll need to undo that commenting.

    The error message is telling you that it's looking for the MAIN english.php file, not a "custom" one.

    First thing I'd do right now is go back and check all your files to make sure all the original files ARE actually present on your server. Anything you deleted should be put back. Anything that failed to upload correctly needs to be fixed.
    Then I'd also check all your files to undo anything you changed while "troubleshooting". Making guesses at changing any original core files has probably taken you in the wrong direction.
    Then look at all the files you've added (whether yourself or via a plugin) and determine what errors you've made in those files.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #16
    Join Date
    Aug 2012
    Posts
    25
    Plugin Contributions
    0

    Default Re: How are the product HTML pages generated?

    Yeah, I was using a tpl_product_info_display.php from a previous customized version of Zen Cart. I still don't know how the code got put into one horizontal line though. I deleted the file from the override folder (realizing that there was nothing custom about it). The links load the products now.

    Thanks for the advice & helping me walk through the troubleshooting. Thank you for the tips also.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h what is the problem in my login.html and create_account.html pages ?
    By dmagic in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Feb 2014, 09:34 AM
  2. where is the html element generated?
    By commonn in forum General Questions
    Replies: 2
    Last Post: 25 May 2010, 01:28 PM
  3. Where are Product Page Titles Generated?
    By borillion_star in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Feb 2010, 04:50 AM
  4. Replies: 2
    Last Post: 27 Dec 2007, 05:30 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