Jump to content
Sign in to follow this  
tonyonline

Упал сайт

Recommended Posts

Народ помогите упал сайт с ошибкой вроде ничего не трогал...

 

PHP Fatal error: Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24

Share this post


Link to post
Share on other sites

трогал :)

 

куда дел

\system\helper\utf8.php

function utf8_substr($string, $offset, $length = null) {

Share this post


Link to post
Share on other sites

вот ещё отчет об ошибке 

[03-Dec-2015 06:49:03 Europe/Moscow] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/x/x92157qk/vipstore/public_html/system/database/mysql.php on line 6
[03-Dec-2015 06:49:03 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 06:57:04 Europe/Moscow] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/x/x92157qk/vipstore/public_html/system/database/mysql.php on line 6
[03-Dec-2015 06:57:04 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 06:57:48 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 06:58:52 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 06:58:53 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 06:59:17 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:12:51 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:13:10 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:13:59 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:14:00 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:14:00 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:14:01 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:14:02 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:14:03 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:14:04 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:15:50 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:15:54 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:16:07 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:16:09 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:16:10 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:16:11 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:16:15 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:16:39 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/admin/model/localisation/currency.php on line 130
[03-Dec-2015 13:16:47 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/admin/model/localisation/currency.php on line 130
[03-Dec-2015 13:16:48 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/admin/model/localisation/currency.php on line 130
[03-Dec-2015 13:16:49 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/admin/model/localisation/currency.php on line 130
[03-Dec-2015 13:20:01 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/admin/model/localisation/currency.php on line 130
[03-Dec-2015 13:21:10 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:24:01 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:24:01 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:27:14 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:29:34 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:31:45 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:34:03 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 13:47:07 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 14:16:39 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 14:16:47 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 14:18:53 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 18:23:01 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 18:23:02 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 18:23:03 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 18:23:04 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 18:23:05 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 18:23:06 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 18:59:56 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 19:00:17 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
[03-Dec-2015 19:00:18 Europe/Moscow] PHP Fatal error:  Call to undefined function utf8_substr() in /home/x/x92157qk/vipstore/public_html/catalog/model/tool/image.php on line 24
Edited by afwollis
[spoiler][code][/code][/spoiler]

Share this post


Link to post
Share on other sites

трогал :)

 

куда дел

\system\helper\utf8.php

function utf8_substr($string, $offset, $length = null) {

\system\helper\utf8.php на месте 

Share this post


Link to post
Share on other sites

значит, этот хелпер не подгружается или подгружается, но слишком поздно

Share this post


Link to post
Share on other sites

вроде разобрался хорошо что чистый utf8.php сохранен был просто заменил его.... одного не пойму почему это произошло на сайт примерно месяц не заходил и пред тем как выйти всё работало помню а тут включаю и ошибка....

Share this post


Link to post
Share on other sites
В 04.12.2015 в 04:15, tonyonline сказал:

вроде разобрался хорошо что чистый utf8.php сохранен был просто заменил его.... одного не пойму почему это произошло на сайт примерно месяц не заходил и пред тем как выйти всё работало помню а тут включаю и ошибка....

Привет. От любой версии подойдёт utf? Проблема такая же.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.