PHP 5.3 上安装 Magento 解决方法

Does not the whole code, but try to change in file /lib/Varien/Object.php on line ~ 484

public function ___toString(array $arrAttributes = array(), $valueSeparator=',')

To this (change ___toString to __invoke

public function __invoke(array $arrAttributes = array(), $valueSeparator=',')

And in file /app/code/core/Mage/Core/Controller/Request/Http.php on line 274

$host = split(':', $_SERVER['HTTP_HOST']);

to

$host = explode(':', $_SERVER['HTTP_HOST']);

split to explode

And in file /app/code/core/Mage/Admin/Model/User.php on line 360

$host = split(':', $_SERVER['HTTP_HOST']);
to 



$host = explode(':', $_SERVER['HTTP_HOST']);

split to explode

相关文章:

1、Magento程序结构图
https://www.onexin.net/magento-program-structure-diagram/

2、magento开发必备插件列表汇总
https://www.onexin.net/magento-development-of-the-necessary-plug-ins-list-summary/

3、Magento多语言设置——优化前台与后台实现方法
https://www.onexin.net/magento-multi-language-set-methods-and-front-switch-mode/

4、Magento 1.6.0.0 语言包中文(简繁体)/日文/韩文
https://www.onexin.net/magento-1-6-0-0-language-pack-chinese-simplified-and-traditional-japanese-korean/

5、Magento模板设计者入门分析
https://www.onexin.net/introduction-to-magento-template-designer-analysis/

转载请注明出处:https://www.onexin.net/php-5-3-installed-magento-solution/

Leave a Reply

Your email address will not be published. Required fields are marked *