Once again i have broblem "ERROR_PLATFORM_FAILURE"

inamski

Joined: 2007-04-15
Posts: 30
Posted: Tue, 2007-07-03 05:20

Today i have created new database and New user for that database nothing related to the database and user i use for Gallery.
and under totally different folder i installed the joomla and guess what gallery stop working , below is the error , which i have no idea how to fix it. time to time site need modification if this thing happen i dont know what should i do.

Error
Error (ERROR_PLATFORM_FAILURE) :

* 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 (flocklocksystem::acquirewritelock)
* in modules/core/classes/GalleryCoreApi.class at line 2185 (gallerylockhelper_simple::acquirewritelock)
* in modules/randomhighlight/module.inc at line 209 (gallerycoreapi::acquirewritelock)
* in modules/core/classes/GalleryEntity.class at line 468 (randomhighlightmodule::onload)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 91 (galleryderivativeimage::onload)
* in modules/core/classes/GalleryCoreApi.class at line 2251 (galleryentityhelper_simple::loadentitiesbyid)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 170 (gallerycoreapi::loadentitiesbyid)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 72 (galleryderivativehelper_simple::_loadderivatives)
* in modules/core/classes/GalleryCoreApi.class at line 962 (galleryderivativehelper_simple::fetchthumbnailsbyitemids)
* in modules/core/module.inc at line 92 (gallerycoreapi::fetchthumbnailsbyitemids)
* in modules/core/classes/GalleryTheme.class at line 1503 (coremodule::getitemlinks)
* in themes/carbon/theme.inc at line 177 (carbontheme::loadcommontemplatedata)
* in modules/core/classes/GalleryTheme.class at line 926 (carbontheme::showalbumpage)
* in modules/core/classes/GalleryView.class at line 308 (carbontheme::loadtemplate)
* in main.php at line 441 (showitemview::doloadtemplate)
* in main.php at line 94
* in main.php at line 83

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-07-03 13:07

please switch from file to database locking.
you can change that at:
site admin -> general, near the bottom of the page.

if you can't access site admin -> general, please edit the parameter manually in the database (e.g. with phpmyadmin):
UPDATE g2_PluginParameterMap SET g_parameterValue = 'database' WHERE g_pluginType = 'module' AND g_pluginId = 'core' AND g_parameterName = 'lock.system';

then clear the db cache:
FAQ: How can I clear cached data?

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

 
inamski

Joined: 2007-04-15
Posts: 30
Posted: Tue, 2007-07-03 22:07

Thanks you
my site is hosted through dot5hosting , and it use VDECK control pannel , i have not been able to find the database locking...

so i went to myphpadmin

found the
g2_PluginParameterMap

but have no clue how to update its

below is the picture

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-07-03 22:17

see the line with UPDATE g2_PluginParameterMap ... in my previous post. this is the SQL command you need to execute.

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

 
inamski

Joined: 2007-04-15
Posts: 30
Posted: Tue, 2007-07-03 22:40

Sorry iam so dumb how to execute the command

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-07-03 23:04

on your screenshot, i see a "SQL" tab / link at the top. click on that.
copy and paste the command into the command input field replacing what was there before, then run the command by submitting the form.

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

 
inamski

Joined: 2007-04-15
Posts: 30
Posted: Tue, 2007-07-03 23:39

Thank you Valiant for your help .....

i have tried here is the screen after i done it

i cleared the cache
but still not working

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-07-04 02:07

it says 0 rows have been affected. that's unexpected.
please run the following SQL query and then report the results:

SELECT * FROM g2_PluginParameterMap WHERE g_pluginType = 'module' AND g_pluginId = 'core' AND g_parameterName = 'lock.system';

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

 
inamski

Joined: 2007-04-15
Posts: 30
Posted: Wed, 2007-07-04 02:29

Thanks again for helping me out .....

its the same result ... if you need the database user password i will PM you

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-07-04 02:58

ok, it's set to database locking. good.
now clear the database cache. FAQ: How can I clear cached data?

the error from your first post shouldn't occur anymore.

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

 
inamski

Joined: 2007-04-15
Posts: 30
Posted: Wed, 2007-07-04 03:11

I have cleared the cache according to the Document... it deleted some files and folders and also bunch of errors .
i have send the PM file has all the errors .././..

and still the gallery not up i hope this problem will be solved .....

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-07-04 03:17

- please don't send me PMs unless it's really necessary (confidential data).
- see: FAQ: How can I fix the filesystem permissions of the Gallery storage folder?
- when you browse to your gallery, what exact error do you get if any at all? maybe just post your gallery URL here.

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

 
inamski

Joined: 2007-04-15
Posts: 30
Posted: Wed, 2007-07-04 03:35

Okay Thanks ,

after your help running the sql code , clearing the cache its he same thing ,when i browse to my gallery errors are the same ...

Error (ERROR_PLATFORM_FAILURE) :

* 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 (flocklocksystem::acquirewritelock)
* in modules/core/classes/GalleryCoreApi.class at line 2185 (gallerylockhelper_simple::acquirewritelock)
* in modules/randomhighlight/module.inc at line 209 (gallerycoreapi::acquirewritelock)
* in modules/core/classes/GalleryEntity.class at line 468 (randomhighlightmodule::onload)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 91 (galleryderivativeimage::onload)
* in modules/core/classes/GalleryCoreApi.class at line 2251 (galleryentityhelper_simple::loadentitiesbyid)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 170 (gallerycoreapi::loadentitiesbyid)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 72 (galleryderivativehelper_simple::_loadderivatives)
* in modules/core/classes/GalleryCoreApi.class at line 962 (galleryderivativehelper_simple::fetchthumbnailsbyitemids)
* in modules/core/module.inc at line 92 (gallerycoreapi::fetchthumbnailsbyitemids)
* in modules/core/classes/GalleryTheme.class at line 1503 (coremodule::getitemlinks)
* in themes/carbon/theme.inc at line 177 (carbontheme::loadcommontemplatedata)
* in modules/core/classes/GalleryTheme.class at line 926 (carbontheme::showalbumpage)
* in modules/core/classes/GalleryView.class at line 308 (carbontheme::loadtemplate)
* in main.php at line 441 (showitemview::doloadtemplate)
* in main.php at line 94
* in main.php at line 83

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-07-04 13:28

hmm, still flock locking errors. it's not using database locking yet.
probably because you couldn't clear the database caches.

you'll need to successfully clear your database caches.
FAQ: How can I clear cached data?

since you get errors during that attempt, you first need to fix your filesystem permissions:
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?

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

 
inamski

Joined: 2007-04-15
Posts: 30
Posted: Thu, 2007-07-05 14:53

Thank you again, I did those steps , but same error , I Assigned full rights 777 to files and folders under cache and chache itself, still same errors while clearing cache ... just for infor what if i manualy clear remove the folders and files under cache , is it adviseable...

 
inamski

Joined: 2007-04-15
Posts: 30
Posted: Thu, 2007-07-05 15:09

After assigning 777 to folders and files and running cache clear there were errors same one .
but when i browse my gallery

now the errors are very few

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 479 (gallerytemplate::fetch)
* in main.php at line 94
* in main.php at line 83

 
inamski

Joined: 2007-04-15
Posts: 30
Posted: Thu, 2007-07-05 15:25

Thanks you Valiant,,,,,,,, Iam really thankful to you for your help...........:) I deleted the contents manually and every this is back on track
Thank you rather bunddles of thanks

 
nerbonne

Joined: 2007-02-07
Posts: 12
Posted: Thu, 2007-10-25 18:39

Wow, thanks alot Valiant. That worked perfectly.