Forums

Slideshow Gallery
BUG: $columns getting wrong value; causing fatal error (Windows) (1 post)

  1. mattrabe
    Member
    Posted 4 months ago #

    Hi there,

    This bug is ONLY affecting me on my Windows server. It is running fine on multiple Linux servers as-we-speak.

    I have traced the issue down to a few lines, but I am now handing it off to you to fix:
    slideshow-gallery/slideshow-gallery-plugin.php
    line 412 ($columns = mysql_num_fields($tablefields);):
    So, this is supposed to get a integer value, the number of fields in the given table. It looks like it *should* return 11. But on my windows box, it is returning 5000.
    Subsequently, on line 416 of the same file (for ($i = 0; $i < $columns; $i++)), the script tries to cycle through 5000 iterations, resulting in a "Connection was reset" error.

    Please let me know if you are able to fix, or if you need assistance.

    Thanks!

    http://wordpress.org/extend/plugins/slideshow-gallery/

Reply

You must log in to post.

About this Plugin

About this Topic