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/GalleryPluginHelper_simple.class at line 317 (Gallery::search)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 222 (GalleryPluginHelper_simple::_fetchAllParameters)
* in modules/core/classes/GalleryCoreApi.class at line 302 (GalleryPluginHelper_simple::getParameter)
* in modules/core/classes/GallerySession.class at line 854 (GalleryCoreApi::getPluginParameter)
* in modules/core/classes/GallerySession.class at line 231 (GallerySession::_loadSessionData)
* in modules/core/classes/Gallery.class at line 287 (GallerySession::init)
* in init.inc at line 124 (Gallery::initSession)
* in main.php at line 81
Debug Output
file_exists(/home/oldgrod/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
oldgrod_gallerydb)
localhost: Missing extension for native
getParameter session.lifetime for core plugin
file_exists(/home/oldgrod/g2data/cache/module/core/0/0/0.inc)
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
oldgrod_gallerydb)
localhost: Missing extension for native
file_exists(/home/oldgrod/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
oldgrod_gallerydb)
localhost: Missing extension for native
getParameter id.adminGroup for core plugin
file_exists(/home/oldgrod/g2data/cache/module/core/0/0/0.inc)
mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
oldgrod_gallerydb)
localhost: Missing extension for native
realpath(/home/oldgrod/public_html/modules/core/classes/../../../)
realpath(/home/oldgrod/public_html/)
Posts: 22
I have read FAQ regarding this question
http://codex.gallery2.org/Gallery2:FAQ#I_get_ERROR_STORAGE_FAILURE_when_adding_new_photos_or_creating_albums.2C_what_should_I_do.3F
And checked table g2_SequenceId have ID the same like value from SELECT max( g_id ) FROM g2_Entity, so not needed to change it.
Problem looks with
"
is mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
oldgrod_gallerydb)
localhost: Missing extension for native
"
but what is this error?
----------------------------------------------------------------------------------------------
Grodno, Belarus
Old Grodno photos http://www.oldgrodno.com/ Старые фотографии Гродно. Открытки Гродно.
Posts: 22
PS: i not chenged anythong in code, DB... only upgrade apache with php ...
I checked config.php - all is ok with DB data...
may be some settings after upgrade set off somehow?
But on the same server, all other PHP+MySQL sites works well, without problems.
Problem only with gallery...
----------------------------------------------------------------------------------------------
Grodno, Belarus
Old Grodno photos http://www.oldgrodno.com/ Старые фотографии Гродно. Открытки Гродно.
Posts: 22
Problem decided.
Re-compile apache+php with option --mysqli.
;-)
----------------------------------------------------------------------------------------------
Grodno, Belarus
Old Grodno photos http://www.oldgrodno.com/ Старые фотографии Гродно. Открытки Гродно.