reardoma / left4deadrcon

Automatically exported from code.google.com/p/left4deadrcon
0 stars 0 forks source link

php errors #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
http://www.onlydutch.com/left4dead/

Warning: session_start() [function.session-start]: Cannot send session
cookie - headers already sent by (output started at
D:\vhosts\onlydutch.nl\httpdocs\left4dead\includes\rcon.class.php:149) in
D:\vhosts\onlydutch.nl\httpdocs\left4dead\includes\config.php on line 5

Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at
D:\vhosts\onlydutch.nl\httpdocs\left4dead\includes\rcon.class.php:149) in
D:\vhosts\onlydutch.nl\httpdocs\left4dead\includes\config.php on line 5

Original issue reported on code.google.com by google@odrioo.com on 4 Dec 2008 at 6:01

GoogleCodeExporter commented 8 years ago
Deleted some enters, but can't login yet...

Errors are gone though!

Original comment by google@odrioo.com on 4 Dec 2008 at 6:41

GoogleCodeExporter commented 8 years ago
got it working under http://l4d.onlydutch.com

Seems to be a subfolder problem.

Do I need to open up any addition ports on the gameserver or?

Original comment by google@odrioo.com on 4 Dec 2008 at 7:17

GoogleCodeExporter commented 8 years ago
It's a space problem after/beforce "<?php" and "?>"

Check the files and remove the space.

Original comment by shaw...@gmail.com on 6 Dec 2008 at 1:35

GoogleCodeExporter commented 8 years ago
Did that can you check if you can use my page? http://l4d.onlydutch.com

On my server it wont work, got the feeling its port related (@ gameservers).

Original comment by google@odrioo.com on 6 Dec 2008 at 3:16

GoogleCodeExporter commented 8 years ago
Seems I got mine to look like it runs in a subdirectory, but the info isn't
populating.  I also noticed that the response back from rcon commands comes in a
blank white page... kinda odd.

--- snip ---

({"command": "status", "responseSuccess": "","responseText": "hostname: 
Cast6Wired
L4D Public\nversion : 1.0.0.7\/37 3681 secure \nudp\/ip : 216.93.189.31:27015
os(Linux) type(dedicated)\nmap : l4d_airport01_greenhouse\nplayers : 4 humans, 
0 bots
(4 max) (not hibernating)\n\n# userid name uniqueid connected ping loss state 
rate
adr\n# 209 1 \"sweet_fa\" STEAM_1:1:21737317 04:54 256 0 active 20000
60.240.50.254:27005\n# 210 2 \"Noj\" STEAM_1:1:1926133 04:54 257 0 active 20000
58.107.164.173:27005\n# 211 3 \"Spectre\" STEAM_1:0:5189102 04:54 278 0 active 
20000
203.184.39.217:27005\n#220 \"Boomer\" BOT active\n# 215 5 \"livingfalure\"
STEAM_1:1:21606638 02:57 246 0 active 20000 122.106.215.102:27005\n#end\n"})

--- snip ---

Original comment by meng...@gmail.com on 10 Dec 2008 at 8:35

GoogleCodeExporter commented 8 years ago
I got it working on localhost - I mean i was able to bypass a bunch of errors 
on main
page, but when I try to login, i got these

-- errors --

Warning: fwrite(): supplied argument is not a valid stream resource in
d:\web\easyphp1-8\www\includes\rcon.class.php on line 89

Notice: Undefined offset: 1 in d:\web\easyphp1-8\www\includes\rcon.class.php on 
line 25

Warning: Cannot modify header information - headers already sent by (output 
started
at d:\web\easyphp1-8\www\includes\rcon.class.php:89) in
d:\web\easyphp1-8\www\includes\functions.php on line 11

-- errors --

Can anyone help? 

Original comment by manenato...@gmail.com on 17 Dec 2008 at 3:19

GoogleCodeExporter commented 8 years ago
Issues fixed:

* trailing white space in the class
* duplicate session complaints
* subfolder issues

Unable to duplicate fwrite issue.

Original comment by dave.cra...@googlemail.com on 29 Dec 2008 at 6:44