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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

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


Go to End


6 Posts   3449 Views

Avatar
clement006

Community Member, 2 Posts

2 July 2008 at 10:35pm

Edited: 03/07/2008 1:31am

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

Community Member, 2 Posts

3 July 2008 at 1:20am

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

Forum Moderator, 224 Posts

8 August 2008 at 9:55pm

Edited: 08/08/2008 9:55pm

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

Community Member, 12 Posts

17 August 2008 at 8:11am

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

Any solutions or cause to look forward ?

Avatar
grandsapin1673

Community Member, 12 Posts

19 August 2008 at 10:16pm

Edited: 19/08/2008 10:54pm

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

Community Member, 12 Posts

20 August 2008 at 1:43am

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!