Platform Error (Problem Solved)
|
kiama
Joined: 2003-04-19
Posts: 22 |
Posted: Thu, 2009-07-02 18:37
|
|
I can't add/rename/edit album & photo titles! Have followed the instructions on http://codex.gallery2.org/Gallery2:FAQ#How_can_I_fix_the_filesystem_permissions_of_the_Gallery_storage_folder.3F, but still can't be resolved. Prior to this, I had a HTTP 500 Error a week ago and my webhost fixed it. Could it be some file permission setting done by them which caused the current Platform Error ?? ******************************************************** Gallery version = 2.2.6 core 1.2.0.8 ******************************************************** ******************************************************** Warning: fopen(/home/jchia/public_html/gallery/photos/locks/5335) [function.fopen]: failed to open stream: No such file or directory in /home/jchia/public_html/gallery/modules/core/classes/GalleryPlatform.class on line 326 Warning: Cannot modify header information - headers already sent by (output started at /home/jchia/public_html/gallery/modules/core/classes/GalleryPlatform.class:326) in /home/jchia/public_html/gallery/modules/core/classes/GalleryPhpVm.class on line 142 An error has occurred while interacting with the platform. Back to the Gallery * in modules/core/classes/FlockLockSystem.class at line 72 (gallerycoreapi::error) System Information |
|
| Login or register to post comments |

Posts: 9283
Have you folloed this:
FAQ: I get a ERROR_PLATFORM_FAILURE, what should I do?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 22
thank you but I've stated in my post it has been done, without resolving the problem.
Posts: 9283
Try switching to database locking. Go to Site Admin > General and change the setting from File to Database, click Save
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 22
thank you nivekiam that worked.
Another question, quoting from the FAQ: "ask your webhost to change the filesystem permissions recursively for you (e.g. chmod -R 777 g2data)."
Is that the same as doing a CHMOD777 myself via FTP? I don't get the meaning of it.
Posts: 9283
Yes, it's the same, but most FTP clients, very few that I've seen, change permissions recursively through all directories. It's easier for your host or you if you have the ability to do chmod -R 777 g2data from the command line via an SSH login.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 22
ok I will ask them to do that too. Thanks again for the help!!
Posts: 9283
Not to mention, that if you don't own those files and directories you couldn't make that change anyway
The important part is that the webserver, how ever it's setup, is able to write to those directories and change the files.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here