Open GoogleCodeExporter opened 9 years ago
I just noticed most of the issue is related to the parser being unable to parse
some arrays:
$parser->getEvents()
$parser->getPlayers()[1]['apm']
$parser->getPlayers()[1]['apmtotal']
What could be causing the parser to work just fine in localhost and not on a
remote server? So weird... :/
Original comment by sgsfabi...@gmail.com
on 28 Nov 2011 at 10:27
Just to add more info:
In the local Windows machine I run PHP 5.3.6.
They run PHP 5.2.5-pl1-gentoo on one of the Unix remote server, and PHP 5.2.9
on the other.
Incompatibilities maybe?
Original comment by sgsfabi...@gmail.com
on 28 Nov 2011 at 10:50
The most common issue is that the PHP installation is missing the bzip2 module,
so check that first. Some larger files (especially the replay.game.events file)
in the MPQ archive are compressed with bzip2 and thus fail to parse without it.
Original comment by lauri.vi...@gmail.com
on 29 Nov 2011 at 11:34
Ok, I believe you are right.
I've tested a bzip2 script on the local machine and it worked, but the same
script didn't work on the remote machines.
Thank you for your awesome work!
Original comment by sgsfabi...@gmail.com
on 30 Nov 2011 at 3:02
Original issue reported on code.google.com by
sgsfabi...@gmail.com
on 28 Nov 2011 at 3:12Attachments: