Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Coolmenu hiccup


Letmos

Recommended Posts

I have installed coolmenu. It works no problem on all pages except index.php. Here I get a blank page with just the cool menu itself showing.

 

When I look at the source it shows the coolmenu script followed by this error message:

 

b>Fatal error</b>: Cannot redeclare blank_length() (previously declared in /home/wholesal/public_html/catalog/includes/coolmenu.php:117) in <b>/home/wholesal/public_html/catalog/includes/coolmenu.php</b> on line <b>117</b><br />

 

 

Line 117 is as follows:

function blank_length($text) {

$count = 0;

while(substr($text, 0,12) == "  ") {

$text = substr($text, 12);

$count++;

}

return $count;

}

 

Thanks in advance, Letmos.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

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

×
×
  • Create New...