Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2019
    Location
    Los Angeles
    Posts
    14
    Plugin Contributions
    0

    Default 1.5.6c fresh install server error on attempting to create new category

    Version 1.5.6c did a clean install yesterday and created a couple of test categories and products, then I installed Tableau2 template and now today I'm getting a server error when attempting to create a new category even if I change the template back to default:
    PHP Warning: require(includes/modules/prod_cat_header_code.php): failed to open stream: No such file or directory

    No other mods besides Tableau2 template.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,144
    Plugin Contributions
    11

    Default Re: 1.5.6c fresh install server error on attempting to create new category

    I don't find that file in the template or a plain 1.5.6c load. Perhaps you added some other mod and the file did not get uploaded. Maybe a URL rewriter.
    Last edited by dbltoe; 10 Sep 2019 at 02:34 AM.

  3. #3
    Join Date
    Sep 2019
    Location
    Los Angeles
    Posts
    14
    Plugin Contributions
    0

    Default Re: 1.5.6c fresh install server error on attempting to create new category

    Tableau2 overwrites categories.php and includes this on line 11 referenced in my error:
    require(DIR_WS_MODULES . 'prod_cat_header_code.php');

  4. #4
    Join Date
    Sep 2019
    Location
    Los Angeles
    Posts
    14
    Plugin Contributions
    0

    Default Re: 1.5.6c fresh install server error on attempting to create new category

    Removed the line and I can now create categories but the category/products page changes to the old categories.php with broken text/images instead of category_product_listing.php when creating a category and afterwards until I click category/products again.
    Last edited by mjf91331; 10 Sep 2019 at 03:19 AM.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,144
    Plugin Contributions
    11

    Default Re: 1.5.6c fresh install server error on attempting to create new category

    Yes, and the file it is saying is required is not in the mod nor in the current version of Zen Cart. I cannot find it in any of the 1.5.x versions.

    Unfortunately numinix did not create a support thread. You might want to try their site.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: 1.5.6c fresh install server error on attempting to create new category

    This is perhaps a good time to take a small step back... the template was obviously written for a previous Zen Cart version. It modified some of the core files or at least modified the flow of code. Would suggest comparing the files modified by the template with the files of the older ZC version and then locating as necessary where that new code may exist now... make the change(s) necessary within the new code. There were some pretty significant changes made in the admin to provide the current 1.5.6c version.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: 1.5.6c fresh install server error on attempting to create new category

    Yep, Tableau2 overwrites a bunch of core files. If you don't want to use it, you'll need to pull these files from a fresh download of Zen Cart 1.5.6c and overwrite Tableau's changes:

    includes/classes/split_page_results.php
    admin/template_select.php
    admin/configuration.php
    includes/modules/pages/unsubscribe/header_php.php
    includes/modules/pages/specials/main_template_vars.php
    includes/modules/pages/specials/header_php.php
    includes/modules/pages/products_new/header_php.php
    includes/modules/pages/products_all/header_php.php
    includes/modules/pages/index/main_template_vars.php
    includes/modules/pages/featured_products/header_php.php
    includes/modules/pages/advanced_search_result/header_php.php
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #8
    Join Date
    May 2007
    Posts
    93
    Plugin Contributions
    0

    Default Re: 1.5.6c fresh install server error on attempting to create new category

    Quote Originally Posted by mjf91331 View Post
    Removed the line and I can now create categories but the category/products page changes to the old categories.php with broken text/images instead of category_product_listing.php when creating a category and afterwards until I click category/products again.
    I just stumbled upon this and I am also getting 500 error, did you find out a solution? I just imported a bunch of products and trying to edit categories also causes 500

  9. #9
    Join Date
    May 2007
    Posts
    93
    Plugin Contributions
    0

    Default Re: 1.5.6c fresh install server error on attempting to create new category

    Quote Originally Posted by swguy View Post
    Yep, Tableau2 overwrites a bunch of core files. If you don't want to use it, you'll need to pull these files from a fresh download of Zen Cart 1.5.6c and overwrite Tableau's changes:

    includes/classes/split_page_results.php
    admin/template_select.php
    admin/configuration.php
    includes/modules/pages/unsubscribe/header_php.php
    includes/modules/pages/specials/main_template_vars.php
    includes/modules/pages/specials/header_php.php
    includes/modules/pages/products_new/header_php.php
    includes/modules/pages/products_all/header_php.php
    includes/modules/pages/index/main_template_vars.php
    includes/modules/pages/featured_products/header_php.php
    includes/modules/pages/advanced_search_result/header_php.php
    I done did evrthing, all back to normal. thanks

  10. #10
    Join Date
    Apr 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: 1.5.6c fresh install server error on attempting to create new category

    I too had installed, and then uninstalled the Tableau2 template and had the same issue.

    I uploaded/replaced the files above and it fixed some, but not all.

    Then I uploaded from a fresh download of ZC admin/categories.php and that fixed it.

 

 

Similar Threads

  1. v155 Fresh install won't let me create a product of type document_general
    By jarlee in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 22 Sep 2017, 07:02 PM
  2. Fresh install on new server, but want to migrate customers and products
    By scrap in forum Upgrading from 1.3.x to 1.3.9
    Replies: 13
    Last Post: 5 Dec 2010, 10:08 PM
  3. 500 Internal Server Error - new install
    By groobie in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 2 Sep 2010, 06:55 PM
  4. Fresh install of 1.3.0.2 on a new host server - problem with database
    By henrygoh in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 14 Jul 2006, 09:23 AM

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