Page 1 of 1
newly installed, has error
Posted: Wed Jan 07, 2009 9:40 pm
by jason_class
Hi All
I installed Opencart on a new site and has error at admin log in as follow.
Can anyone advise how to resolve this?
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/www/myfreehostingweb/store/library/environment/request.php on line 71
Is this a bug or it is something related to my installation setting?
Thanks
Jason
Re: newly installed, has error
Posted: Wed Jan 07, 2009 10:07 pm
by jason_class
Hi All
I try to reinstall again by going to the link myfreehostingweb/store/install/index.php
but it still showing Installation finished.
Is there anyway to reinstall on the existing installed site?
Thanks to advise. If there is way to resolve the error I mentioned down there, pls advise
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/www/myfreehostingweb/store/library/environment/request.php on line 71
Thanks
Jason
Re: newly installed, has error
Posted: Wed Jan 07, 2009 11:04 pm
by Qphoria
Technically OpenCart currently requires php 5.2+
The htmlspecialchars_decode was added in 5.1.0
It sounds as tho your host has php 5.0. They should have really upgraded to php5.2 with the GoPHP5 initiative.
However, I think hm2k is looking into a way to support different versions with different compatibility checks...
so sit tight and lets see what he can whip up.
Re: newly installed, has error
Posted: Wed Jan 07, 2009 11:06 pm
by hm2k
You should really upgrade your PHP version to 5.2 or above.
See:
http://uk3.php.net/manual/en/function.h ... decode.php
(PHP 5 >= 5.1.0)
This means it requires PHP 5.1 or above for the function to work.
I will however include some backwards compatibility in future releases.
http://code.google.com/p/open-cart/source/detail?r=314
Re: newly installed, has error
Posted: Thu Jan 08, 2009 12:12 pm
by Qphoria
This has been addressed in the latest SVN version.