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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

ERROR MY SITE DOES NOT SHOW!


Reply


5 Posts   1083 Views

Avatar
jekwumoore

Community Member, 3 Posts

14 October 2010 at 3:01am

Edited: 14/10/2010 3:04am

I followed this path (www.nameofnysite.com/install.php) to install on my website and after entering the right database details, I was shown the message below

"
Warning: Unterminated comment starting line 1496 in /home/nigerpot/public_html/sapphire/core/model/DataObject.php on line 1496

Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home/nigerpot/public_html/sapphire/core/model/DataObject.php on line 1496 "

Before Installing I also saw same error message when I entered www.nameofmysite.com

What is actually wrong and how do I fix it?

Avatar
jekwumoore

Community Member, 3 Posts

14 October 2010 at 5:40am

Edited: 14/10/2010 5:41am

here are the last lines of the dataobject.php

1490    */
1491   function RelationshipAggregate($object = null, $relationship = '', $filter = '') {
1492      if (is_string($object)) { $filter = $relationship; $relationship = $object; $object = $this; }
1493      return new Aggregate_Relationship($object ? $object : $this->owner, $relationship, $filter);
1494   }
1495   
1496   /**
1497

So what went wrong?

Avatar
Sean

Forum Moderator, 922 Posts

14 October 2010 at 8:13am

Are you sure the SilverStripe files were uploaded correctly?

Avatar
jekwumoore

Community Member, 3 Posts

14 October 2010 at 8:29am

I hope so here are the folders and files placed in mysite/public_html folder

assets
cms
googlesitemaps
mysite
sapphire
themes
.htaccess
.mergesources
ChangeLog
COPYING
favicon.ico
index.php
INSTALL
install.php
Makefile
UPGRADING
web.config

With the error message I am getting I thought it may give a clue to what file that is missing or not

Avatar
Sean

Forum Moderator, 922 Posts

14 October 2010 at 10:34am

Hi jekwumoore,

I suggest re-uploading all the files again.

Cheers,
Sean