FIX for Magento 1.4 install does not work

This is a fix for the clean installation process of Magento 1.4.x.

Once you click in to the link provided, you will be direct to a page with the following message.

There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX

Magento 1.4 installation fix

First we will enable the printing method so you can view the error code within this page. This won’t fix the error for the above matter, this will only enable this page to show you more details of what the error was. So to disable this —> Exception printing is disabled by default for security reasons and enable printing of errors

Change:
/errors/local.xml.sample

To this:
/errors/local.xml

Now let’s begin to fix this annoying bug that come with the clean installation of magento. Open magento/lib/Zend/Cache/Backend/File.php
Look for the following code

protected $_options = array(
        'cache_dir' => 'null',

and replace it with the following

protected $_options = array(
        'cache_dir' => 'tmp',

Now save and upload replace with the new file.

Final step is to create a tmp folder on your magento root folder

Related Posts Plugin for WordPress, Blogger...

I hope you have enjoyed this post, be sure to subscribe to my rss feed by click the subscribe button at the top.

Good Luck!

Be Sure to Subscribe to our feed or follow us on twitter to get the latest updates/patches
End of Article, Thanks for reading.
You can leave a response, or trackback from your own site.

41 Responses to “FIX for Magento 1.4 install does not work”

  1. Steve Garry says:

    Your syntax is different from the 1.4.0.1 version, mine has null not in quotes, but in desperation to get this working, I will give it a try and see what happens

  2. bege says:

    didn´t worked for me

  3. tłumiki says:

    Thanks for good article. Hope to see more soon.

  4. Asif says:

    didn't work for me

  5. kajunga says:

    sorry, but no chance to work….. think something different.

  6. KIVI says:

    继续出错:

    Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 396: parser error : Comment not terminated
    <!–<引用名称=“内容”“
    <block type="catalog in /home/…l/magento/app/code/core/Mage/Core/Model/Layout/Update.php on line 235

  7. Rhea says:

    For those having the same problem I had with v1.4.0.1 you just change this advice:

    'tmp/'.

    to

    'tmp',

    After that the installer worked.

    Rhea

  8. linglong says:

    Error log record number: 208736869 show me the error:
    app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-install-1.4.0.0.0.php” – SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ’3-description’ for key 2

    I don’t know how to deal with it

  9. Marcos Pedro says:

    Caros amigos esse sistema funciona entretanto depois de criar a paste tmp é precisso dar permisão 777 para ela e arquivos , OK?

  10. Ib Tasker says:

    Didn't worked for me, caused an error frontend.

  11. sheeku says:

    how to remove the errors after enabling them ……………………….?????????

  12. Dot Heery says:

    Hey there, I was just traveling the net and came across your website . Thought I’d say hi and tell you that I’ve enjoyed my stay here, hope you have a nice evening !

  13. I just tried with this way.But now is seems like more errors

  14. xvex design Hamburg says:

    This works:

    protected $_options = array(
    'cache_dir' => '/tmp',

  15. HendyIrawan says:

    <code>1protected $_options = array(
    2 'cache_dir' => 'tmp',</code>

    What does it do?

    And why?

  16. Jon says:

    use 'tmp' in quotes for 1.4.1.0 and 1.4.0.1, be sure to set tmp to writable otherwise you'll receive a page of errors. Thanks for the Fix! worked great for me.

  17. rusovich says:

    ok i check this the correct soloution is the descripted here and all need to

    Product Flickr Gallery you use this verifi Enable is set to NO check front site
    Sitemap > Use Tree Like Category Sitemap check to NO check front site

    Sorry this work

    /tmp

  18. marv says:

    thnx dude worked for me!

  19. Hans says:

    Didnt work for me:S

  20. Anonymous says:

    I get this error:
    Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 806 is not allowed to access

  21. Ubunter says:

    Work, in v. 1.4.2.0 Beta, I got this error also in v.1.4.1.1 just after reducing the chmod to the appropiate after the installation…
    Perfect,
    Thanks:p

  22. Sahus Pilwal says:

    Updating the local.xml file gave me the error details I was looking for. Thanks for this post it saved me ample time… ;)

  23. erm3nda says:

    Perfect…

    This is a Lol issue on Magento SetUp… thanks for easy solution !!!

  24. Flavio Paiva says:

    I've done everything, but I'm still having problems. Is there another solution?

  25. I have done these changes. But, I am facing this problem. Any other solutions is there? please suggest to me.

    Thanks!

  26. @stauziede says:

    Wonderful Fix ! You save my day ! THX !!!

  27. Job Ballard says:

    First off thank you. Second am i the ony person that finds that this issue dragging on for over 3 years is ridiculous? anyway – now i can see the errors and deal with them. Cheers mate.

  28. saleem says:

    Thanks friend it works prefectly…

  29. Farid says:

    Works great. Thanks

  30. This is a great post and really helps. I would suggest for anyone who is still having trouble to talk with a professional developer. One who knows magento and can help you out.

  31. i have the same problem, but your solution does not work! Sorry

  32. Farid says:

    Got this errorError:
    app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-install-1.4.0.0.0.php" – SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-description' for key 2

  33. sunil rana says:

    Very good explanation on how to handle this error. It worked for me. At list i am getting error message email . http://www.phptechi.com/magento-exception-printin

  34. 1roid says:

    Worked great with my shop, i am so happy really

    Thanks a lot buddy ;)

  35. Raj says:

    iam still getting error like

    There has been an error processing your request

    Illegal scheme supplied, only alphanumeric characters are permitted

    Trace:
    #0 C:wampwwwmagentoappcodecoreMageCoreModelStore.php(712): Zend_Uri::factory('{{base_url}}')
    #1 C:wampwwwmagentoappcodecoreMageCoreControllerVarienFront.php(313): Mage_Core_Model_Store->isCurrentlySecure()
    #2 C:wampwwwmagentoappcodecoreMageCoreControllerVarienFront.php(161): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
    #3 C:wampwwwmagentoappcodecoreMageCoreModelApp.php(349): Mage_Core_Controller_Varien_Front->dispatch()
    #4 C:wampwwwmagentoappMage.php(640): Mage_Core_Model_App->run(Array)
    #5 C:wampwwwmagentoindex.php(80): Mage::run('', 'store')
    #6 {main}

    Error log record number: 660563789
    Please help me and thanks in advance
    Pardeep

  36. Nilu Khair says:

    Thnx dude u save my valuable time thnx a lottt ! :)

  37. yslavov says:

    Awesome! Thank you for the post, very valuable and saved me a lot time!

    Cheers!

Leave a Reply