ERROR_STORAGE_FAILURE with mysqli error: [0: Missing extension for native]

evgenydeep

Joined: 2007-05-08
Posts: 22
Posted: Wed, 2008-11-26 17:56

After upgrading Apache I began receive following error from gallery2.
Does anybody know, what mean following error:

Quote:
is mysqli error: [0: Missing extension for native] in CONNECT(localhost, ?, ?,
oldgrod_gallerydb)
localhost: Missing extension for native

Regards.

Below is full error page:

Quote:
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/)


Gallery version (not just "2"):
PHP version (e.g. 5.1.6):
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32):
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux):
Browser (e.g. Firefox 2.0):

----------------------------------------------------------------------------------------------
Grodno, Belarus
Old Grodno photos http://www.oldgrodno.com/ Старые фотографии Гродно. Открытки Гродно.

Login or register to post comments
evgenydeep

Joined: 2007-05-08
Posts: 22
Posted: Wed, 2008-11-26 18:06

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/ Старые фотографии Гродно. Открытки Гродно.

Login or register to post comments
evgenydeep

Joined: 2007-05-08
Posts: 22
Posted: Wed, 2008-11-26 18:10

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/ Старые фотографии Гродно. Открытки Гродно.

Login or register to post comments
evgenydeep

Joined: 2007-05-08
Posts: 22
Posted: Wed, 2008-11-26 22:30

Problem decided.
Re-compile apache+php with option --mysqli.
;-)

----------------------------------------------------------------------------------------------
Grodno, Belarus
Old Grodno photos http://www.oldgrodno.com/ Старые фотографии Гродно. Открытки Гродно.

Login or register to post comments