Problem while running the page "upload_file.php"

15 views
Skip to first unread message

scal...@hotmail.com

unread,
Jul 13, 2011, 5:08:38 AM7/13/11
to phpsc2replay
I have problems running the test page "upload_file.php" on my
computer.
I installed easyphp 5.2.10, I checked the “extension=php_bz2.dll” is
enabled in the php.ini file and I did nothing else than just extract
all the files in a “phpsc2replay-1.40” folder in my “www” folder.

When I upload a replay “Version: 1.3.4.18701”
The results begin with :
“Notice: Undefined index: debug in C:\Program Files\EasyPHP5.2.10\www
\phpsc2replay-1.40\upload_file.php on line 160

Notice: Undefined index: debug in C:\Program Files\EasyPHP5.2.10\www
\phpsc2replay-1.40\upload_file.php on line 167

Notice: Undefined index: test in C:\Program Files\EasyPHP5.2.10\www
\phpsc2replay-1.40\upload_file.php on line 167
"
Then I have some informations about the replay but many informations
are wrong such as the APM graph that is nearly empty and the “All
events” section that is empty.

When I try to upload the same replay on the test page
http://kuukkeli.ath.cx/ooaemkee/SC2Replay/upload_file.php everything
is alright.

So the problem comes from my configuration for sure but I really don’t
know where to search.

PS : I tried this on 2 computer (the first one with Windows XP and the
other one with Windows 2000…).

I’ve also tried by selecting the “Test stuff?” option and in that
case, at the end of the page I have a fatal error :
“Fatal error: Call to undefined method SC2Replay::parseDetailsValue()
in C:\Program Files\EasyPHP5.2.10\www
\phpsc2replay-1.40\upload_file.php on line 185”

… But for this last one It seems the problem occurs also on the
http://kuukkeli.ath.cx/ooaemkee/SC2Replay/upload_file.php page.

Any help would be appreciated.

Thanks

Thomas

scal...@hotmail.com

unread,
Jul 13, 2011, 11:29:12 AM7/13/11
to phpsc2replay
Ok for the errors related to the "undefined index" since it's simply
because no value is sent to the page with POST.

... But the results are still not good (no data) for the replay
whereas it seems good with http://kuukkeli.ath.cx/ooaemkee/SC2Replay/upload_file.php

Lauri Virkamäki

unread,
Jul 13, 2011, 1:16:29 PM7/13/11
to phpsc2replay
Hello,

the zip package is outdated, as is stated on the front page. You
should use the files from the repository, which requires you to either
get a mercurial client or download the files using the googlecode web
interface. The link to this is https://code.google.com/p/phpsc2replay/source/browse/#hg%2Fphp
and the instructions for using a mercurial client is at
https://code.google.com/p/phpsc2replay/source/checkout.

Lauri

On 13 heinä, 18:29, "scalp...@hotmail.com" <scalp...@hotmail.com>
wrote:

scal...@hotmail.com

unread,
Jul 14, 2011, 6:03:00 AM7/14/11
to phpsc2replay
Thanks a lot it works great now.
Sorry for the mistake :)
Reply all
Reply to author
Forward
0 new messages