# Issues hosting kirby on webspace

**URL:** <https://forum.getkirby.com/t/issues-hosting-kirby-on-webspace/6857>\
**Category:** Questions\
**Tags:** v2\
**Created:** [March 6, 2017, 10:44am UTC](https://forum.getkirby.com/t/issues-hosting-kirby-on-webspace/6857 "2017-03-06T10:44:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![philipp-wienes](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@philipp-wienes](https://forum.getkirby.com/u/philipp-wienes)\
**Post date:** [March 6, 2017, 10:44am UTC](https://forum.getkirby.com/t/issues-hosting-kirby-on-webspace/6857/1 "2017-03-06T10:44:46Z")

</div>

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.

> **[Startseite - Hammer & Partner](https://hammer.partners/)**
>
> Beratung macht sicher! Wir sind Wirtschaftsprüfer, Steuerberater, Rechtsanwälte. Und noch viel mehr.

Warning: session\_start(): Cannot send session cookie - headers already sent by (output started at /usr/www/users/businenu/virthos/hammerundpartner.de/beta/index.php:3) in /usr/www/users/businenu/virthos/hammerundpartner.de/beta/kirby/toolkit/lib/s.php on line 54

Warning: session\_start(): Cannot send session cache limiter - headers already sent (output started at /usr/www/users/businenu/virthos/hammerundpartner.de/beta/index.php:3) in /usr/www/users/businenu/virthos/hammerundpartner.de/beta/kirby/toolkit/lib/s.php 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?

> **[Startseite - Hammer & Partner](https://hammer.partners/)**
>
> Beratung macht sicher! Wir sind Wirtschaftsprüfer, Steuerberater, Rechtsanwälte. Und noch viel mehr.

Best  
Philipp  
`

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 6, 2017, 10:58am UTC](https://forum.getkirby.com/t/issues-hosting-kirby-on-webspace/6857/2 "2017-03-06T10:58:03Z")

</div>

> [@philipp-wienes](#):
>
> Warning: session\_start(): Cannot send session cookie - headers already sent

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 · PHP.de Wissenssammlung](https://php-de.github.io/jumpto/headers-already-sent/)

---

<div class="post-metadata">

**Author:** ![philipp-wienes](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@philipp-wienes](https://forum.getkirby.com/u/philipp-wienes)\
**Post date:** [March 6, 2017, 11:15am UTC](https://forum.getkirby.com/t/issues-hosting-kirby-on-webspace/6857/3 "2017-03-06T11:15:15Z")

</div>

Aaah there was a line break in my index.php

Thanks for the quick response, that did the deal 🙂

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:52pm UTC](https://forum.getkirby.com/t/issues-hosting-kirby-on-webspace/6857/4 "2025-02-06T16:52:31Z")

</div>


