Page 1 of 1
Call to undefined function utf8_substr()
Posted: Thu Aug 18, 2016 10:12 pm
by hayridumanli
Hi,
My website started to give error immediately, it was working yesterday, the website is:
http://www.lokmanhekimkibris.com
And the error is;
Fatal error: Call to undefined function utf8_substr() in /home/lkmncom/public_html/catalog/model/tool/image.php on line 11
And I cannot login to admin, too. I write down the username and password, then it shows blank (white page). When I check the error.log, it writes the same error;
PHP Fatal error: Call to undefined function utf8_substr() in /home/lkmncom/public_html/admin/model/tool/image.php on line 11
Thank you in advance for your help.
Re: Call to undefined function utf8_substr()
Posted: Fri Aug 19, 2016 5:01 pm
by AlexDW
Check the existence of file system\helper\utf8.php
If not - copy him from your OC version distributive
Re: Call to undefined function utf8_substr()
Posted: Fri Aug 19, 2016 5:19 pm
by knowband.plugins
Kindly ensure that following file is present on your server.
/system/startup.php
If it is not there, download the same version of Opencart from official store and restore this file from there.
let us know if it doesn't help.
Re: Call to undefined function utf8_substr()
Posted: Fri Aug 19, 2016 8:32 pm
by hayridumanli
AlexDW wrote:Check the existence of file system\helper\utf8.php
If not - copy him from your OC version distributive
utf8.php was there, but copied and overwritten again. Then website gave blank page, here is the error.log;
[19-Aug-2016 12:30:54 UTC] PHP Warning: require_once(/home/lkmncom/public_html/system/engine/proxy.php): failed to open stream: No such file or directory in /home/lkmncom/public_html/vqmod/vqcache/vq2-system_startup.php on line 116
[19-Aug-2016 12:30:54 UTC] PHP Fatal error: require_once(): Failed opening required '/home/lkmncom/public_html/system/engine/proxy.php' (include_path='.;/path/to/php/pear') in /home/lkmncom/public_html/vqmod/vqcache/vq2-system_startup.php on line 116
[19-Aug-2016 12:30:56 UTC] PHP Warning: require_once(/home/lkmncom/public_html/system/engine/proxy.php): failed to open stream: No such file or directory in /home/lkmncom/public_html/vqmod/vqcache/vq2-system_startup.php on line 116
[19-Aug-2016 12:30:56 UTC] PHP Fatal error: require_once(): Failed opening required '/home/lkmncom/public_html/system/engine/proxy.php' (include_path='.;/path/to/php/pear') in /home/lkmncom/public_html/vqmod/vqcache/vq2-system_startup.php on line 116
Re: Call to undefined function utf8_substr()
Posted: Fri Aug 19, 2016 8:33 pm
by hayridumanli
knowband.plugins wrote:Kindly ensure that following file is present on your server.
/system/startup.php
If it is not there, download the same version of Opencart from official store and restore this file from there.
let us know if it doesn't help.
startup.php was there, but copied and overwritten again. Then website gave blank page, here is the error.log;
[19-Aug-2016 12:30:54 UTC] PHP Warning: require_once(/home/lkmncom/public_html/system/engine/proxy.php): failed to open stream: No such file or directory in /home/lkmncom/public_html/vqmod/vqcache/vq2-system_startup.php on line 116
[19-Aug-2016 12:30:54 UTC] PHP Fatal error: require_once(): Failed opening required '/home/lkmncom/public_html/system/engine/proxy.php' (include_path='.;/path/to/php/pear') in /home/lkmncom/public_html/vqmod/vqcache/vq2-system_startup.php on line 116
[19-Aug-2016 12:30:56 UTC] PHP Warning: require_once(/home/lkmncom/public_html/system/engine/proxy.php): failed to open stream: No such file or directory in /home/lkmncom/public_html/vqmod/vqcache/vq2-system_startup.php on line 116
[19-Aug-2016 12:30:56 UTC] PHP Fatal error: require_once(): Failed opening required '/home/lkmncom/public_html/system/engine/proxy.php' (include_path='.;/path/to/php/pear') in /home/lkmncom/public_html/vqmod/vqcache/vq2-system_startup.php on line 116
Re: Call to undefined function utf8_substr()
Posted: Fri Aug 19, 2016 8:37 pm
by hayridumanli
But vq2-system_startup.php and proxy.php was there, too. I overwrote both files, then general.php gave error, I overwrote, too. Now we came back to same error in homepage;
Fatal error: Call to undefined function utf8_substr() in /home/lkmncom/public_html/catalog/model/tool/image.php on line 11
Re: Call to undefined function utf8_substr()
Posted: Fri May 26, 2017 10:05 am
by damodaranudas
The following thread solved this issue in my case
https://stackoverflow.com/a/39671856/4656693