Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: gevv on May 7th, 2014, 11:46 AM

Title: Purge Cache Fatal error
Post by: gevv on May 7th, 2014, 11:46 AM
Hi,

I run purge cache from the admin menu 

error message came the white pages
Quote
Fatal error: Class 'wess_dynamic' not found in /xxx/xxx/public_html/gz/app/Subs-Cache.php on line 641

Refresh page everything is  working  normally

Title: Re: Purge Cache Fatal error
Post by: CerealGuy on May 7th, 2014, 04:05 PM
Try to overwrite your files with the latest git commit. Perhaps theres something wrong with your files.
Title: Re: Purge Cache Fatal error
Post by: Nao on May 8th, 2014, 12:00 AM
Possibly a problem with how the file system is handled on your server. Sometimes, a web server has no direct access to the hard drive, it goes through an extra layer, and there's a short delay between the moment you write data, and the moment you can retrieve it.

In Wedge, loadSource will first get a /core/app/ source file, then strip its comments, save it to /gz/ (cache folder), and load that version. If the filesystem doesn't see the file as avaiable even though it was written, this could generate your error. Although, I think it should first generate an error saying the files wasn't found..? Maybe I'm not doing that.

PS: sorry guys, I'm not posting a lot these days. Please keep in mind that I'm working hard on many features of Wedge at the same time, and I just don't feel like discussing them because I don't know what will make it to the final cut.