Error
|
normedia
Joined: 2009-07-04
Posts: 3 |
Posted: Sat, 2009-07-04 09:45
|
|
Hi, I´ve just migrated an old version to a new server, but when I open the gallery it just says "Error" with big, black letters. The target server doesn´t have all the image packs installed. ANy ideas...? How do I turn on error reporting and debug mode in this gallery ? |
|
| Login or register to post comments |

Posts: 3
Here´s the debug output:
Error
Error (ERROR_STORAGE_FAILURE)
* in modules/core/classes/GalleryStorage.class at line 239 (GalleryCoreApi::error)
* in modules/core/classes/GalleryStorage.class at line 469 (GalleryStorage::_getConnection)
* in modules/core/classes/Gallery.class at line 202 (GalleryStorage::search)
* in modules/core/classes/helpers/GalleryUserGroupHelper_simple.class at line 105 (Gallery::search)
* in modules/core/classes/GalleryCoreApi.class at line 1876 (GalleryUserGroupHelper_simple::fetchGroupsForUser)
* in modules/core/classes/helpers/GalleryPermissionHelper_simple.class at line 64 (GalleryCoreApi::fetchGroupsForUser)
* in modules/core/classes/helpers/GalleryPermissionHelper_simple.class at line 39 (GalleryPermissionHelper_simple::_fetchAccessListIds)
* in modules/core/classes/GalleryCoreApi.class at line 501 (GalleryPermissionHelper_simple::fetchAccessListIds)
* in modules/core/classes/helpers/GalleryUserHelper_simple.class at line 76 (GalleryCoreApi::fetchAccessListIds)
* in modules/core/classes/GalleryCoreApi.class at line 566 (GalleryUserHelper_simple::hasItemPermission)
* in modules/core/classes/GalleryView.class at line 618 (GalleryCoreApi::hasItemPermission)
* in modules/core/classes/GalleryView.class at line 252 (GalleryView::setCacheControl)
* in main.php at line 465 (GalleryView::doLoadTemplate)
* in main.php at line 104
* in main.php at line 88
Debug Output
file_exists(/home/customer/www/fotogalleri/fotoalbum9834982398298928/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
Unimplemented: GalleryUrlGenerator
getParameter language.useBrowserPref for core plugin
file_exists(/home/customer/www/fotogalleri/fotoalbum9834982398298928/cache/module/core/0/0/0.inc)
getParameter default.language for core plugin
controller , view
Loading plugin core
Class not defined, trying to include it.
file_exists(/home/customer/public_html/fotogalleri/modules/core/module.inc)
core plugin successfully instantiated
file_exists(/home/customer/www/fotogalleri/fotoalbum9834982398298928/versions.dat)
file(/home/customer/www/fotogalleri/fotoalbum9834982398298928/versions.dat, )
getParameter id.anonymousUser for core plugin
[1246701013] can't guarantee 5 -- extending!
file_exists(/home/customer/www/fotogalleri/fotoalbum9834982398298928/cache/entity/0/0/5.inc)
Loading plugin core
core plugin successfully instantiated
Check the version of the core plugin
file_exists(/home/customer/www/fotogalleri/fotoalbum9834982398298928/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
The version of the core plugin is ok
file_exists(/home/customer/public_html/fotogalleri/modules/core/ShowItem.inc)
getParameter acceleration for core plugin
getParameter id.anonymousUser for core plugin
getParameter smarty.compile_check for core plugin
getParameter id.anonymousUser for core plugin
getParameter id.adminGroup for core plugin
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
customer_db)
localhost: Missing extension for native
getParameter id.anonymousUser for core plugin
getParameter id.rootAlbum for core plugin
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
customer_db)
localhost: Missing extension for native
getParameter id.adminGroup for core plugin
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
customer_db)
localhost: Missing extension for native
getParameter default.theme for core plugin
Loading plugin matrix
Class not defined, trying to include it.
file_exists(/home/customer/public_html/fotogalleri/themes/matrix/theme.inc)
matrix plugin successfully instantiated
Check the version of the matrix plugin
file_exists(/home/customer/www/fotogalleri/fotoalbum9834982398298928/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
The version of the matrix plugin is ok
Loading plugin core
core plugin successfully instantiated
Check the version of the core plugin
The version of the core plugin is ok
getParameter id.adminGroup for core plugin
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
customer_db)
localhost: Missing extension for native
realpath(/home/customer/public_html/fotogalleri/modules/core/classes/../../../)
realpath(/home/customer/public_html/fotogalleri/)
getParameter id.rootAlbum for core plugin
file_exists(/home/customer/www/fotogalleri/fotoalbum9834982398298928/cache/entity/0/0/7.inc)
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
customer_db)
localhost: Missing extension for native
getParameter id.adminGroup for core plugin
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
customer_db)
localhost: Missing extension for native
realpath(/home/customer/public_html/fotogalleri/modules/core/classes/../../../)
realpath(/home/customer/public_html/fotogalleri/)
---
Any idea on how to fix this ?
Posts: 9025
Check your username, password, database name, database server information. Also check this:
FAQ: I get ERROR_STORAGE_FAILURE when adding new photos or creating albums, what should I do?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 16141
See if this helps: http://gallery.menalto.com/node/83844#comment-294042
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3
Hi,
Thanks.
I´ve asked my server techs to fix this
I don´t think the login, MySQL etc is wrong, since it works with another installation of Menalto.
Hmm
What imagepacks is needed to make the gallery work? I presume I don´t need all of these:
Dcraw 1.0.12 1.0.12 Graphics toolkit for processing images in raw format
Ffmpeg 1.0.13 1.0.13 A toolkit for processing movies configure | uninstall
Gd 1.1.5 1.1.5 Gd Graphics Toolkit configure | uninstall
ImageMagick 1.1.5 1.1.5 ImageMagick / GraphicsMagick Graphics Toolkit configure | uninstall
Jpegtran 1.0.0 1.0.0 Graphics toolkit for lossless JPEG transformations configure | uninstall
NetPBM 1.1.4 1.1.4 NetPBM Graphics Toolkit configure | uninstall
Brand new server, excellent if you want to help us get this up.
Posts: 16141
You don't ned any but if you want thumbnails then you will need either GD, IM or NetPBM. GD being the last choice as it is a resource hog and IM and netPBM or better faster.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team