This topic was marked solved by Nao, on May 30th, 2014, 01:56 PM
Purge Cache Fatal error

gevv

  • Posts: 91
Purge Cache Fatal error
« 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


CerealGuy

  • Posts: 343
Re: Purge Cache Fatal error
« Reply #1, on May 7th, 2014, 04:05 PM »
Try to overwrite your files with the latest git commit. Perhaps theres something wrong with your files.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Purge Cache Fatal error
« Reply #2, 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.