Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    35
    Plugin Contributions
    0

    Default subcategories only display php error

    As soon as I get one issue fixed another pops up...

    Have had to reinstall my zencart after being hacked a couple weeks ago, never had this problem before. Newest version of Zen, lots of mods installed but none caused any problems in the past. Installed with Fantastico, everything looks fine, works fine, except...

    I can put products in a top-level category and everything is fine. However, if I add a subcategory, when I click on it I just get this error:

    Filter Results by:
    Warning: main(includes/modules/FILENAME_PRODUCT_LISTING_ALPHA_SORTER.php) [function.main]: failed to open stream: No such file or directory in /home/cook/public_html/giftshop/includes/templates/template_default/templates/tpl_index_product_list.php on line 60

    Warning: main(includes/modules/FILENAME_PRODUCT_LISTING_ALPHA_SORTER.php) [function.main]: failed to open stream: No such file or directory in /home/cook/public_html/giftshop/includes/templates/template_default/templates/tpl_index_product_list.php on line 60

    Fatal error: main() [function.require]: Failed opening required 'includes/modules/FILENAME_PRODUCT_LISTING_ALPHA_SORTER.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cook/public_html/giftshop/includes/templates/template_default/templates/tpl_index_product_list.php on line 60

    I'm to ignorant about php to have any idea what this means. I haven't changed any of the default settings to do with categories in the layout management section. Help, anyone?

    Just for the record, this is a great community and I REALLY really appreciate the expertise of all the great people who take the time to answer dumb questions like this.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: subcategories only display php error

    Looks like your /includes/filenames.php is out of date ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: subcategories only display php error

    Thank you. You may just be one of the most helpful folks on the planet. I added

    define('FILENAME_PRODUCTS_LISTING_ALPHA_SORTER','product_listing_alpha_sorter');

    to the 'filenames.php' file and all is well. I would have had no clue where to look or what to do without your prompt reply. Thanks again.

    riiver

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: subcategories only display php error

    Thanks for the update that this did in fact solve your problems ...

    Remember: Beyond Compare from scootersoftware.com is your friend ... it will help you in seeing updates and changes to the files ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Product URL on tpl_product_info_display.php to display only when user is logged in?
    By Matt Staines in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Oct 2013, 09:39 AM
  2. Only display relevant subcategories
    By willwright111 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Jul 2010, 06:31 PM
  3. Replies: 1
    Last Post: 20 Apr 2010, 04:33 AM
  4. to display product only, no qty/price, syntax error= unexpected T_STRING
    By Dinnages in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 3 Jan 2008, 06:56 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