Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function split() is deprecated #2

Open
Owned67 opened this issue Oct 11, 2012 · 4 comments
Open

Function split() is deprecated #2

Owned67 opened this issue Oct 11, 2012 · 4 comments
Assignees
Labels

Comments

@Owned67
Copy link

Owned67 commented Oct 11, 2012

Hello,

if $showplayerflags set to 1 :
[QUOTE]
Deprecated: Function split() is deprecated in /home/users1/1221/htdocs/www/l4d2/common.php on line 741

Deprecated: Function split() is deprecated in /home/users1/1221/htdocs/www/l4d2/common.php on line 743[/QUOTE]and :
[QUOTE]
Warning: simplexml_load_file(http://steamcommunity.com/profiles/76561198011665417?xml=1) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.1 503 Service Unavailable in /home/users1/1221/htdocs/www/l4d2/common.php on line 372

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://steamcommunity.com/profiles/76561198011665417?xml=1" in /home/users1/1221/htdocs/www/l4d2/common.php on line 372[/QUOTE]This problem does not occur all the time, maybe the steam problem?

@muukis
Copy link
Owner

muukis commented Oct 18, 2012

I'll do a fix for it - thanks for the feedback!

@ghost ghost assigned muukis Oct 18, 2012
@Owned67
Copy link
Author

Owned67 commented Oct 18, 2012

and for

[QUOTE]
Warning: simplexml_load_file(http://steamcommunity.com/profiles/76561198011665417?xml=1) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.1 503 Service Unavailable in /home/users1/1221/htdocs/www/l4d2/common.php on line 372

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://steamcommunity.com/profiles/76561198011665417?xml=1" in /home/users1/1221/htdocs/www/l4d2/common.php on line 372[/QUOTE]

This problem does not occur all the time, maybe the steam problem?

@muukis
Copy link
Owner

muukis commented Oct 18, 2012

It looks to me it's something with Steam not responding etc. I am sure however, that the stats plugin could be coded better to manage the simplexml_load_file failure, but I'm not sure I have the time to dig in to it?

If it happens very often or it bothers you too much, I'd suggest trying to disable avatar loading from your config.php:
$players_avatars_show = False;

@Owned67
Copy link
Author

Owned67 commented Oct 18, 2012

Ok thank you for the answer, no problem, I know that time is precious and that still is not enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants