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

PHP install error messages


Go to End


5 Posts   2874 Views

Avatar
designtech

Community Member, 1 Post

25 November 2007 at 1:40am

Edited: 25/11/2007 1:41am

Hello all,
Stumbled on this site and this CMS a couple of days ago. I am trying out the software on my development server but each time I try to install on my PC (development server) using the PHP installation scripts I get this error shown below:

Fatal error: Cannot redeclare class httpresponse in C:\Sites\nwm\sapphire\core\control\HTTPResponse.php on line 143

No tables are created and the installation is halted.

Silverstripe says my server has all requirements to proceed with installation but stops installing each time with that error.

Below is a copy of the install page screen with the error message:

Installing SilverStripe...

I am now running through the installation steps (this should take about 30 seconds)

If you receive a fatal error, refresh this page to continue the installation
# Creating 'mysite/_config.php'...
# Creating '.htaccess' file...
# Building database schema...

Fatal error: Cannot redeclare class httpresponse in C:\Sites\nwm\sapphire\core\control\HTTPResponse.php on line 143

Server details are:
Apache/2.0.55 (Win32) PHP/5.1.6

Pls can someone help?

Avatar
chiefie

Community Member, 22 Posts

19 April 2008 at 1:09am

I have the same problem but on different class that it needs/wants to redeclare class.

Avatar
Marty

Community Member, 1 Post

2 May 2008 at 7:08am

Any resolution on this issue? I'm trying the install and getting the "Fatal error: Cannot redeclare class HTTPResponse in E:\xampp\htdocs\test\silverstripe\sapphire\core\control\HTTPResponse.php on line 146" message.

This is on a PHP 5, Windows 2003, Apache 2.

Avatar
chiefie

Community Member, 22 Posts

2 May 2008 at 12:02pm

No solution found or whatsoever... am near of giving up on SS...

Avatar
chiefie

Community Member, 22 Posts

15 May 2008 at 12:07am

An update with my latest attempt.

The Daily-Build 2008-05-14 installed alright on WebDrive.co.nz hosting. So far I'm happy with the installation and will proceed with actual CMS testing and template design.

Wish me luck with the rest of my try out, hopefully it will give me a good outcome and answer all my requirements then it is two thumbs up for the client launch. :-D