an error occurred while processing the directive

Все о скриптах

Модераторы: Art.i, vasya

an error occurred while processing the directive

Сообщение Xelauz » Пн янв 06, 2014 11:29 am

Прошу помощи, установил статистику (Psychostats 3.1) на VDS, с основными ошибками справился, а вот с этой ([an error occurred while processing the directive]) ни как не получается. Гуглил, понял, что проблема с ssi. При помощи .htaccess пробовал разрешить использование ssi, но не помогло. =(

Подскажите пожалуйста, как решить эту проблему?
Вложения
ps.jpg
ps.jpg (30.54 KiB) Просмотров: 5300
Xelauz
 
Сообщений: 2
Зарегистрирован: Пн янв 06, 2014 11:24 am

Re: an error occurred while processing the directive

Сообщение ls » Пн янв 06, 2014 8:23 pm

А что пишется в лог ошибок сайта, надо посмотреть его, там будет видно каких функций в PHP не хватает
* FirstVDS в twitter в facebook и в вконтакте *
ls
Support team
 
Сообщений: 6405
Зарегистрирован: Чт мар 01, 2007 10:36 am
Откуда: FirstVDS

Re: an error occurred while processing the directive

Сообщение Xelauz » Вт янв 07, 2014 12:25 pm

Просмотрел эти логи, но ни чего связанного с ошибкой, которая меня беспокоит не нашел. =( Хотя, может это и я, не то скидываю... Люди говорят, что стоит запрет на использование ssi и .shtml.

Я пытался в .htaссess прописать строчку

Код: выделить все
AddHandler server-parsed .shtml

Но ожидаемого эффекта не увидел, т.е ошибка сохранилась =(

Код: выделить все

[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/common.php on line 51
[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_PS.php on line 104
[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 214
[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 334
[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/CMS/functions.php on line 65
[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/admin/data/www/stats.spbuz.ru/includes/class_PS.php:104) in /var/www/admin/data/www/stats.spbuz.ru/includes/class_session.php on line 236
[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Warning:  realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/admin/data:.) in /var/www/admin/data/www/stats.spbuz.ru/includes/functions.php on line 1057
[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Warning:  unlink(): open_basedir restriction in effect. File(/tmp/Zdywx6) is not within the allowed path(s): (/var/www/admin/data:.) in /var/www/admin/data/www/stats.spbuz.ru/includes/functions.php on line 1058
[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Warning:  <b>PsychoTheme:</b> Attempt to set $theme to an invalid name '<b>default</b>'. Theme not installed or enabled, please check your theme configuration. in /var/www/admin/data/www/stats.spbuz.ru/includes/class_theme.php on line 299
[Tue Jan 07 04:14:02 2014] [error] [client 208.43.255.28] PHP Fatal error:  Call to a member function gettext() on a non-object in /var/www/admin/data/www/stats.spbuz.ru/includes/class_theme.php on line 406
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/common.php on line 51, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_PS.php on line 104, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 214, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 334, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/CMS/functions.php on line 65, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/admin/data/www/stats.spbuz.ru/includes/class_PS.php:104) in /var/www/admin/data/www/stats.spbuz.ru/includes/class_session.php on line 236, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Warning:  realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/admin/data:.) in /var/www/admin/data/www/stats.spbuz.ru/includes/functions.php on line 1057, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Warning:  unlink(): open_basedir restriction in effect. File(/tmp/A4hIAy) is not within the allowed path(s): (/var/www/admin/data:.) in /var/www/admin/data/www/stats.spbuz.ru/includes/functions.php on line 1058, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Warning:  <b>PsychoTheme:</b> Attempt to set $theme to an invalid name '<b>default</b>'. Theme not installed or enabled, please check your theme configuration. in /var/www/admin/data/www/stats.spbuz.ru/includes/class_theme.php on line 299, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] PHP Fatal error:  Call to a member function gettext() on a non-object in /var/www/admin/data/www/stats.spbuz.ru/includes/class_theme.php on line 406, referer: http://vk.com/piterrulit1
[Tue Jan 07 08:09:41 2014] [error] [client 95.55.176.118] File does not exist: /var/www/admin/data/www/stats.spbuz.ru/favicon.ico
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/common.php on line 51, referer: http://vk.com/piterrulit1
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_PS.php on line 104, referer: http://vk.com/piterrulit1
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 214, referer: http://vk.com/piterrulit1
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 334, referer: http://vk.com/piterrulit1
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/CMS/functions.php on line 65, referer: http://vk.com/piterrulit1
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/admin/data/www/stats.spbuz.ru/includes/class_PS.php:104) in /var/www/admin/data/www/stats.spbuz.ru/includes/class_session.php on line 236, referer: http://vk.com/piterrulit1
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Warning:  realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/admin/data:.) in /var/www/admin/data/www/stats.spbuz.ru/includes/functions.php on line 1057, referer: http://vk.com/piterrulit1
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Warning:  unlink(): open_basedir restriction in effect. File(/tmp/vR4jER) is not within the allowed path(s): (/var/www/admin/data:.) in /var/www/admin/data/www/stats.spbuz.ru/includes/functions.php on line 1058, referer: http://vk.com/piterrulit1
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Warning:  <b>PsychoTheme:</b> Attempt to set $theme to an invalid name '<b>default</b>'. Theme not installed or enabled, please check your theme configuration. in /var/www/admin/data/www/stats.spbuz.ru/includes/class_theme.php on line 299, referer: http://vk.com/piterrulit1
[Tue Jan 07 10:15:38 2014] [error] [client 95.55.176.118] PHP Fatal error:  Call to a member function gettext() on a non-object in /var/www/admin/data/www/stats.spbuz.ru/includes/class_theme.php on line 406, referer: http://vk.com/piterrulit1
[Tue Jan 07 11:58:39 2014] [error] [client 92.61.69.213] PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/common.php on line 51, referer: http://www.spbuz.ru/
[Tue Jan 07 11:58:39 2014] [error] [client 92.61.69.213] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_PS.php on line 104, referer: http://www.spbuz.ru/
[Tue Jan 07 11:58:39 2014] [error] [client 92.61.69.213] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 214, referer: http://www.spbuz.ru/
[Tue Jan 07 11:58:39 2014] [error] [client 92.61.69.213] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 334, referer: http://www.spbuz.ru/
[Tue Jan 07 11:58:39 2014] [error] [client 92.61.69.213] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/CMS/functions.php on line 65, referer: http://www.spbuz.ru/
[Tue Jan 07 11:58:39 2014] [error] [client 92.61.69.213] PHP Deprecated:  Function ereg() is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_session.php on line 223, referer: http://www.spbuz.ru/
[Tue Jan 07 11:58:39 2014] [error] [client 92.61.69.213] File does not exist: /var/www/admin/data/www/stats.spbuz.ru/favicon.ico
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /var/www/admin/data/www/stats.spbuz.ru/install/common.php on line 33
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_PS.php on line 104
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 214
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/class_CMS.php on line 334
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/admin/data/www/stats.spbuz.ru/includes/CMS/functions.php on line 65
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/admin/data:.) in /var/www/admin/data/www/stats.spbuz.ru/includes/functions.php on line 1057
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  unlink(): open_basedir restriction in effect. File(/tmp/mwDo7F) is not within the allowed path(s): (/var/www/admin/data:.) in /var/www/admin/data/www/stats.spbuz.ru/includes/functions.php on line 1058
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  include_once(/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/language/en_US.php): failed to open stream: No such file or directory in /var/www/admin/data/www/stats.spbuz.ru/includes/class_theme.php on line 340
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  include_once(): Failed opening '/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/language/en_US.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/admin/data/www/stats.spbuz.ru/includes/class_theme.php on line 340
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/admin/data/www/stats.spbuz.ru/includes/class_PS.php:104) in /var/www/admin/data/www/stats.spbuz.ru/includes/class_session.php on line 236
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  strftime(): 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 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /var/www/admin/data/www/stats.spbuz.ru/includes/smarty/Smarty_Compiler.class.php on line 400
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  strftime(): 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 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /var/www/admin/data/www/stats.spbuz.ru/includes/smarty/Smarty_Compiler.class.php on line 400
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  strftime(): 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 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /var/www/admin/data/www/stats.spbuz.ru/includes/smarty/Smarty_Compiler.class.php on line 400
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  strftime(): 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 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /var/www/admin/data/www/stats.spbuz.ru/includes/smarty/Smarty_Compiler.class.php on line 400
[Tue Jan 07 11:58:55 2014] [error] [client 92.61.69.213] PHP Warning:  strftime(): 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 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /var/www/admin/data/www/stats.spbuz.ru/includes/smarty/Smarty_Compiler.class.php on line 400
2014/01/07 11:58:56 [error] 23525#0: *3332 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/img/content-bg.gif" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/img/content-bg.gif HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/"
2014/01/07 11:58:56 [error] 23525#0: *3331 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/img/exp_minus.gif" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/img/exp_minus.gif HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/"
2014/01/07 12:46:17 [error] 23525#0: *3367 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/img/content-bg.gif" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/img/content-bg.gif HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/"
2014/01/07 12:46:17 [error] 23525#0: *3373 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/img/exp_minus.gif" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/img/exp_minus.gif HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/"
2014/01/07 12:46:20 [error] 23525#0: *3373 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/js/go.js" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/js/go.js HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/go.php"
2014/01/07 12:46:25 [error] 23525#0: *3367 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/js/go.js" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/js/go.js HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/go.php"
2014/01/07 12:46:40 [error] 23525#0: *3367 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/js/go.js" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/js/go.js HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/go.php"
2014/01/07 12:46:50 [error] 23525#0: *3367 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/js/go.js" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/js/go.js HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/go.php"
2014/01/07 12:47:01 [error] 23525#0: *3373 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/js/go.js" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/js/go.js HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/go.php"
2014/01/07 12:54:02 [error] 23525#0: *3385 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/js/go.js" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/js/go.js HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/go.php"
2014/01/07 12:54:09 [error] 23525#0: *3385 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/js/go.js" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/js/go.js HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/go.php"
2014/01/07 12:54:09 [error] 23525#0: *3391 openat() "/var/www/admin/data/www/stats.spbuz.ru/install/themes/default/js/go-done.js" failed (2: No such file or directory), client: 92.61.69.213, server: stats.spbuz.ru, request: "GET /install/themes/default/js/go-done.js HTTP/1.1", host: "www.stats.spbuz.ru", referrer: "http://www.stats.spbuz.ru/install/go.php"

Xelauz
 
Сообщений: 2
Зарегистрирован: Пн янв 06, 2014 11:24 am

Re: an error occurred while processing the directive

Сообщение lamnya » Чт янв 09, 2014 5:02 am

В установленной версии PHP, функции, которые вы хотите использовать уже на работают. Вам нужно либо скрипты обновить (предпочтительнее), либо PHP откатить до более старой версии.
lamnya
 
Сообщений: 185
Зарегистрирован: Сб ноя 05, 2011 5:18 am


Вернуться в CGI, Perl, PHP

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1

cron