Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Aug 2012
    Posts
    25
    Plugin Contributions
    0

    Default How are the product HTML pages generated?

    When a user clicks on a product from a category listing, what files generate the result for the user?

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: How are the product HTML pages generated?

    The product info comes from the database rather than a file, also the files are php and not html. What is it you are wanting to do/know?

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

    Default Re: How are the product HTML pages generated?

    And the product info is build-up through multiple php-files, so like picandnix said. We need a little more information

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

    Default Re: How are the product HTML pages generated?

    When I click on a category from the category sidebox, a blank page loads instead of the products in that category.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How are the product HTML pages generated?

    Blank as in completely empty, or as in center column empty? You likely have a PHP error; see the tutorials or the wiki under "troubleshooting". Also look in your /cache/ folder in your Zen Cart root and post the latest myDebug file.

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

    Default Re: How are the product HTML pages generated?

    Center column empty.

    myDEBUG-1348339549-197239.log:

    [22-Sep-2012 12:45:49] PHP Warning: include_once(includes/languages/english.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/pnaples9/public_html/spa/includes/init_includes/init_templates.php on line 72
    [22-Sep-2012 12:45:49] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'includes/languages/english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pnaples9/public_html/spa/includes/init_includes/init_templates.php on line 72

  7. #7
    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
    [22-Sep-2012 12:45:49] PHP Warning: include_once(includes/languages/english.php) [function.include-once]: failed to open stream: No such file or directory in ...
    The error message is telling you that your english.php file is missing.
    .

    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.

  8. #8
    Join Date
    Aug 2012
    Posts
    25
    Plugin Contributions
    0

    Default Re: How are the product HTML pages generated?

    Thank you.

    The latest debug file when I tested the problem:

    [22-Sep-2012 22:30:34] PHP Warning: include_once(includes/languages/english.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/pnaples9/public_html/spa/includes/init_includes/init_templates.php on line 72
    [22-Sep-2012 22:30:34] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'includes/languages/english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pnaples9/public_html/spa/includes/init_includes/init_templates.php on line 72
    [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

  9. #9
    Join Date
    Aug 2012
    Posts
    25
    Plugin Contributions
    0

    Default Re: How are the product HTML pages generated?

    Quote Originally Posted by DrByte View Post
    The error message is telling you that your english.php file is missing.
    I commented out the code on line 72 because I don't have a custom english.php file. Now only the parse error shows.

  10. #10
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: How are the product HTML pages generated?

    Are you attempting to add a mod? If so which one, and are you merging files or just overwriting.

 

 
Page 1 of 2 12 LastLast

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