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.

Archive

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

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

HttpResponse bug... don't know what to do


Reply

6 Posts   2794 Views

Avatar
clement006

2 July 2008 at 10:35pm (Last edited: 3 July 2008 1:31am), Community Member, 2 Posts

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!

Avatar
clement006

3 July 2008 at 1:20am Community Member, 2 Posts

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.

Avatar
Nicolaas

8 August 2008 at 9:55pm (Last edited: 8 August 2008 9:55pm), Forum Moderator, 213 Posts

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.

Avatar
grandsapin1673

17 August 2008 at 8:11am Community Member, 12 Posts

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

Any solutions or cause to look forward ?

Avatar
grandsapin1673

19 August 2008 at 10:16pm (Last edited: 19 August 2008 10:54pm), Community Member, 12 Posts

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?

Avatar
grandsapin1673

20 August 2008 at 1:43am Community Member, 12 Posts

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!