Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Error new Release Version 2.2.2

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: 1291 Views
  • stooni
    Avatar
    Community Member
    89 Posts

    Error new Release Version 2.2.2 Link to this post

    Installation all ok. when i go in the admin in the Reports Menu will be not load he give a error

    Fatal error: Class 'Report_StatsReport' not found in C:\xampp\htdocs\silver100\cms\code\ReportAdmin.php on line 70

    ----------Stooni

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Error new Release Version 2.2.2 Link to this post

    Hi there,

    Could you please open up the file in question, and remove the commented out class.

    That should fix the issue.

    It's been fixed in the latest ecommerce trunk, FYI.

    Cheers,
    Sean

  • Aaron
    Avatar
    Community Member
    63 Posts

    Re: Error new Release Version 2.2.2 Link to this post

    I get the same when I look at Files and Images, but no class name:

    "Fatal error: Class '' not found in W:\html\sapphire\filesystem\Folder.php on line 104"

  • stooni
    Avatar
    Community Member
    89 Posts

    Re: Error new Release Version 2.2.2 Link to this post

    What you make only click Button Files/Images or, when you upload a new Image ???

    The First Show in the Trunk is the Same Code or something change???

    I have no problem with these ?? i have also installed 2.2.2 and with these Link i have no problem!

    ---Stooni!

  • Aaron
    Avatar
    Community Member
    63 Posts

    Re: Error new Release Version 2.2.2 Link to this post

    Yes, this error occurs when I click on the "Files and Images" button in the CMS.

    I upgraded from 2.2.1 to 2.2.2. It was working before that. I may have done something wrong, but all I did was copy my exsiting code to a different directory, replaced the current site with 2.2.2, copied my theme, mysite/config and mysite/code to the new install, and run db/build?flush=1

    Everything else seems fine. I cannot a clean install as we have added to much content so far.

    Regards
    Aaron

  • Aaron
    Avatar
    Community Member
    63 Posts

    Re: Error new Release Version 2.2.2 Link to this post

    Just tried a different 2.2.1 > 2.2.2 upgrade method:

    1. Make copy of current HTML directory (2.2.1).
    2. Replace cms, jsparty, auth_openid and sapphire directories with those from the 2.2.2 download.
    3. Run /db/build?flush=1 on frontend - OK
    4. Go to CMS and click "Files and Images" tab (/admin/assets)
    5. Same error: Fatal error: Class '' not found in W:\html\sapphire\filesystem\Folder.php on line 104
    I am going to quickly try a fresh install to see if there is a prob with the archive I downloaded.

  • Aaron
    Avatar
    Community Member
    63 Posts

    Re: Error new Release Version 2.2.2 Link to this post

    Fresh install is fine (as expected).

    Any ideas on this one? Have I missed a step in the upgrade?

    I'm a bit worried about upgrading in future now. Fresh installs isn't an option obviously.

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