Issues hosting kirby on webspace

Hi guys.
Im facing some problems.
The website is running without any problems on localhost. But when testing on the webserver, i encounter php errors.

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/www/users/businenu/virthos/ in /usr/www/users/businenu/virthos/ on line 54

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/www/users/businenu/virthos/ in /usr/www/users/businenu/virthos/ on line 54

What ive done so far:
Set RewriteBase to /beta in htacccess
Added `Action application/x-httpd-php70 /cgi-sys/php70-fcgi-starter.fcgi
AddType application/x-httpd-php70 .php .php70 to htaccss

But still no luck… Is there something wrong with the webserver? Am i missing features or something?


This usually happens when you try to set a header after the some browser output has already happened. That can be any extra whitespace at the top of a file or other reasons. Maybe this collection of examples is of help: Headers already sent · Wissenssammlung

1 Like

Aaah there was a line break in my index.php

Thanks for the quick response, that did the deal :slight_smile: