Quote:
Originally Posted by Velocd
Calvin, what I asked before was if placing echo $perpage; below $perpage = $vboptions['album_perpage'] outputted anything to the screen? My answer wasn't a direct solution.
This likely has to do with the $perpage value in albumcp.php, and some weird bug.
I don't have a lot of time to debug it now, but one troubleshooting solution I can provide is to erase the $perpage chunk of code, and re-generate all thumbnails in one process.
I've attached a customized albumcp.php that does just this. Be sure to rename it albumcp.php to use it. If it still doesn't work, and locks up, then there might be a problem with the actual GD-image handling functions. (although I sort of doubt it)
|
This is strange. I installed the hack on a windows 2000 Server running Apache and MySQL and all went fine. Now installed it on SuSe Linux and Apache and MySQL and i got the same error message after a fresh install.
Then i went straight to my ACP clicked on the member photo options and saved them once. After this my division by zero error in album.php and functions.php was gone.
I thought that could be interesting for all of you.
Cheers,
Pseudomizer