Hello, I've just started to publish my web gallery to my new web hosting service that hosts my new domain www.thedragonlord.com
It seemed that all went right, but now, when I try to access the main.php it appears this error:
Error
Error (ERROR_PLATFORM_FAILURE) : /home/dragonlo/public_html/photos/g2data/locks/36
* in modules/core/classes/FlockLockSystem.class at line 72 (GalleryCoreApi::error)
* in modules/core/classes/GalleryLockSystem.class at line 147 (FlockLockSystem::_acquireLock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 176 (GalleryLockSystem::acquireWriteLock)
* in modules/core/classes/GalleryCoreApi.class at line 2291 (GalleryLockHelper_simple::acquireWriteLock)
* in modules/randomhighlight/module.inc at line 216 (GalleryCoreApi::acquireWriteLock)
* in modules/core/classes/GalleryEntity.class at line 469 (RandomHighlightModule::onLoad)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 91 (GalleryEntity::onLoad)
* in modules/core/classes/GalleryCoreApi.class at line 2361 (GalleryEntityHelper_simple::loadEntitiesById)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 172 (GalleryCoreApi::loadEntitiesById)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 73 (GalleryDerivativeHelper_simple::_loadDerivatives)
* in modules/core/classes/GalleryCoreApi.class at line 1053 (GalleryDerivativeHelper_simple::fetchThumbnailsByItemIds)
* in modules/core/module.inc at line 77 (GalleryCoreApi::fetchThumbnailsByItemIds)
* in modules/core/classes/GalleryTheme.class at line 1539 (CoreModule::getItemLinks)
* in themes/classic/theme.inc at line 109 (GalleryTheme::loadCommonTemplateData)
* in modules/core/classes/GalleryTheme.class at line 932 (ClassicTheme::showAlbumPage)
* in modules/core/classes/GalleryView.class at line 301 (GalleryTheme::loadTemplate)
* in main.php at line 465 (GalleryView::doLoadTemplate)
* in main.php at line 104
* in main.php at line 88
but the locks folder is empty....I've tried to set the chmod of the entire g2data folder and subfolder to 777 but the albums seems to be locked because filezilla shows the erro 550....
Can someone help me?
Uh, I was forgetting...I've intalled the latest and official 2.3 of Gallery, and my hosting serice is provided by HostMDS.
Thanks
Andrea
Posts: 9271
I can browse your Gallery. Can you log into Site Admin?
If so, try switching to database locking. Go to Site Admin > General It's on that page.
If not, please post a phpinfo link, this link explains how:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 20
I've renamed the g2data folder, created a new g2data, copied in it all the old g2data subfolders and now it works...so strange...should the permissin of the subfolder and files in the g2data set to chmod 777?
Posts: 9271
It all depends on how your server is setup. If Apache and/or PHP run as your user account, they can be set as tightly as 700 for directories and 600 for files.
If Apache or PHP run as another user account g2data needs to be 777 and then when Gallery creates everything else it will be 755 for directories and 644 for files. Sounds purely like a permission/ownership issue on your server.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here