Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Общие вопросы по использованию фреймворка. Если не знаете как что-то сделать и это про Yii, вам сюда.
Ответить
Игорь Алматы
Сообщения: 10
Зарегистрирован: 2017.05.15, 11:32

Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение Игорь Алматы »

Не работает сайт после обновления хостингом PHP, до версии 5.4 и выше.
Аватара пользователя
yiijeka
Сообщения: 3103
Зарегистрирован: 2012.01.28, 09:14
Откуда: Беларусь
Контактная информация:

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение yiijeka »

Обновитесь до 1.1.18
Совместим со всеми известными версиями >PHP 5.1.0

Чтобы точно понять, в чём у вас проблема мало одного "неработает сайт", надо лог ошибок.
Игорь Алматы
Сообщения: 10
Зарегистрирован: 2017.05.15, 11:32

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение Игорь Алматы »

Обновляться нужно до версии совместимой с пхп 5.4 и выше.
"Все известные версии выше 5.1.0" включают в себя нужную (например 5.4 или 5.6)?
И из ответа не совсем понятно, кто совместим, 1.1.9 или 1.1.18?
Аватара пользователя
SiZE
Сообщения: 2813
Зарегистрирован: 2011.09.21, 12:39
Откуда: Perm
Контактная информация:

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение SiZE »

Игорь Алматы писал(а): 2017.05.15, 12:02 Обновляться нужно до версии совместимой с пхп 5.4 и выше.
"Все известные версии выше 5.1.0" включают в себя нужную (например 5.4 или 5.6)?
И из ответа не совсем понятно, кто совместим, 1.1.9 или 1.1.18?
1.1.18 последняя, до нее и обновляйтесь, совместима с 5.4, 5.5, 5.6, 7.1
Игорь Алматы
Сообщения: 10
Зарегистрирован: 2017.05.15, 11:32

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение Игорь Алматы »

Спасибо. Подскажите теперь как это сделать?
Аватара пользователя
yiijeka
Сообщения: 3103
Зарегистрирован: 2012.01.28, 09:14
Откуда: Беларусь
Контактная информация:

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение yiijeka »

тут проблема скорее всего не в обновлении, а что то хостинг не доустановли, не донастроил...
Аватара пользователя
yiijeka
Сообщения: 3103
Зарегистрирован: 2012.01.28, 09:14
Откуда: Беларусь
Контактная информация:

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение yiijeka »

логи покажите с ошибками?

runtime/logs/app.log
или logs/apache..... что у вас там
Аватара пользователя
SiZE
Сообщения: 2813
Зарегистрирован: 2011.09.21, 12:39
Откуда: Perm
Контактная информация:

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение SiZE »

Игорь Алматы писал(а): 2017.05.15, 12:08 Спасибо. Подскажите теперь как это сделать?
А что именно не понятно из документации?

Ну и проверить совместимость можете через скрипт https://github.com/yiisoft/yii/tree/master/requirements
Игорь Алматы
Сообщения: 10
Зарегистрирован: 2017.05.15, 11:32

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение Игорь Алматы »

yiijeka писал(а): 2017.05.15, 12:12 логи покажите с ошибками?

runtime/logs/app.log
или logs/apache..... что у вас там
Вот часть файла application.log
Но почему то они все только за апрель месяц.

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

Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('kontakty')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/kontakty/
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon-120x120-precomposed.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon-120x120-precomposed.png
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon-120x120.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon-120x120.png
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon-precomposed.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon-precomposed.png
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon.png
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "favicon.ico".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('favicon.ico')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/favicon.ico
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon-120x120-precomposed.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon-120x120-precomposed.png
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon-120x120.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon-120x120.png
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon-precomposed.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon-precomposed.png
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon.png
2017/04/12 17:05:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "favicon.ico".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('favicon.ico')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/favicon.ico
2017/04/12 17:07:04 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "kontakty".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('kontakty')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/kontakty/
2017/04/12 17:07:04 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon-120x120-precomposed.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon-120x120-precomposed.png
2017/04/12 17:07:04 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon-120x120.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon-120x120.png
2017/04/12 17:07:04 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon-precomposed.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Stack trace:
#0 /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php(120): CWebApplication->runController('apple-touch-ico...')
#1 /home/mysite/public_html/protected/framework1.2/base/CApplication.php(135): CWebApplication->processRequest()
#2 /home/mysite/public_html/index.php(14): CApplication->run()
#3 {main} REQUEST_URI=/apple-touch-icon-precomposed.png
2017/04/12 17:07:04 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Невозможно обработать запрос "apple-touch-icon.png".' in /home/mysite/public_html/protected/framework1.2/web/CWebApplication.php:324
Игорь Алматы
Сообщения: 10
Зарегистрирован: 2017.05.15, 11:32

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение Игорь Алматы »

SiZE писал(а): 2017.05.15, 12:13
Игорь Алматы писал(а): 2017.05.15, 12:08 Спасибо. Подскажите теперь как это сделать?
А что именно не понятно из документации?

