4577 Posts in 1388 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 824 Views |
-
ERROR MY SITE DOES NOT SHOW!

14 October 2010 at 3:01am Last edited: 14 October 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 1496Parse 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?
-
Re: ERROR MY SITE DOES NOT SHOW!

14 October 2010 at 5:40am Last edited: 14 October 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 /**
1497So what went wrong?
-
Re: ERROR MY SITE DOES NOT SHOW!

14 October 2010 at 8:13am
Are you sure the SilverStripe files were uploaded correctly?
-
Re: ERROR MY SITE DOES NOT SHOW!

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.configWith the error message I am getting I thought it may give a clue to what file that is missing or not
-
Re: ERROR MY SITE DOES NOT SHOW!

14 October 2010 at 10:34am
Hi jekwumoore,
I suggest re-uploading all the files again.
Cheers,
Sean
| 824 Views | ||
|
Page:
1
|
Go to Top |


