Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » HttpResponse bug... don't know what to do

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: 2785 Views
  • clement006
    Avatar
    Community Member
    2 Posts

    HttpResponse bug... don't know what to do Link to this post

    I just try (hard) to install Silverstripe.
    After an OpenID issue, I'm now blocked with a HttpResponse error:

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

    Any idea??
    Thanks in advance!

  • clement006
    Avatar
    Community Member
    2 Posts

    Re: HttpResponse bug... don't know what to do Link to this post

    I'm answering to myself (for people with the same problems):

    - First of all, at the install step, it was always blocked at "Building database schema...". No errors, no info on forums, etc...
    After manual researches (thanks PHP logs!), I've actually found that it was searching for something called "Auth/OpenID.php"... No information in the requirements about this, but I downloaded it here: http://openidenabled.com/files/php-openid/packages/php-openid-2.1.1.zip and the process went ahead!

    - Second problem (this one), the installation seemed OK, but still a blank page on screen...
    PHP logs again + debugging... and I understood that there was a conflict with the HTTP extension in our PHP installation (pecl_http).
    In my case, I've just commented the extension in /etc/php5/conf.d/http.ini and then restarted Apache...

    Everything seems to work now!

    Hope it will help someone!
    Grtz,
    Clément.

  • Nicolaas
    Avatar
    Forum Moderator
    213 Posts

    Re: HttpResponse bug... don't know what to do Link to this post

    Hi

    I experienced exactly the same thing and I got my server admins to fix this.

    It was one of the weirdest bugs ever seen.

  • grandsapin1673
    Avatar
    Community Member
    12 Posts

    Re: HttpResponse bug... don't know what to do Link to this post

    got exactly the same. Even google knows this page for our site... not brillant.

    Any solutions or cause to look forward ?

  • grandsapin1673
    Avatar
    Community Member
    12 Posts

    Re: HttpResponse bug... don't know what to do Link to this post

    Sounds like the problem is due to ambiguous class name

    HTTPResponse is also define in the HTTP Apache module.

    I can't access my provided http conf. Is it possible to rename the class ( like SilverStripeHTTPResponse?

  • grandsapin1673
    Avatar
    Community Member
    12 Posts

    Re: HttpResponse bug... don't know what to do Link to this post

    I found that it is in the bug DB refered as
    http://open.silverstripe.com/ticket/2578
    I manage to implement the changes and hope it will be included in a coming version!

    2785 Views
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.