Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Error new Release Version 2.2.2


Go to End


7 Posts   1722 Views

Avatar
stooni

Community Member, 89 Posts

23 May 2008 at 3:15am

Edited: 23/05/2008 3:20am

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

Avatar
Sean

Forum Moderator, 922 Posts

23 May 2008 at 9:31am

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

Avatar
Aaron

Community Member, 63 Posts

7 June 2008 at 6:04pm

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"

Avatar
stooni

Community Member, 89 Posts

8 June 2008 at 12:30am

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!

Avatar
Aaron

Community Member, 63 Posts

8 June 2008 at 11:08am

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

Avatar
Aaron

Community Member, 63 Posts

8 June 2008 at 12:04pm

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.

Avatar
Aaron

Community Member, 63 Posts

8 June 2008 at 12:35pm

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.