Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Fatal Errors during Install

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

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

Page: 1
Go to End
Author Topic: 1456 Views
  • bilbo
    Avatar
    Community Member
    10 Posts

    Fatal Errors during Install Link to this post

    Hello All:

    Summary of Configuration:
    Shared hosting with GoDaddy.com
    MSSQL 5.0.45
    PHP 5.1.4
    Apache 1.3.33

    Fatal Error 1 (solved): Received an Fatal Error upon initially trying the install, realized that I needed to manually create the Assets folder (wasn't part of the install package)

    Fatal Error 2 (Still open): Made it to the first install screen, sees the dbase, looks like everything should be OK. Just one thing listed in orange:

    a) Can't confirm the mod_rewrite

    Here is what I get on the next screen after hitting Install:

    Installing SilverStripe...
    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation

    Creating 'mysite/_config.php'...
    Creating '.htaccess' file...
    Building database schema...
    Fatal error: Object::__call() Method 'pushCurrent' not found in class 'Controller' in /home/content/m/p/u/mpuich/html/sapphire/core/Object.php on line 190

    I tried the refresh, but doesn't work.

    Any ideas what is going on? I have configured my host to be PHP 5, for all php extensions. So, any help would be appreciated.

    Thanks,

    Marc

  • bilbo
    Avatar
    Community Member
    10 Posts

    Re: Fatal Errors during Install Link to this post

    Ok. So, I am learning .php on the fly, and tried to find the push_current function in the referenced objects at that step in Install.php, but couldn't find it any either Object.php, Controller.php, or ViewableData.php.

    So, I commented the command referring to push_current, and it seems to have installed.

    What I am afraid happened is that when I was running into a previous install issue with the 2.0.2b main build (needed to manually create the assets directory), I installed a newer build of install.php. This seems to have a command that references this push_current function, and I didn't update all of my install files with the most recent builds (maybe it is there somewhere in the newer version of those other files.)

    Anyway, seems to be working, at least for now.

    Marc

    1456 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.