Вот лог lighttpd:
Code:
2013-11-15 16:38:57: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Warning: syntax error, unexpected BOOL_TRUE in lang.ini on line 17
in /opt/share/www/photogallery/include/Config.class.php on line 146
2013-11-15 16:38:57: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /opt/share/www/photogallery/include/Config.class.php on line 329
2013-11-15 16:38:57: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /opt/share/www/photogallery/include/Config.class.php on line 330
2013-11-15 16:38:58: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Fatal error: Call to undefined function securepath() in /opt/share/www/photogallery/dir.php on line 88
2013-11-15 16:39:04: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Warning: opendir(undefined): failed to open dir: No such file or directory in /opt/share/www/photogallery/dirxml.php on line 16
2013-11-15 16:39:08: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Warning: opendir(undefined): failed to open dir: No such file or directory in /opt/share/www/photogallery/dirxml.php on line 16
2013-11-15 16:39:14: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Warning: opendir(undefined): failed to open dir: No such file or directory in /opt/share/www/photogallery/dirxml.php on line 16
В конфиге прописывал директории content, content/Gallery, результат тот-же.
В дополнение к предыдущему сообщению.
Поставил более старую версию photogallery из этой темы (по ссылке пару страниц назад). Пути к альбомам теперь отображаются, но фото не показывает. Лог lighttpd теперь такой:
Code:
2013-11-16 18:16:10: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Warning: syntax error, unexpected BOOL_TRUE in lang.ini on line 17
in /opt/share/www/photogallery/include/Config.class.php on line 146
2013-11-16 18:16:10: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /opt/share/www/photogallery/include/Config.class.php on line 329
2013-11-16 18:16:10: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /opt/share/www/photogallery/include/Config.class.php on line 330
2013-11-16 18:16:11: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Notice: Undefined variable: config in /opt/share/www/photogallery/getconfig.php on line 15
2013-11-16 18:16:15: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/share/www/photogallery/dirxml.php on line 45
2013-11-16 18:16:15: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error: Call to undefined function jpgchk() in /opt/share/www/photogallery/dirxml.php on line 48
Замечу, что на старой прошивке с Optware всё работало.
lang.ini и Config.class.php там такие-же, криминала там на первый взгляд нет, почему же тогда fastcgi сыпет предупреждения?
Может быть в Entware fastcgi какой-то урезанный, т.к. не понимает функций jpgchk() и securepath()? из файлов photogallery?
И ещё, поясните пожалуйста, в Entware есть:
lighttpd-mod-fastcgi - 1.4.32-1
php5-fastcgi - 5.4.19-1
fcgi - 2.4.0-1
fcgixx - 2.4.0-1
У меня стоят два первых вышеуказанных. Может надо что-то еще до-/устанавливать?
Похоже моя проблема в ImageVue r16 из-за несовместимости PHP 5.2.* (или 5.3.* ?) с 5.4.*.
Уважаемый VA_DOS, а не смогли бы вы подправить ImageVue r16 под последний PHP 5.4.* из Entrware?