Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Fatal error: Call to undefined method HttpResponse::isFinished()

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

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

Page: 1
Go to End
Author Topic: 1406 Views
  • grilldan
    Community Member
    135 Posts

    Fatal error: Call to undefined method HttpResponse::isFinished() Link to this post

    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 http://www.silverstripe.com/bugs/flat/109753?showPost=138309 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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.