Hi,
I am following the instrctions for the post for the XSS protection patch:
http://www.zen-cart.com/forum/showthread.php?t=142927
I have inserted the new code into the index.php file and I received this error message when logging into my admin panel:
(calling admin file, admin in this post, but I have previously renamed it)
Warning: require(DIR_WS_INCLUDESheader.php) [function.require]: failed to open stream: No such file or directory in .../public_html/admin/index.php on line 1
Warning: require(DIR_WS_INCLUDESheader.php) [function.require]: failed to open stream: No such file or directory in .../public_html/admin/index.php on line 1
Fatal error: require() [function.require]: Failed opening required 'DIR_WS_INCLUDESheader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in .../public_html/admin/index.php on line 1
I have obviously done something wrong! I have double and triple checked that I am inserting the code into the correct line, and this is all fine.
Also when following the patch recommendations for the customer.php, I also get an error when searching my customers in the admin panel.
Any ideas what I have done wrong?
Thanks in advance,
Jeff
Bookmarks