cancel
Showing results for 
Search instead for 
Did you mean: 

Install Magento 1.3.2.4 on Local Server

Install Magento 1.3.2.4 on Local Server

We have a new clean install of Magento 1.3.2.4 on XAMPP 1.7.3 (PHP 5.3.1)

Everything installs without any errors until we are into the Magento installation.

After we set the "Localization" settings we select continue.

Then we get this error:

Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Zend_Validate_Hostname_Com' not found in C:\xampp\htdocs\magento\lib\Zend\Validate\Hostname.php on line 329

 

Line 329 in Hostname.php is:

$labelChars .= call_user_func(array($className, 'getCharacters'));

 

We are not technical so any detailed solution would be appreciated.

 

We know this is an old version, but we need this exact working version to fix our existing website so it can be migrated to our new Magento 2 website.

5 REPLIES 5

Re: Install Magento 1.3.2.4 on Local Server

What is the domain name you are trying for your local installation? 

 

It seems that you are missing a file named lib/Zend/Validate/Hostname/Com.php.

 

I have uploaded a copy of this file here: https://www.dropbox.com/s/suvyegyteq1axou/Com.php?dl=0

 

Download it and place it in lib/Zend/Validate/Hostname/

 

hth!

Re: Install Magento 1.3.2.4 on Local Server

Thank you for the advice and file.

 

The local installation domain name is: www.localhost.com/magento/

 

We have copied the Com.php file into the specified Hostname directory, but we still get the same error message at the same installation step.

 

Installation is working until we try to continue after the Localization settings step:

 

Magento Install Localization Screen.png

 

Next screen we get:

 

Magento Install Error.png

Full error Message:

 

Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Zend_Validate_Hostname_Com' not found  in C:\xampp\htdocs\magento\lib\Zend\Validate\Hostname.php on line 329
Trace:
#0 [internal function]: mageCoreErrorHandler(2, 'call_user_func(...', 'C:\xampp\htdocs...', 329, Array)
#1 C:\xampp\htdocs\magento\lib\Zend\Validate\Hostname.php(329): call_user_func(Array)
#2 C:\xampp\htdocs\magento\lib\Zend\Uri\Http.php(448): Zend_Validate_Hostname->isValid('www.localhost.c...')
#3 C:\xampp\htdocs\magento\lib\Zend\Uri\Http.php(280): Zend_Uri_Http->validateHost()
#4 C:\xampp\htdocs\magento\lib\Zend\Uri\Http.php(154): Zend_Uri_Http->valid()
#5 C:\xampp\htdocs\magento\lib\Zend\Uri.php(132): Zend_Uri_Http->__construct('http', '//www.localhost...')
#6 C:\xampp\htdocs\magento\app\code\core\Mage\Install\Model\Installer\Config.php(107): Zend_Uri::factory('http://www.loca...')
#7 C:\xampp\htdocs\magento\app\code\core\Mage\Install\Block\Config.php(61): Mage_Install_Model_Installer_Config->getFormData()
#8 C:\xampp\htdocs\magento\app\design\install\default\default\template\install\config.phtml(47): Mage_Install_Block_Config->getFormData()
#9 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(144): include('C:\xampp\htdocs...')
#10 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(176): Mage_Core_Block_Template->fetchView('install\default...')
#11 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(193): Mage_Core_Block_Template->renderView()
#12 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#13 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Text\List.php(43): Mage_Core_Block_Abstract->toHtml()
#14 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#15 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#16 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#17 C:\xampp\htdocs\magento\app\design\install\default\default\template\page.phtml(97): Mage_Core_Block_Abstract->getChildHtml('content')
#18 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(144): include('C:\xampp\htdocs...')
#19 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(176): Mage_Core_Block_Template->fetchView('install\default...')
#20 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(193): Mage_Core_Block_Template->renderView()
#21 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#22 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Layout.php(526): Mage_Core_Block_Abstract->toHtml()
#23 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(347): Mage_Core_Model_Layout->getOutput()
#24 C:\xampp\htdocs\magento\app\code\core\Mage\Install\controllers\WizardController.php(296): Mage_Core_Controller_Varien_Action->renderLayout()
#25 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(376): Mage_Install_WizardController->configAction()
#26 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch('config')
#27 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#28 C:\xampp\htdocs\magento\app\Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
#29 C:\xampp\htdocs\magento\index.php(65): Mage::run()
#30 {main}                

 

Re: Install Magento 1.3.2.4 on Local Server

Hello @gapalo,

 

Are you setup any existing Magento project? If no, then please use latest magento version1.9.4.0

 

--
If my answer is useful, please Accept as Solution & give Kudos

Re: Install Magento 1.3.2.4 on Local Server

Thank you for your advice, but yes this is for an existing Magento 1.3.2.4 project so an alternative version is not useful.

 

Re: Install Magento 1.3.2.4 on Local Server

Hi @gapalo, even if in theory that Magento 1.3 versions and older should work with PHP 5.3 you will face different kinds of problems and error messages like you are reciving now. If your are goin to run Magento 1.3.2.4 I would highly reccomend that you downgrade to a PHP 5.2 version as you will face even more errors even if you can sort this first one out. Alot of changes has been done, and you will face errors regarding /lib/varien/object.php,   /app/code/core/Mage/Core/Controller/Request/Http.php, app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php and many other files to just mention some files.

If you go go the xampp download section and take a Xampp 1.7.x version it should contain php 5.2 this would save you from a lot of hedic Smiley Wink