Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Fatal error: Call to undefined method stdClass::allMethodNames()

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: 1755 Views
  • Tkop
    Avatar
    28 Posts

    Fatal error: Call to undefined method stdClass::allMethodNames() Link to this post

    This is in the daily builds 2007-09-07 and 2007-09-09, I don't know about
    other versions of the daily build.

    The daily build installs ok, and I can access the cms.
    However when I copy cms,jsparty, and sapphire to a working directory
    (build 2.0.2-rc2), do a database rebuild and then attempt to access the
    cms from the overlaid directory I get:

    "Call to undefined method stdClass::allMethodNames() in /var/www/html/s/sapphire/core/Object.php on line 203"

    The daily build version works ok, it just fails when I try to overlay an existing version.
    I assume that something in the new version's database has changed and has to be
    updated in the old database which the overlaid version is still using.
    The overlaid site still works, I just get this error when attempting to login to the
    cms so I can't administer the overlaid site.

    Questions:
    When will 2.0.3 be released and will there be a way to change/update the database
    so the existing site information will not have to be manually renetered?
    In the meantime is there something I can do manually?

  • Andy
    Avatar
    230 Posts

    Re: Fatal error: Call to undefined method stdClass::allMethodNames() Link to this post

    2.1.0 will be released shortly, not much longer to wait. The database can be upgraded by visiting http://www.yoursite.com/db/build?flush=1 , there shouldn't be any issues keeping your content.

  • Tkop
    Avatar
    28 Posts

    Re: Fatal error: Call to undefined method stdClass::allMethodNames() Link to this post

    Andy
    Thanks for the info about the release. I see it now on the main
    silverstripe.com page.

    I still get the error even after doing a "s/db/build?flush=1".

    I have tried the following where "s" is the working directory and
    "s.20070909" is a renamed silverstripe.2.0.DailyBuild.2007.09.09"
    directory.
    cd s
    rm -rp cms jsparty sapphire
    cp -rp ../s.20070909/cms .
    cp -rp ../s.20070909/jsparty .
    cp -rp ../s.20070909/sapphire .
    http://localhost/s/db/build?flush=1 (from a browser)
    I have done this on a untar'd s.20070909 and also aftering
    doing an install on the s.20070909 directory

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