Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Coolmenu hiccup


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);



return $count;



Thanks in advance, Letmos.

Link to comment
Share on other sites

  • 2 weeks later...


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

  • Create New...