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

php errors #1

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 7 comments
Closed

php errors #1

GoogleCodeExporter opened this issue Mar 14, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Fixed

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

No branches or pull requests

1 participant