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

Problem installing silverstripe 2.2.2


Go to End


12 Posts   6187 Views

Avatar
HanSolo

Community Member, 87 Posts

11 July 2008 at 10:50pm

Edited: 14/07/2008 5:48am

Hi my guess to lol. But i am a total newbie on php.

Here is the code on ComponentSet.php from line 291

#291 function debug() {
#292 $size = count($this->items);
#293
#294 $output = <<<OUT

Anyone got a clue how to solve this?
Regards

Avatar
HanSolo

Community Member, 87 Posts

14 July 2008 at 7:16am

sorry but i seemed to copy the wrong line from componentSet.php

Here is the right line

# 291 function<?php
# 292 /**
# 293 * @package sapphire
# 294 * @subpackage model
# 295 */
# 296
# 297 /**

Hope anyone can help me with this, since I have no clue at all.

Joakim

Avatar
Willr

Forum Moderator, 5523 Posts

14 July 2008 at 12:55pm

that would be the problem

function<?php ? looks totally wrong. Get rid of the function before the <?php as <?php should be the first thing in the file

Avatar
HanSolo

Community Member, 87 Posts

14 July 2008 at 8:32pm

Edited: 14/07/2008 8:35pm

Hi I dont know what was wrong with that file, but what i did was that i used the same file as i have on opensourcehost.com, that file was smaller in kb and only 307 lines compared to the one i had that was 598 lines, then the install worked.

Joakim

Go to Top