![]() |
After we've moved our board to a more modern server than before, we've encountered a similar problem to what asabet mentioned above: The total image count and the pagination seemed correct, but there were not images to click on in the popup.
I poke around a bit in the code, and seems that the result set for the main database query did not get processed correctly. The SQL query itself delivered the correct results. But when photo_popup.php tried to construct the imagebits, it went wrong. PHP Code:
Similarly, some lines further down, PHP Code:
After I switched both functions to the "normal" PHP 5.x versions, mysql_num_rows() and mysql_fetch_array() respectively, the images appeared in the popup as they should. I'm not really sure why this hotfix worked (and your mileage may vary, so use it on your own risk :p). We modernized our hosting stack quite a bit, Nginx replacing Apache, newer MySQL and PHP versions etc., so I can only guess what's exactly the cause. But maybe my observations can help others or the author of the mod to further enhance it :) Yours, scribble |
All times are GMT. The time now is 05:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|