Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Magento集合_包含_路径()_Php_Magento 1.6 - Fatal编程技术网

Php Magento集合_包含_路径()

Php Magento集合_包含_路径(),php,magento-1.6,Php,Magento 1.6,服务器管理员正在阻止执行magento“set_include_path”; 管理员坚持不启用此功能! 有什么办法解决这个问题吗?用静态值替换此行 这会导致以下错误: Warning: set_include_path() has been disabled for security reasons in /home/bluerose/public_html/app/Mage.php on line 48 Warning: include_once(Mage/Core/functions.ph

服务器管理员正在阻止执行magento“set_include_path”; 管理员坚持不启用此功能! 有什么办法解决这个问题吗?用静态值替换此行

这会导致以下错误:

Warning: set_include_path() has been disabled for security reasons in /home/bluerose/public_html/app/Mage.php on line 48

Warning: include_once(Mage/Core/functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/bluerose/public_html/app/Mage.php on line 49

Warning: include_once() [function.include]: Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bluerose/public_html/app/Mage.php on line 49

Warning: include_once(Varien/Autoload.php) [function.include-once]: failed to open stream: No such file or directory in /home/bluerose/public_html/app/Mage.php on line 50

Warning: include_once() [function.include]: Failed opening 'Varien/Autoload.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bluerose/public_html/app/Mage.php on line 50

Fatal error: Class 'Varien_Autoload' not found in /home/bluerose/public_html/app/Mage.php on line 53

欢迎来到堆栈溢出。更改主机是一种选择?请求不需要该功能调用的Magento 1.6软件版本。请与软件供应商联系。从技术上讲,您应该能够为包含的每个文件输入绝对路径,因此您还应该能够更改要在其上使用软件的每个系统的代码。更改主机。没有它,即使是在最新版本中,您也无法使用Magento。这是一个微不足道的功能。所有代码池都添加到此包含路径堆栈中,以便稍后通过自动加载程序从本地代码池中检查核心上的扩展。绝对路径是不可能的,更改代码也会阻止您在需要时升级到新版本。