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
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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
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
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
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