Problems

ForFox

Joined: 2008-05-28
Posts: 8
Posted: Thu, 2009-12-03 18:48

Hello my site doesn't work anymore.
This is my errorcode:

Error
Error (ERROR_PLATFORM_FAILURE) :

* in modules/core/classes/GalleryTemplate.class at line 251 (GalleryCoreApi::error)
* in modules/core/classes/GalleryTemplate.class at line 180 (GalleryTemplate::_initCompiledTemplateDir)
* in main.php at line 486 (GalleryTemplate::fetch)
* in main.php at line 94
* in main.php at line 83

Anybody know how to solve this ?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-12-03 19:06

Try this:
FAQ: I get a ERROR_PLATFORM_FAILURE, what should I do?

If that doesn't work or help put Gallery into debug mode and post back when you've done that:
FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
ForFox

Joined: 2008-05-28
Posts: 8
Posted: Thu, 2010-01-07 21:47

links removed

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2009-12-11 21:44

Try clearing your template and database cache. I don't see any thing that would be throwing that error:
FAQ: How can I clear cached data?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
ForFox

Joined: 2008-05-28
Posts: 8
Posted: Thu, 2010-01-07 21:46

removed links.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-01-07 21:20

Someone has changed permissions or ownership on your files and directories under g2data.

If you are the owner of all files and directories under g2data and the webserver doesn't run as you, it can't delete them. However, if you are the owner you can change permissions if you have SSH access:

chmod -R 777 g2data

Then you can clean the cache out. If your webserver runs as a different user and you don't want the permissions set to 777 then you or your host (your host if you are not root) will have to change ownership on the files.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
ForFox

Joined: 2008-05-28
Posts: 8
Posted: Thu, 2010-01-07 21:45

worked for me ~!

thanks guys !