Add a photo! error.

Kütt

Joined: 2007-02-19
Posts: 1
Posted: Fri, 2007-10-26 20:46

Warning: fopen(/home1/lyraprie/public_html/gallery/g2data/locks/0/7/7) [function.fopen]: failed to open stream: Permission denied in /home1/lyraprie/public_html/gallery/modules/core/classes/GalleryPlatform.class on line 369

Warning: php_uname() has been disabled for security reasons in /home1/lyraprie/public_html/gallery/modules/core/ErrorPage.inc on line 73
Platform Error

An error has occurred while interacting with the platform.
The exact nature of the platform error is unknown. A common cause are insufficient file system permissions. This can happen if you or your webhost changed something in the file system, e.g. by restoring data from a backup.

Back to the Gallery
Error Detail -
Error (ERROR_PLATFORM_FAILURE) : /home1/lyraprie/public_html/gallery/g2data/locks/0/7/7

* in modules/core/classes/FlockLockSystem.class at line 77 (gallerycoreapi::error)
* in modules/core/classes/GalleryLockSystem.class at line 101 (flocklocksystem::_acquirelock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 66 (flocklocksystem::acquirereadlock)
* in modules/core/classes/GalleryCoreApi.class at line 2263 (gallerylockhelper_simple::acquirereadlock)
* in modules/core/ItemAdd.inc at line 76 (gallerycoreapi::acquirereadlock)
* in main.php at line 199 (itemaddcontroller::handlerequest)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.1.2
PHP version 4.4.7 apache
Webserver
Database mysql 4.1.22-standard-log
Toolkits SquareThumb, NetPBM
Operating system
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-10-26 21:00

i suggest you switch from file to database locking.
you can change the lock system at the bottom of your "site admin -> general" page.

if the problem persists, please see:
FAQ: I get a ERROR_PLATFORM_FAILURE, what should I do?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage