Hi, I have a Zyxel NSA310 with PHP-MySQL-phpMyAdmin and Gallery packages installed.
Gallery version: 3.0.4 (Ricochet).
Platform information:
Host name: nsa310
Operating system: Linux 2.6.31.8
Apache: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8o PHP/5.2.8 mod_wsgi/2.4 Python/2.6.2
PHP: 5.2.8
MySQL: 5.1.30
Server load: 0.74 0.53 0.66
Graphics toolkit: imagemagick
I try to run .../gallery/modules/folder_sync/cron.php:
root@nsa310:~# /usr/local/zy-pkgs/php/bin/php -c /usr/local/zy-pkgs/php/php.ini /usr/local/zy-pkgs/gui/gallery/modules/folder_sync/cron.php
/usr/local/zy-pkgs/php/bin/php: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
I try with php installed on ffp:
root@nsa310:~# /ffp/bin/php -c /usr/local/zy-pkgs/gui/gallery/php.ini /usr/local/zy-pkgs/gui/gallery/modules/folder_sync/cron.php
Fatal error: Call to undefined function mysql_connect() in /usr/local/zy-pkgs/gui/gallery/system/libraries/Database_Mysql.php on line 40
Notice: Undefined offset: 1 in /usr/local/zy-pkgs/gui/gallery/system/libraries/I18n.php on line 60
Fatal error: Uncaught exception 'Kohana_PHP_Exception' with message 'Undefined offset: 1' in /usr/local/zy-pkgs/gui/gallery/system/libraries/I18n.php:60
Stack trace:
#0 /usr/local/zy-pkgs/gui/gallery/system/libraries/I18n.php(60): Kohana_PHP_Exception_Core::error_handler(8, 'Undefined offse...', '/usr/local/zy-p...', 60, Arr
ay)
#1 /usr/local/zy-pkgs/gui/gallery/system/libraries/I18n.php(93): I18n_Core::get_text('Call to undefin...')
#2 /usr/local/zy-pkgs/gui/gallery/system/core/Kohana_Exception.php(42): __('Call to undefin...', NULL)
#3 /usr/local/zy-pkgs/gui/gallery/system/libraries/Kohana_PHP_Exception.php(60): Kohana_Exception_Core->__construct('Call to undefin...')
#4 /usr/local/zy-pkgs/gui/gallery/system/libraries/Kohana_PHP_Exception.php(95): Kohana_PHP_Exception_Core->__construct(1, 'Call to undefin...', '/usr/local/zy-
p...', 40)
#5 [internal function]: Kohana_PHP_Exception_Core::shutdown_handler(NULL)
#6 /usr/local/zy-pkgs/gui/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#7 /usr/local/zy- in /usr/local/zy-pkgs/gui/gallery/system/libraries/I18n.php on line 60
Any solution ?