Post by naeemalrahman » Thu Jan 25, 2018 2:17 am

when i upgraded my website from php 5.6 to php 7.0 i started to get this error

Warning: html_entity_decode(): charset `UTF-8;' not supported, assuming utf-8 in /home/letouchadmin/public_html/system/vendor/BurnEngine/model/defaultModel.php on line 161Warning: html_entity_decode(): charset `UTF-8;' not supported, assuming utf-8 in /home/letouchadmin/public_html/system/vendor/BurnEngine/model/defaultModel.php on line 161

it was in the benner text, i revert my website from php 7.0 to 5.6 but i still had the error, finaly i tried php 5.5 and the error was gone

Current themePavilion v2.0.1 /installed on 23.04.2017 16:40/
BurnEngine version1.0.6 /installed on 04.05.2016 16:16/
OpenCart version2.2.0.0
vQmod version2.5.1
MySQL server version5.6.38
PHP version5.5.38
HTTP ServerApache

i am using godaddy vps 4GB. and i would love to move to php 7.0 since 5.5 is extremly slow and old
please help

Newbie

Posts

Joined
Thu Jan 25, 2018 2:08 am

Post by paulfeakins » Thu Jan 25, 2018 6:25 pm

It's a warning that I think can be safely ignored.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by thekrotek » Fri Jan 26, 2018 5:46 am

Open the file mentioned in error message and find in line 161 html_entity_decode() function. Make sure it's properly called.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by vendde » Wed Jan 31, 2018 9:32 am

The same thing happened to me, the error is not seen with php5.5

Did you solve the error?

Newbie

Posts

Joined
Thu May 11, 2017 9:00 pm

Post by naeemalrahman » Wed Jan 31, 2018 2:14 pm

I just moved back to 5.5 until I find a solution, different people told me a different answer but nothing explicit my website is live, and I don't want to mess, I even don't mind paying someone for offering me the solution.

Newbie

Posts

Joined
Thu Jan 25, 2018 2:08 am

Post by MrPhil » Wed Jan 31, 2018 10:55 pm

Interesting. "UTF-8" as the third parameter to the call (not the second, as some examples in the PHP manual give) is supposed to be supported. If it accepts "utf-8" instead, I'd say that's a PHP bug (which may have been fixed in recent versions), and easily worked around. It may also be worth checking if the input string is using any invalid HTML entity names, although the error message doesn't quite sound like that's the case.

User avatar
Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm

Post by tiku9151 » Sat Nov 03, 2018 10:04 pm

Fixed the Warning issue PHP 5.5

Warning: html_entity_decode(): charset `UTF-8;' not supported

Thanks Thanks

Newbie

Posts

Joined
Wed Jan 25, 2017 8:40 pm

Post by IP_CAM » Sat Nov 03, 2018 11:55 pm

Well, it's always better to fix a problem, than just ignoring it, and then need
a Custom Mod, to shrink the error log file at a regular pace, just to keep the
software from one day run out of Server Memory ... :laugh:
At least from a swiss point of view. But we always have been less tolerant than
others, when it comes to 'minor' details ... ::)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by ADD Creative » Sun Nov 04, 2018 1:39 am

The root cause of the problem is actually the semicolon on the end of each line in the php.ini file.
https://github.com/opencart/opencart/pull/6889

Remove the semicolon frome the end of the line in both php.ini files.

Code: Select all

default_charset = UTF-8
You may also need to edit the setting in the Editor Mode tab of the cPanel MultiPHP INI Editor if your hosting uses it. Also check .htaccess in case you php.ini settings have been imported there.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 16 guests