Guest Posted August 5, 2006 Share Posted August 5, 2006 After installing Separate Price 415, I am getting an error viewing index.php. I followed the SPPC directions to a tee, and had no errors during installation. The error appears in the product listing area, everything else works correctly. The error is: Fatal error: Cannot redeclare tep_show_category() (previously declared in c:\program files\easyphp1-8\www\includes\header.php:169) in c:\program files\easyphp1-8\www\includes\boxes\categories.php on line 13 If I remove the tep_show_category() function from header.php, the index.php seems to to lose its formatting. Any tips or comments appreciated - Rob <_< Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted August 5, 2006 Share Posted August 5, 2006 After installing Separate Price 415, I am getting an error viewing index.php. I followed the SPPC directions to a tee, and had no errors during installation. The error appears in the product listing area, everything else works correctly. The error is: Fatal error: Cannot redeclare tep_show_category() (previously declared in c:\program files\easyphp1-8\www\includes\header.php:169) in c:\program files\easyphp1-8\www\includes\boxes\categories.php on line 13 If I remove the tep_show_category() function from header.php, the index.php seems to to lose its formatting Interesting.... SPPC 4.15 nor any previous version changes anything in those two files. The hide products for SPPC version 2 does changes boxes/categories.php but not in that function. Your header.php seems to be much larger than the standard osC one (87) so do you use some template that has it's own tep_show_category() function? Did you try commenting out the function tep_show_category() in catalog/includes/boxes/categories.php? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.