I have searched and can't find a previous solution to this type of error.
Zencart v1.38a Patch level 1
When editing the category description in one category (only one that has the problem) after clicking on Save it goes to an error page which says in part:
--------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
----------------
So I uploaded the debug error reporting file to both admin and the store. I tried to edit the category again, got the error message and downloaded the error log.
The error log said (in part as there were several more lines with more images listed):
---------------------------
[10-Aug-2010 12:29:15] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '/home/xxxx/public_html/bmz_cache/2/21ae752d35a79823720edc9716c6fca9.image.150x99.jpg' for writing: Permission denied in /home/xxxx/public_html/includes/classes/bmz_image_handler.class.php on line 652
[10-Aug-2010 12:29:16] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '/home/xxxx/public_html/bmz_cache/3/3e527ba151ae46ea72081a62aeffef4c.image.300x199.jpg' for writing: Permission denied in /home/xxxx/public_html/includes/classes/bmz_image_handler.class.php on line 652
--------------------------
So I changed all the permissions in the bmz_cache to 777. Once I did that the error messages stopped, however the category edit still gave the 500 error.
I went into the database, the category table and deleted the category image just in case it was somehow still an issue. No difference and no other error messages have been generated.
I checked the account error log in CPanel, and the only error (repeated in log for each time I tried it) was:
-------------------
[Tue Aug 10 13:41:04 2010] [error] [client my ip address] File does not exist: /home/xxxx/public_html/500.shtml, referer: http://www.xxxx.com/admin directory/categories.php?cPath=&cID=9&action=edit_category
-------------------
So here I am at a loss. Any advice, words of wisdom, or help will be greatly appreciated.
betty
Bookmarks