Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2014
    Location
    Canada
    Posts
    249
    Plugin Contributions
    0

    Default http 500 error on new category

    Just getting started with me new store. When I click the new category button I get an http 500 error. I can create products and manufacturers, however.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: http 500 error on new category

    Quote Originally Posted by plc613 View Post
    Just getting started with me new store. When I click the new category button I get an http 500 error. I can create products and manufacturers, however.
    This store has been 6+ years in the making?

    To obtain assistance, please provide (much) more information... Starting with addressing the posting tips is a good start as right now the 500 error could be for any number of reasons. Likely to have some information though in the logs directory (assuming using some form of recent version of Zen Cart) otherwise older versions (not recommended) would log in the cache directory... Help others help you...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Apr 2014
    Location
    Canada
    Posts
    249
    Plugin Contributions
    0

    Default Re: http 500 error on new category

    Quote Originally Posted by mc12345678 View Post
    This store has been 6+ years in the making?
    I assume you pulled that from my profile or elsewhere... I had a store many years ago. This is a new store.

    I installed ZC using the stock 1.5.6c files manually. DB was also created manually.

    As you can see by my post, I'm on 1.5.6c
    Server OS: Linux 2.6.32-696.13.2.el6.x86_64
    Database Engine: MySQL 5.5.5-10.1.45-MariaDB
    HTTP Server: Apache
    PHP Version: 7.3.17 (Zend: 3.3.17)
    MySQL Mode: NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION
    PHP API 20180731
    PHP Extension 20180731
    Zend Extension 320180731
    Zend Extension Build API320180731,NTS
    PHP Extension Build API20180731,NTS
    Debug Build no
    Thread Safety disabled
    Zend Signal Handling enabled
    Zend Memory Manager enabled
    Zend Multibyte Support provided by mbstring
    IPv6 Support enabled
    DTrace Support disabled
    Registered PHP Streams https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, phar, zip
    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2
    Registered Stream Filters zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*


    Here's a snippet from mydebug that looks relevant: MyAdmin and MySite.ca have been anonymized.

    Code:
    [20-May-2020 15:27:50 UTC] Request URI: /MyAdmin/categories.php?cPath=&action=new_category, IP address: 104.158.218.50
    #1  require() called at [/home/littlecl/public_html2/MySite.ca/MyAdmin/categories.php:11]
    --> PHP Warning: require(includes/modules/prod_cat_header_code.php): failed to open stream: No such file or directory in /home/littlecl/public_html2/MySite.ca/MyAdmin/categories.php on line 11.
    
    [20-May-2020 15:27:50 UTC] Request URI: /MyAdmin/categories.php?cPath=&action=new_category, IP address: 104.158.218.50
    #1  require() called at [/home/littlecl/public_html2/MySite.ca/MyAdmin/categories.php:11]
    --> PHP Warning: require(includes/modules/prod_cat_header_code.php): failed to open stream: No such file or directory in /home/littlecl/public_html2/MySite.ca/MyAdmin/categories.php on line 11.
    
    [20-May-2020 15:27:50 UTC] PHP Fatal error:  require(): Failed opening required 'includes/modules/prod_cat_header_code.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/littlecl/public_html2/MySite.ca/MyAdmin/categories.php on line 11

  4. #4
    Join Date
    Apr 2014
    Location
    Canada
    Posts
    249
    Plugin Contributions
    0

    Default Re: http 500 error on new category

    Just wanted to add to clarify, I have not done any modifications yet. All I've done thus far is creating my list of manufacturers and tax setup. My next steps was product categories and the very first time I clicked on the new category button is the first time I got the error. I feel this may be a typical files issue except that I uploaded the zip in the file manager (cpanel) and uncompressed it and went about my install so it would seem very odd to me that either the zip were to be missing files or that the uncompressing of the zip was at fault. Be that as it may, if the consensus is to re-upload I'm fine with that; I just dont' want to loose my tax zones/rates or my extensive list of manufact

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: http 500 error on new category

    Philippe,
    Your missing files that are being called and the missing file is not a part of a stock install
    Last edited by barco57; 20 May 2020 at 05:06 PM.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: http 500 error on new category

    The file it is looking for (includes/modules/prod_cat_header_code.php) was removed in 1.5.6+, the last time it was used was in 1.5.5f
    So, what changes have you made?
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #7
    Join Date
    Apr 2014
    Location
    Canada
    Posts
    249
    Plugin Contributions
    0

    Default Re: http 500 error on new category

    Quote Originally Posted by barco57 View Post
    Philippe,
    Your missing files that are being called and the missing file is not a part of a stock install
    thanks. I appreciate that.

    Okay so when I installed a themeforest template to test it and subsequently uninstalled it (thinking I was starting fresh), there are clearly permanent modifications that were left behind. Well, I guess this further supports my decision to stay 100% stock!

    I'm a little rusty to say the least so please bare with me... As I mentioned above, I created all my tax zones and rates as well as my manufacturers. How do I start over and still keep (or restore) these to avoid lost time.

  8. #8
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: http 500 error on new category

    Sent you a PM
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

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

    Default Re: http 500 error on new category

    You can probably safely overwrite your files on the server, with the vanilla ZC files. This will not affect the changes you made to the database entries. (backup first)
    Quote Originally Posted by plc613 View Post
    thanks. I appreciate that.

    Okay so when I installed a themeforest template to test it and subsequently uninstalled it (thinking I was starting fresh), there are clearly permanent modifications that were left behind. Well, I guess this further supports my decision to stay 100% stock!

    I'm a little rusty to say the least so please bare with me... As I mentioned above, I created all my tax zones and rates as well as my manufacturers. How do I start over and still keep (or restore) these to avoid lost time.

  10. #10
    Join Date
    Apr 2014
    Location
    Canada
    Posts
    249
    Plugin Contributions
    0

    Default Re: http 500 error on new category

    Quote Originally Posted by Design75 View Post
    You can probably safely overwrite your files on the server, with the vanilla ZC files. This will not affect the changes you made to the database entries. (backup first)
    Thank you.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v156 Create New Account - HTTP ERROR 500
    By stef27 in forum General Questions
    Replies: 14
    Last Post: 27 Mar 2019, 09:43 PM
  2. v139f Shopping Cart error: HTTP Error 500 (Internal Server Error)
    By Tulameen in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2012, 01:48 AM
  3. HTTP Error 500
    By ABC123eef in forum General Questions
    Replies: 7
    Last Post: 14 May 2011, 06:29 PM
  4. HTTP 500 Error
    By Jace in forum General Questions
    Replies: 3
    Last Post: 6 Dec 2010, 02:33 AM
  5. Replies: 1
    Last Post: 23 Sep 2010, 09:55 PM

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