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

Installation Problem


Go to End


6 Posts   2968 Views

Avatar
Fuzz10

Community Member, 791 Posts

14 March 2007 at 4:06am

Hi !

Looks like a promising project !!

Unfortunately I ran into a problem during the install. Could this have anything to do with my mass vhosts setup in apache ?

Thanks!

gr,
Lars

----------------------------------------------
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 'assets' folder...
# Creating 'mysite/_config.php'...
# Creating '.htaccess' file...
# Building database schema...

Fatal error: Cannot redeclare property static public LeftAndMain::$tree_class in class AssetAdmin in /cms/code/AssetAdmin.php on line 7
----------------------------------------------

Avatar
Fuzz10

Community Member, 791 Posts

20 March 2007 at 11:44pm

Argh, unfortunately I still have the same problem.

Am I forgetting something ?

My specs :
PHP 5.03
Apache 2.0.53
MySQL 4.11
Mass Vhosts is enabled in Apache

Avatar
EvilSeph

Community Member, 3 Posts

30 March 2007 at 6:04am

Hi there,

I need help with this too.

I can install SilverStripe fine on a local test server, but on a remote server this error comes up:
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 'assets' folder...
# Creating 'mysite/_config.php'...
# Creating '.htaccess' file...
# Building database schema...

Fatal error: Cannot redeclare property static public LeftAndMain::$tree_class in class AssetAdmin in /www/devden.net/cms/code/AssetAdmin.php on line 7

SilverStripe Version 2.0.0
MySQL 4.1.9
PHP version 5.0.3
Apache 1.3.33

Any help would be greatly appreciated. :)

Avatar
Sigurd

Forum Moderator, 628 Posts

30 March 2007 at 8:56pm

I wonder if this is due to the early version of PHP5.
I was debugging something on PHP 5.0.5 which was doing my head in last night...

Avatar
EvilSeph

Community Member, 3 Posts

30 March 2007 at 11:18pm

Edited: 31/03/2007 7:30am

Yea, it looks like SilverStripe is not compatible with the PHP version I have on the remote server.

I have (on my local server):
SilverStripe Version 2.0.0 (and SilverStripe Version 2.0.1rc2)
PHP Version 5.2.1
Apache 2.2.4
My SQL 5.0.22

Edit: SilverStripe v2.01rc2 does not work with the PHP version I have on the remote server either.

Avatar
Fuzz10

Community Member, 791 Posts

1 June 2007 at 11:10pm

Okay, it took a while. But I solved it.

Problem is that we run a Mass Vhost setup on our development server (Apache). Combining mod-rewrite with mass vhost is impossible. So in order to get Silverstream running you need to create a "regular" Vhost in Apache.

A bit silly , but it took me a while to figure this out ... ;-)

Got it up and running now. Looks really promising !