Ну и проверить совместимость можете через скрипт https://github.com/yiisoft/yii/tree/master/requirements
Спасибо за скрипт и за наводку на справочник. Но в справочнике пока, что ни чего путевого не нашел... может подскажите?
Аватара пользователя
yiijeka
Сообщения: 3103
Зарегистрирован: 2012.01.28, 09:14
Откуда: Беларусь
Контактная информация:

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение yiijeka »

В этом логи ничего интересного нет, надо смотреть лог вебсервера. Если у вас хостинг, то в панели администрирования должен быть apache лог
Игорь Алматы
Сообщения: 10
Зарегистрирован: 2017.05.15, 11:32

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение Игорь Алматы »

yiijeka писал(а): 2017.05.15, 13:44 В этом логи ничего интересного нет, надо смотреть лог вебсервера. Если у вас хостинг, то в панели администрирования должен быть apache лог

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

[15-May-2017 15:53:20 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 15:53:20 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 15:53:24 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 15:53:24 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 15:53:24 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 15:53:24 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 15:56:29 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 15:56:29 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 15:56:29 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 15:56:29 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:07:15 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:07:15 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:07:15 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:07:15 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:10:08 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:10:08 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:10:08 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:10:08 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:11:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:11:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:11:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:11:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:13:49 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:13:49 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:13:49 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:13:49 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:22:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:22:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:22:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:22:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:22:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:22:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:22:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:22:57 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:22:58 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:22:58 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:22:58 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:22:58 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:29:01 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:29:01 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:29:01 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:29:01 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:29:59 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:29:59 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:29:59 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:29:59 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:33:19 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:33:19 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:33:19 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:33:19 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:35:22 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:35:22 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:35:22 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:35:22 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:44:09 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:44:09 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:44:09 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:44:09 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:49:18 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:49:18 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:49:18 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:49:18 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 16:59:43 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 16:59:43 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 16:59:43 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 16:59:43 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 17:01:20 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 17:01:20 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 17:01:20 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 17:01:20 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 17:01:24 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 17:01:24 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 17:01:24 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 17:01:24 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
[15-May-2017 17:04:05 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugDB::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 251
[15-May-2017 17:04:05 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTrace::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 272
[15-May-2017 17:04:05 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugTime::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 284
[15-May-2017 17:04:05 Asia/Almaty] PHP Strict Standards:  Declaration of yiiDebugMem::getInfo() should be compatible with yiiDebugClass::getInfo($data, $config = NULL) in /home/mysite/public_html/protected/extensions/yiidebugtb/XWebDebugRouter.php on line 297
Аватара пользователя
yiijeka
Сообщения: 3103
Зарегистрирован: 2012.01.28, 09:14
Откуда: Беларусь
Контактная информация:

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение yiijeka »

Ваш сайт использует вот этот модуль для отладки - https://github.com/cr0t/yiidebugtb
Этот модуль корявый, вы должны его отключить. Он больше для программистов...
Либо тупо заглушить ошибку прописав в первую строчку index.php следующий код:

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

<?php
error_reporting(E_ALL ^ E_STRICT);
// дальше то что в index.php
Игорь Алматы
Сообщения: 10
Зарегистрирован: 2017.05.15, 11:32

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение Игорь Алматы »

yiijeka писал(а): 2017.05.16, 07:43 Ваш сайт использует вот этот модуль для отладки - https://github.com/cr0t/yiidebugtb
Этот модуль корявый, вы должны его отключить. Он больше для программистов...
Либо тупо заглушить ошибку прописав в первую строчку index.php следующий код:

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

<?php
error_reporting(E_ALL ^ E_STRICT);
// дальше то что в index.php
А как его отключить?

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

<?php
error_reporting(E_ALL ^ E_STRICT);
// дальше то что в index.php
Этот вариант принес следующий результат:

"Внутренняя ошибка сервера
Trying to get property of non-object
В ходе обработки вашего запроса произошла внутренняя ошибка сервера. Вы можете сообщить об ошибке по адресу the webmaster.
Спасибо."
Аватара пользователя
SiZE
Сообщения: 2813
Зарегистрирован: 2011.09.21, 12:39
Откуда: Perm
Контактная информация:

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение SiZE »

Игорь Алматы писал(а): 2017.05.18, 08:49 Этот вариант принес следующий результат:

Внутренняя ошибка сервера
Вам стоит нанять программиста
Игорь Алматы
Сообщения: 10
Зарегистрирован: 2017.05.15, 11:32

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение Игорь Алматы »

SiZE писал(а): 2017.05.18, 10:36 Вам стоит нанять программиста
Это слишком сложно? Или стоит попробовать самостоятельно. Уровень - фронтэнд, знания пхп - поверхностные.
Аватара пользователя
SiZE
Сообщения: 2813
Зарегистрирован: 2011.09.21, 12:39
Откуда: Perm
Контактная информация:

Re: Совместим ли фреймворк 1.1.9 с версией PHP 5.4?

Сообщение SiZE »

Игорь Алматы писал(а): 2017.05.18, 11:30 Это слишком сложно? Или стоит попробовать самостоятельно. Уровень - фронтэнд, знания пхп - поверхностные.
Например, для меня нет и в целом думаю нет. Но сколько вы потратите на это все времени? Есть хороший ресурс http://phpfaq.ru/debug
Ответить