Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

DirectoryIterator class missing
 
martinkaiser
Jr. Member
 
Total Posts:  7
Joined:  2008-01-10
 

Hi,

during install after the Packagemanagement through Web (Beta or Alpha) and the successful install message I get to the next page which is /index.php/install/wizard/config/ and it shows the following error

Warning: include(DirectoryIterator.php) [function.include]: failed to open stream: No such file or directory in /htdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[0] in __autoload() in /htdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[1] in __autoload("DirectoryIterator") in /htdocs/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php on line 104
[2] in Mage_Install_Model_Installer_Filesystem->_checkPath("/var", “1”, “1”, “write\") in /htdocs/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php on line 62
[3] in Mage_Install_Model_Installer_Filesystem->_checkFilesystem() in /htdocs/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php on line 42
[4] in Mage_Install_Model_Installer_Filesystem->install() in /htdocs/magento/app/code/core/Mage/Install/Model/Installer.php on line 59
[5] in Mage_Install_Model_Installer->checkServer() in /htdocs/magento/app/code/core/Mage/Install/controllers/WizardController.php on line 270
[6] in Mage_Install_WizardController->configAction() in /htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 332
[7] in Mage_Core_Controller_Varien_Action->dispatch("config") in /htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 149
[8] in Mage_Core_Controller_Varien_Router_Standard->match(Mage_Core_Controller_Request_Http) in /htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 166
[9] in Mage_Core_Controller_Varien_Front->dispatch() in /htdocs/magento/app/Mage.php on line 411
[10] in Mage::run("base") in /htdocs/magento/index.php on line 29

Warning: include() [function.include]: Failed opening ‘DirectoryIterator.php’ for inclusion (include_path=’/htdocs/magento/app/code/local:/htdocs/magento/app/code/community:/htdocs/magento/app/code/core:/htdocs/magento/lib:.:/usr/share/php’) in /htdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[0] in __autoload() in /htdocs/magento/app/code/core/Mage/Core/functions.php on line 44
[1] in __autoload("DirectoryIterator") in /htdocs/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php on line 104
[2] in Mage_Install_Model_Installer_Filesystem->_checkPath("/var", “1”, “1”, “write\") in /htdocs/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php on line 62
[3] in Mage_Install_Model_Installer_Filesystem->_checkFilesystem() in /htdocs/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php on line 42
[4] in Mage_Install_Model_Installer_Filesystem->install() in /htdocs/magento/app/code/core/Mage/Install/Model/Installer.php on line 59
[5] in Mage_Install_Model_Installer->checkServer() in /htdocs/magento/app/code/core/Mage/Install/controllers/WizardController.php on line 270
[6] in Mage_Install_WizardController->configAction() in /htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 332
[7] in Mage_Core_Controller_Varien_Action->dispatch("config") in /htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 149
[8] in Mage_Core_Controller_Varien_Router_Standard->match(Mage_Core_Controller_Request_Http) in /htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 166
[9] in Mage_Core_Controller_Varien_Front->dispatch() in /htdocs/magento/app/Mage.php on line 411
[10] in Mage::run("base") in /htdocs/magento/index.php on line 29

Fatal error: Class ‘DirectoryIterator’ not found in /htdocs/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php on line 104

Anyone experienced this before?

System is Linux with PHP5. Version of Magento is 0.7.14800

Thanks, Best Rgds,
Martin

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Hi Martin,

Looks like SPL was explicitly not compiled into your PHP binary.
Please remove the configuration flag during compilation that disables SPL.

 
Magento Community Magento Community
Magento Community
Magento Community
 
martinkaiser
Jr. Member
 
Total Posts:  7
Joined:  2008-01-10
 

Thanks for your reply.

Unfortunately it is not a dedicated / root server. Anything I can do with provider given PHP?

Thanks, Best Rgds,
Martin

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

You will need to have SPL compiled in.

Try the CGI solution - http://www.magentocommerce.com/knowledge-base/entry/installing-magento-on-a-php4-server

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top