I changed the following codes into localhost:
Quote:
$gallery->setConfig('data.gallery.base', '/localhost/gallery/g2data_1q2w3e4r5t/');
Quote:
$gallery->setConfig('baseUri', 'http://localhost/gallery/main.php');
Then ran phpmyadmin to update mysql table.
Finally I test http://localhost/gallery/main.php and get the following message:
Error
What is wrong? Please advise.
Thanks,
Posts: 16503
That almost always indicates a problem with connecting to the database.
Put Gallery into debug mode and post the output (NOT from the Smarty Debug popup). Copy and paste the output into a text file, zip and attach.
FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 15
I got it. Thanks.....
Posts: 16503
What was the issue?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 15
I just changed the username and password in config.php, that was it! Thanks,
Posts: 2
dear Nivekiam,
i have the same error. however, the deug doesnt seem to indicate an authentication issue, but there is something with the core. i get something like that also during installation (after chosing which plugins to activate, it outputs errors, but let me go to the next step)... thanks in advance for help
Error Error (ERROR_BAD_PARAMETER) * in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 39 (GalleryCoreApi::error) * in modules/core/classes/GalleryCoreApi.class at line 2361 (GalleryEntityHelper_simple::loadEntitiesById) * in init.inc at line 208 (GalleryCoreApi::loadEntitiesById) * in main.php at line 197 * in main.php at line 104 * in main.php at line 88 Debug Output file_exists(/home/media/piccas/web/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) (mysqli): SET NAMES "utf8" (mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId AND g2_Schema.g_type = 'map' AND g2_PluginMap.g_active = 1 (mysqli): SELECT g2_Schema.g_info FROM g2_Schema WHERE g2_Schema.g_type = 'map' (mysqli): SELECT g_classType, g_className, g_implId, g_implPath, g_hints, g_implModuleId, g_orderWeight FROM g2_FactoryMap ORDER BY g_orderWeight ASC file_exists(/home/media/piccas/web/cache/module/_all/0/0) is_dir(/home/media/piccas/web/cache/module/_all/0/0) file_exists(/home/media/piccas/web/cache/module/_all/0/0) is_dir(/home/media/piccas/web/cache/module/_all/0/0) getParameter permissions.file for core plugin file_exists(/home/media/piccas/web/cache/module/core/0/0/0.inc) getParameter permissions.directory for core plugin rename(/home/media/piccas/web/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.incocTmMz, /home/media/piccas/web/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter language.useBrowserPref for core plugin getParameter default.language for core plugin controller , view Loading plugin core Class not defined, trying to include it. file_exists(/var/www/huiskamer/p/modules/core/module.inc) core plugin successfully instantiated file_exists(/home/media/piccas/web/versions.dat) file(/home/media/piccas/web/versions.dat, ) file_exists(/home/media/piccas/web/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) (mysqli): SELECT g2_Schema.g_info FROM g2_Schema WHERE g2_Schema.g_type = 'map' (mysqli): SELECT g_classType, g_className, g_implId, g_implPath, g_hints, g_implModuleId, g_orderWeight FROM g2_FactoryMap ORDER BY g_orderWeight ASC file_exists(/home/media/piccas/web/cache/module/_all/0/0) is_dir(/home/media/piccas/web/cache/module/_all/0/0) file_exists(/home/media/piccas/web/cache/module/_all/0/0) is_dir(/home/media/piccas/web/cache/module/_all/0/0) rename(/home/media/piccas/web/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.incwJSp7T, /home/media/piccas/web/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) getParameter id.anonymousUser for core plugin [1262714971] can't guarantee 5 -- extending! file_exists(/home/media/piccas/web/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) (mysqli): SELECT g2_Schema.g_info FROM g2_Schema WHERE g2_Schema.g_type = 'map' (mysqli): SELECT g_classType, g_className, g_implId, g_implPath, g_hints, g_implModuleId, g_orderWeight FROM g2_FactoryMap ORDER BY g_orderWeight ASC file_exists(/home/media/piccas/web/cache/module/_all/0/0) is_dir(/home/media/piccas/web/cache/module/_all/0/0) file_exists(/home/media/piccas/web/cache/module/_all/0/0) is_dir(/home/media/piccas/web/cache/module/_all/0/0) rename(/home/media/piccas/web/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.incuhxpte, /home/media/piccas/web/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) file_exists(/home/media/piccas/web/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) getParameter default.theme for core plugin Loading plugin Class not defined, trying to include it. file_exists(/var/www/huiskamer/p/themes//theme.inc) file_exists(/home/media/piccas/web/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) Loading plugin Class not defined, trying to include it. file_exists(/var/www/huiskamer/p/themes//theme.inc) getParameter id.adminGroup for core plugin (mysqli): SELECT g2_Schema.g_info FROM g2_Schema WHERE g2_Schema.g_type = 'map' (mysqli): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=0 AND g_groupId=0 LIMIT 1 realpath(/var/www/huiskamer/p/modules/core/classes/../../../) realpath(/var/www/huiskamer/p/)Posts: 16503
foggydude, please start a new thread and post your system information:
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: 2
problem solved:
in the step where iut creates the core, the php script isnt allowed to execute fully due to my php.ini settings (max 16mb). i suggest you either warn people for this, give an error (if not completed return to this step and make people change their limits) and/or insert in the script (ON TOP)
16mb isnt enough for me, an exemption for just this page would be best, i think
now im gonna play with the gallary and try to add pictures, it looks very promising!
Posts: 22892
We do:
http://codex.gallery2.org/Gallery3:Requirements
Please file a feature request to have the installer check for proper memory requirements. It will be slightly different different hosts and image toolkit used as well.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team