Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Problem installing silverstripe 2.2.2

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

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

Page: 1 2
Go to End
Author Topic: 5172 Views
  • HanSolo
    Avatar
    Community Member
    83 Posts

    Re: Problem installing silverstripe 2.2.2 Link to this post

    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

  • HanSolo
    Avatar
    Community Member
    83 Posts

    Re: Problem installing silverstripe 2.2.2 Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Problem installing silverstripe 2.2.2 Link to this post

    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

  • HanSolo
    Avatar
    Community Member
    83 Posts

    Re: Problem installing silverstripe 2.2.2 Link to this post

    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

    5172 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.