FIX for Magento 1.4 install does not work

StumbleuponDelicious

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

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.
StumbleuponDelicious

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

24 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

Leave a Reply