0

How do I fix (warning: session_start() : Cannot send session cache limiter) on my php script???

2nd Jan 2019, 10:34 AM
Makumi Wainaina
Makumi Wainaina - avatar
2 Réponses
+ 2
Hi! youre already sending a header thats why youre getting that error! If you only have one script file make sure session_start() is the first line of code in your script after <?php, remove any white space, if it’s in an html file check if it’s on top of <!Doctype htlm>.
5th Jan 2019, 12:13 AM
StoneCoder🇬🇦
StoneCoder🇬🇦 - avatar
+ 1
thanks. I fixed it and am all cheers
22nd Jan 2019, 9:13 AM
Makumi Wainaina
Makumi Wainaina - avatar