Strict Standards Error when accessing index.php
Hello there,
I'm getting this error on PHP 5.3.10ubuntu3.4 when trying to access index.php after cloning the repository (2.0.0.0-dev33):
Strict standards:
Declaration of Mage_Core_Controller_Request_Http::getBaseUrl()
should be compatible with that of Zend_Controller_Request_Http::getBaseUrl()
in /var/www/magento2/app/code/core/Mage/Core/Controller/Request/Http.php on line 36
Hi @blitux,
This is probably because you have Zend Framework package, downloaded with PEAR.
Overall this is an issue with recent Magento autloader mechanism changes, where it gives priority to the PEAR packages first, rather than to the ones distributed with Magento. We expect to fix it soon.
Meanwhile, can you, please, confirm that you have ZF PEAR package?
Hi @zerkella,
Yes, in fact, I have ZF installed, downloaded with pear. I'm using it with some addons to control Magento sites using the terminal.
Can I test magento2 changing the value of include_path variable on php.ini in the meantime? I don't want to uninstall ZF because I'm using it on some Magento projects (zf clear mage-core-cache, zf replace mage-core-config, etc. on terminal)
Thank you!
Closing the thread due to lack of recent activity.