Hey,
I'm trying to install Gallery 2.0 on my website.
I ran into too many problems and tried to fix them all, but can't figure this last one out.
This is what I get:
Error (ERROR_BAD_PARAMETER) : /home/blacksbu/public_html/gallery-files/modules/core/classes/helpers/../../../../themes/matrix/theme.inc
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 105 (gallerystatus::error)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 99 (gallerypluginhelper_simple::loadplugin)
* in modules/core/classes/GalleryCoreApi.class at line 187 (gallerypluginhelper_simple::loadplugin)
* in modules/core/CoreModuleExtras.inc at line 134 (gallerycoreapi::loadplugin)
* in modules/core/module.inc at line 490 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 158 (coremodule::upgrade)
* in install/steps/InstallCoreModuleStep.class at line 125 (coremodule::installorupgrade)
* in install/index.php at line 167 (installcoremodulestep::loadtemplatedata)
Let me know if you can help me out here.
Cheers,
Nima
Posts: 32509
upload themes/ again to your server, there must have been a transmission error when you uploaded g2 to your webserver.
delete g2data and drop the database, then try to install it again.
Posts: 108
I did that, but now I get a different error:
here it is:
Error (ERROR_PLATFORM_FAILURE) : /home/blacksbu/public_html/gallery/g2data/locks/0/1/1
* in modules/core/classes/FlockLockSystem.class at line 261 (gallerystatus::error)
* in modules/core/classes/FlockLockSystem.class at line 69 (flocklocksystem::_acquirelock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 66 (flocklocksystem::acquirereadlock)
* in modules/core/classes/GalleryCoreApi.class at line 2068 (gallerylockhelper_simple::acquirereadlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 1120 (gallerycoreapi::acquirereadlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 201 (gallerypermissionhelper_advanced::_getaccesslistcompacterlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 80 (gallerypermissionhelper_advanced::_changepermission)
* in modules/core/classes/GalleryCoreApi.class at line 671 (gallerypermissionhelper_advanced::addgrouppermission)
* in modules/core/CoreModuleExtras.inc at line 1728 (gallerycoreapi::addgrouppermission)
* in ??? at line 0 (coremoduleextras::_createrootalbumitem)
* in modules/core/CoreModuleExtras.inc at line 206
* in modules/core/module.inc at line 490 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 158 (coremodule::upgrade)
* in install/steps/InstallCoreModuleStep.class at line 125 (coremodule::installorupgrade)
* in install/index.php at line 167 (installcoremodulestep::loadtemplatedata)
Posts: 32509
delete g2data, drop the database,
then check:
FAQ: How can I make sure that my installation files are all intact?
then try to install again.
Posts: 108
Hey,
I did that. It installed the software and gave me the Install Complete message. But when I clicked on "Go to My Gallery Now", it goes to this page: http://blacksburgpoker.com/gallery/main.php
let me know what I should do now.
Thanks,
Posts: 32509
do you use a different php.ini in install/ or for gallery2/ than for the rest?
obviously the g2data/ filesystem permissions are not right.
i'd delete g2data, drop the database and try installing yet another time. if you get the same results, maybe just
chmod -R 777 /home/blacksbu/public_html/gallery/g2data
(the -R is essential)
Posts: 108
I deleted everything and tried to install it agian. But it gave me the same error as lsat time:
Error (ERROR_PLATFORM_FAILURE) : /home/blacksbu/public_html/gallery/g2data/locks/0/1/1
* in modules/core/classes/FlockLockSystem.class at line 261 (gallerystatus::error)
* in modules/core/classes/FlockLockSystem.class at line 69 (flocklocksystem::_acquirelock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 66 (flocklocksystem::acquirereadlock)
* in modules/core/classes/GalleryCoreApi.class at line 2068 (gallerylockhelper_simple::acquirereadlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 1120 (gallerycoreapi::acquirereadlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 201 (gallerypermissionhelper_advanced::_getaccesslistcompacterlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 80 (gallerypermissionhelper_advanced::_changepermission)
* in modules/core/classes/GalleryCoreApi.class at line 671 (gallerypermissionhelper_advanced::addgrouppermission)
* in modules/core/CoreModuleExtras.inc at line 1728 (gallerycoreapi::addgrouppermission)
* in ??? at line 0 (coremoduleextras::_createrootalbumitem)
* in modules/core/CoreModuleExtras.inc at line 206
* in modules/core/module.inc at line 490 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 158 (coremodule::upgrade)
* in install/steps/InstallCoreModuleStep.class at line 125 (coremodule::installorupgrade)
* in install/index.php at line 167 (installcoremodulestep::loadtemplatedata)
I'm all confused here.
Thanks
Nima
Posts: 32509
please try the latest nightly snapshot.
this error signature looks like something that has been fixed since gallery 2.0.2.
Posts: 108
I tried the nightly snapshot too.
Here is the error I get now:
Error (ERROR_PLATFORM_FAILURE) : /home/blacksbu/public_html/gallery/g2data/locks/0/1/1
* in modules/core/classes/FlockLockSystem.class at line 261 (gallerystatus::error)
* in modules/core/classes/FlockLockSystem.class at line 69 (flocklocksystem::_acquirelock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 66 (flocklocksystem::acquirereadlock)
* in modules/core/classes/GalleryCoreApi.class at line 2069 (gallerylockhelper_simple::acquirereadlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 1132 (gallerycoreapi::acquirereadlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 205 (gallerypermissionhelper_advanced::_getaccesslistcompacterlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 80 (gallerypermissionhelper_advanced::_changepermission)
* in modules/core/classes/GalleryCoreApi.class at line 672 (gallerypermissionhelper_advanced::addgrouppermission)
* in modules/core/CoreModuleExtras.inc at line 1814 (gallerycoreapi::addgrouppermission)
* in ??? at line 0 (coremoduleextras::_createrootalbumitem)
* in modules/core/CoreModuleExtras.inc at line 219
* in modules/core/module.inc at line 492 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 195 (coremodule::upgrade)
* in install/steps/InstallCoreModuleStep.class at line 120 (coremodule::installorupgrade)
* in install/index.php at line 170 (installcoremodulestep::loadtemplatedata)
Why is it so hard to install?
Thanks
Nima
Posts: 32509
please delete g2data / drop the db.
and then choose the "mysql all versions" db driver in step 5 of the installer.
Posts: 108
That's what i've been using so far.
I'll try it one more time.
Cheers,
Nima
Posts: 108
During the system check it gives me Integrity fault:
modules/core/test/data/localUploadDir/test[3].gif
modules/core/test/data/test[3].gif
but when I looked at the main category of the nightly snapshot that I downloaded, those two files dont exist at all.
Cheers,
Nima
Posts: 32509
these two files don't matter. probably your computer or your server has problems with files with [ ] in them.
so you're sure you're using the nightly snapshot from http://galleryupdates.jpmullan.com/#gallery2 G2/gallery-2.0.2+-nightly.zip (or tar.gz)?
and did you delete g2data / the database tables when retrying?
Posts: 108
I didnt delete the database tables. I just deleted the database itself.
Nima
Posts: 108
I dropped everything and installed it again. And it worked this time. I'm still all confused but thanks for your help.
Also, should I try to update the software often to fix its bugs or am I not going to run into such problems again?
Cheers,
Nima
Posts: 32509
if you don't run into problems there's no need to upgrade the software unless there are new features in the new versions that you'd like, or if there are security announcements.
i'm using G2 since July for my own site and i don't experience problems. other users are using it since a year.
there may be issues of course, that's why we have support forums.
Posts: 108
thanks for your help.
Nima