"Division by zero in" error followed by "plur

verrecke

Joined: 2002-11-15
Posts: 24
Posted: Wed, 2005-02-09 21:40

Dear Folks,
I couldn`t find an answer to this error causing no pics nor albums to show up. Pictures are present, I`ve upgraded from a previous version and I've updated all albums.
"Warning: Division by zero in /www/htdocs/v029304/html/modules/gallery/albums.php on line 61"

I've checked this line, it sais"$navigator["widthUnits"] = "%";" - what's wrong with that?
Weird, I've changed it once and back again to "%" and now I`m getting something new:
"Fatal error: Call to undefined function: pluralize() in /www/htdocs/v029304/html/modules/gallery/albums.php on line 98"

See this error in action under http://www.hymenoptera.de/html/modules.php?op=modload&name=gallery&file=index

Maybe the Gallery doesn't work under PHP5?

Gallery version: v1.4.4-pl5
Apache version: Apache 2.0
PHP version: 5.0.3
Graphics Toolkit: NetPBM
Operating system: Linux dd7136 2.4.21

Any ideas? Your help is much appreciated---thanks!

Mel

 
harvesterofsorrow

Joined: 2005-02-04
Posts: 3
Posted: Thu, 2005-02-10 05:02

the same exact thing happened to mine, but no one will respond to my post. the albums page shows the division by zero error. how do we fix this>???????

 
verrecke

Joined: 2002-11-15
Posts: 24
Posted: Thu, 2005-02-10 09:47

It seems to be a not very common error. Maybe it's something in the albums...I just wonder that the mistake disappeared when I changed line 61 didn't return when I changed it back to the old version. What PHP version do you use? Maybe it's a PHP5 incompatibility...

Mel