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

Problem installing silverstripe 2.2.2


Reply

12 Posts   5192 Views

Avatar
HanSolo

11 July 2008 at 10:50pm (Last edited: 14 July 2008 5:48am), Community Member, 83 Posts

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

14 July 2008 at 7:16am Community Member, 83 Posts

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

14 July 2008 at 12:55pm Forum Moderator, 5511 Posts

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

14 July 2008 at 8:32pm (Last edited: 14 July 2008 8:35pm), Community Member, 83 Posts

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