Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FATAL ERROR


Yrewol

Recommended Posts

I receive the following error below:

 

Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/mysite/public_html/mysite/includes/header.php:175) in /home/mysite/public_html/mysite/includes/boxes/categories.php on line 13

 

/home/mysite/public_html/mysite/includes/header.php:175

 

173		  <?   // ---- CATEGORIES

174			function tep_show_category($counter) {
global $tree, $categories_string, $cPath_array;
175		  
176			 if(!$tree[$counter]['level']){

 

 

/home/mysite/public_html/mysite/includes/boxes/categories.php on line 13

 

13	  function tep_show_category($counter) {
14	   global $tree, $categories_string, $cPath_array;
15	 
16		 for ($i=0; $i<$tree[$counter]['level']; $i++) {

 

Any suggestions on how I can resolve this?

Link to comment
Share on other sites

I receive the following error below:

 

Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/mysite/public_html/mysite/includes/header.php:175) in /home/mysite/public_html/mysite/includes/boxes/categories.php on line 13

 

/home/mysite/public_html/mysite/includes/header.php:175

 

173		  <?   // ---- CATEGORIES

174			function tep_show_category($counter) {
global $tree, $categories_string, $cPath_array;
175		  
176			 if(!$tree[$counter]['level']){

/home/mysite/public_html/mysite/includes/boxes/categories.php on line 13

 

13	  function tep_show_category($counter) {
14	   global $tree, $categories_string, $cPath_array;
15	 
16		 for ($i=0; $i<$tree[$counter]['level']; $i++) {

 

Any suggestions on how I can resolve this?

 

 

Thank you for taking the time to respond. Yes, I did move the box while I was customizeing the theme. Would you happen to know what i must delete and/or alter to correct the error?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...