Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Fatal error: Call to undefined method HttpResponse::isFinished()

Go to End



Community Member, 135 Posts

23 August 2008 at 8:33am

Edited: 23/08/2008 8:58pm

From the install.php page, it will start installing, then it will say that mod_rewrite isnt on. I modify the .htaccess code so it says:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]

(This code worked on other websites)

Then it takes me to another page where it sais:

"Forced continue, attempting to redirect to home/successfullyinstalled. "

Once I am redirected from this page, I get the error:

Fatal error: Call to undefined method HttpResponse::isFinished() in sapphire/core/control/Controller.php on line 130

-I have checked the .htaccess to make sure that it wasnt over written (again)
-I have tried a complete reinstall
-I have tried to find the solution on google, and on here.
-I am using the forums to find some help :)

Has anyone encountered this problem?

I am using the latest stable release "2.2.2".

I have seen the thread, but I still cant get it to work.


here is the code from sapphire/core/control/Controller.php

129 // If we had a redirection or something, halt processing.
130 if($this->response->isFinished()) {
131 $this->popCurrent();
132 return $this->response;
133 }


I have been in contact with the hosting company, and they fixed the mod_rewrite issue, however the error is still there. I am trying to get them to fix the httpd.conf file for me, but since it is on a shared server with 400+ websites all using the same file, they haven't responded back to me on that.