I received the following error when clicking one of the item links in the Product Stock Report.
#1 require() called at [/home/.../public_html/my shop/my admin/product_music.php:12]
#2 require(/home/.../public_html/my shop/my admin/product_music.php) called at [/home/.../public_html/my shop/my admin/index.php:11]
--> PHP Warning: require(includes/modules/prod_cat_header_code.php): failed to open stream: No such file or directory in /home/.../public_html/my shop/my admin/product_music.php on line 12.
[02-Jun-2021 22:06:37 America/New_York] PHP Fatal error: require(): Failed opening required 'includes/modules/prod_cat_header_code.php' (include_path='.:/opt/alt/php71/usr/share/pear') in /home/.../public_html/my shop/my admin/product_music.php on line 12
Apparently prod_cat_header_code.php has been a deleted file in ZC since v1.5.5f, and is not present in my v1.5.7c. Admin/product_music.php has also since been deleted, but I have it present in my admin directory (not sure why or if it's necessary at all).
If I remove
Code:
require(DIR_WS_MODULES . 'prod_cat_header_code.php');
from the file, then it will correctly direct me to the edit item form, but all of the defined field label names are stripped out.
Removing the admin/product_music.php file completely stops the blank page and associated error, but the link takes me back to my admin home page, not the edit product page. The Most-Viewed Products report links are also behaving the same.
Do I need the admin/product_music.php file? If not, and I delete it, how can I get the report links to take me to the edit product page? Thank you.
Bookmarks