Jump to:

4950 Posts in 13975 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » ERROR MY SITE DOES NOT SHOW!

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

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

Page: 1
Go to End
Author Topic: 1034 Views
  • jekwumoore
    Avatar
    Community Member
    3 Posts

    ERROR MY SITE DOES NOT SHOW! Link to this post

    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?

  • jekwumoore
    Avatar
    Community Member
    3 Posts

    Re: ERROR MY SITE DOES NOT SHOW! Link to this post

    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?

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: ERROR MY SITE DOES NOT SHOW! Link to this post

    Are you sure the SilverStripe files were uploaded correctly?

  • jekwumoore
    Avatar
    Community Member
    3 Posts

    Re: ERROR MY SITE DOES NOT SHOW! Link to this post

    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

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: ERROR MY SITE DOES NOT SHOW! Link to this post

    Hi jekwumoore,

    I suggest re-uploading all the files again.

    Cheers,
    Sean

    1034 Views
Page: 1
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.