Magento Forum

Fatal error: Class ‘Mage_Directory_Model_Currency’ not found
 
jsound
Jr. Member
 
Total Posts:  3
Joined:  2008-01-22
 

Okay, still working on my local install using XAMPP. I actually made it all the way to where I enter my database settings. When I hit continue, I get the following:

Warning: include(Mage\Directory\Model\Currency.php[function.include]failed to open streamNo such file or directory in C:\xampp\htdocs\magento\app\code\core\Mage\Core\functions.php on line 44
[0] in __autoload
() in C:\xampp\htdocs\magento\app\code\core\Mage\Core\functions.php on line 44
[1] in __autoload
("Mage_Directory_Model_Currency"in C:\xampp\htdocs\magento\app\code\core\Mage\Install\Model\Installer.php on line 148
[2] in Mage_Install_Model_Installer
->installDb() in C:\xampp\htdocs\magento\app\code\core\Mage\Install\controllers\WizardController.php on line 316
[3] in Mage_Install_WizardController
->installDbAction() in C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php on line 332
[4] in Mage_Core_Controller_Varien_Action
->dispatch("installDb"in C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php on line 149
[5] in Mage_Core_Controller_Varien_Router_Standard
->match(Mage_Core_Controller_Request_Httpin C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Front.php on line 166
[6] in Mage_Core_Controller_Varien_Front
->dispatch() in C:\xampp\htdocs\magento\app\Mage.php on line 411
[7] in Mage
::run("base"in C:\xampp\htdocs\magento\index.php on line 29

Warning
: include() [function.include]Failed opening 'Mage\Directory\Model\Currency.php' for inclusion (include_path='C:\xampp\htdocs\magento/app/code/local;C:\xampp\htdocs\magento/app/code/community;C:\xampp\htdocs\magento/app/code/core;C:\xampp\htdocs\magento/lib;.;C:\xampp\php\pear\'in C:\xampp\htdocs\magento\app\code\core\Mage\Core\functions.php on line 44
[0] in __autoload
() in C:\xampp\htdocs\magento\app\code\core\Mage\Core\functions.php on line 44
[1] in __autoload
("Mage_Directory_Model_Currency"in C:\xampp\htdocs\magento\app\code\core\Mage\Install\Model\Installer.php on line 148
[2] in Mage_Install_Model_Installer
->installDb() in C:\xampp\htdocs\magento\app\code\core\Mage\Install\controllers\WizardController.php on line 316
[3] in Mage_Install_WizardController
->installDbAction() in C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php on line 332
[4] in Mage_Core_Controller_Varien_Action
->dispatch("installDb"in C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php on line 149
[5] in Mage_Core_Controller_Varien_Router_Standard
->match(Mage_Core_Controller_Request_Httpin C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Front.php on line 166
[6] in Mage_Core_Controller_Varien_Front
->dispatch() in C:\xampp\htdocs\magento\app\Mage.php on line 411
[7] in Mage
::run("base"in C:\xampp\htdocs\magento\index.php on line 29

Fatal error
: Class 'Mage_Directory_Model_Currency' not found in C:\xampp\htdocs\magento\app\code\core\Mage\Install\Model\Installer.php on line 148

Any suggestions?

 
Magento Community Magento Community
Magento Community
Magento Community
 
FlappySocks
Member
 
Total Posts:  31
Joined:  2008-02-05
 

I have the same problem.  I selected British Pound as my currency if thats relevant.

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

Does the file app\code\core\Mage\Directory\Model\Currency.php exist?

 
Magento Community Magento Community
Magento Community
Magento Community
 
FlappySocks
Member
 
Total Posts:  31
Joined:  2008-02-05
 
Moshe - 05 February 2008 06:06 AM

Does the file app\code\core\Mage\Directory\Model\Currency.php exist?

No, I get as far as app/code/core/Mage/Core/ No Mage

I did a search of my system, and I found /var/www/localhost/htdocs/magento/lib/Zend/Currency.php

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

If app\code\core\Mage\Directory\Model\Currency.php not exists, that means not all the files were uploaded correctly.

 
Magento Community Magento Community
Magento Community
Magento Community
 
FlappySocks
Member
 
Total Posts:  31
Joined:  2008-02-05
 
Moshe - 05 February 2008 06:26 AM

If app\code\core\Mage\Directory\Model\Currency.php not exists, that means not all the files were uploaded correctly.

Ok, thanks, I will have a look at that.  I just un-tar’ed the download into my apache directory and ran it from my web browser.

Stuart.

 
Magento Community Magento Community
Magento Community
Magento Community
 
step
Jr. Member
 
Total Posts:  1
Joined:  2008-02-25
Flensburg / Germany
 

I have the same problem.
You can find the missing files in the other download package “magento-0.8.16100.tar.gz” (6.6 MB).
In the folder app/code/core/Mage/ are some more directories that where missing in “magento-installer-0.8.16100.tar.gz” (2,7 MB). Hopefully after uploading them, the installation will go on…

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