Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Development
You last visited: Today at 03:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Please help how to fix header.php

Discussion on Please help how to fix header.php within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2013
Posts: 16
Received Thanks: 1
Please help how to fix header.php

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\templates\header.php:51) in C:\xampp\htdocs\templates\header.php on line 52
rendel12 is offline  
Old 02/03/2019, 08:58   #2
 
elite*gold: 0
Join Date: Dec 2012
Posts: 76
Received Thanks: 65
Quote:
Originally Posted by rendel12 View Post
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\templates\header.php:51) in C:\xampp\htdocs\templates\header.php on line 52
Try this
PHP Code:
if (session_id() == ""){
    
session_start();

Old-School is offline  
Old 02/03/2019, 09:24   #3
 
elite*gold: 0
Join Date: Sep 2013
Posts: 16
Received Thanks: 1
same error
rendel12 is offline  
Old 02/03/2019, 10:04   #4
 
elite*gold: 0
Join Date: Dec 2018
Posts: 16
Received Thanks: 4
try file encoding without BOM
Munat is offline  
Old 02/03/2019, 10:16   #5
 
elite*gold: 0
Join Date: Sep 2013
Posts: 16
Received Thanks: 1
Quote:
Originally Posted by Munat View Post
try file encoding without BOM
do you have skype sir
rendel12 is offline  
Old 02/03/2019, 20:04   #6
 
[MXD]Takeshi's Avatar
 
elite*gold: 0
Join Date: Nov 2017
Posts: 137
Received Thanks: 148
Quote:
Originally Posted by rendel12 View Post
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\templates\header.php:51) in C:\xampp\htdocs\templates\header.php on line 52
1. If you have saved your file in UTF-8 format, be sure to check if it is UTF-8 without BOM.


2. Use session_start() directly after your opening tag, before any other information is outputted/sent to the browser.

3. header('Cache-control: private'); add this code like this:
Code:
<?php
session_start();
header('Cache-control: private');
without the code, and other information, maybe something of this can help u
[MXD]Takeshi is offline  
Reply


Similar Threads Similar Threads
[FIX] Phase Game does not handle this header (header: 81, last: 45, 81)
10/16/2017 - Metin2 PServer Guides & Strategies - 2 Replies
Hello, I'd like to share a fix for "Phase Game does not handle this header (header: 81, last: 45, 81)". This error usually happens when players on low-lvl characters teleporting between different maps (as far I noticed this also happens only on wireless connection). At least these symptoms were on my server. Let's start ;)
[04.09.13] GigaByte v2.6 [FIX, FIX, FIX, FIX AND FIX]
09/11/2013 - WarRock Hacks, Bots, Cheats & Exploits - 79 Replies
http://www.elitepvpers.com/forum/warrock-hacks-bot s-cheats-exploits/2843300-11-09-gigabyte-public-v2 -7-a.html
PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE
06/21/2011 - Metin2 Private Server - 5 Replies
HELP WITH THIS PLEASE ON MY DEDICATED SERVER :-( http://www.youtube.com/watch?v=UyKOTLb960Q log_file_delete_old: stat: No such file or directory connect: Connection refused Timed out Connection refused



All times are GMT +1. The time now is 03:09.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.