Weird issue with PHP5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a module originally written for PHP-Nuke that I have ported to
CPG-Nuke/DragonFlyCMS.

In PHP4, the page I'm displaying works fine.
In PHP5, it doesn't.

The following link is a screenshot of the page using PHP4:
http://nukeleaguedf.winsto.net/working-php4.jpg

And a screenshot from PHP5:
http://nukeleaguedf.winsto.net/broken-php5.jpg

You can see that the stat lines for the first group (Batters) displays
properly. However, the stat lines for the following groups do not.

I have copied the three offending files into text files:
http://nukeleaguedf.winsto.net/modules/League/index.txt
http://nukeleaguedf.winsto.net/modules/League/util.txt
http://nukeleaguedf.winsto.net/modules/League/classes.txt

Line 1119 of index.txt is where is all begins.
I have tested that the while loop is actually looping 3 times as it should
(once for each group).
Doing a var_dump of $players shows all of the required information.

Line 1126 is the actual line that displays the fields.

I have scoured the code with my limited PHP knowledge, but I can't for the
life of me see why its not working in PHP5.
Perhaps part of the code is incompatible with PHP5, or perhaps its a bug
in PHP5.
Is anyone able to help?








-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux