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!

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
didn´t worked for me
Thanks for good article. Hope to see more soon.
didn't work for me
Thanks for Rhea,
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.
Thanks for Rhea,
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.
sorry, but no chance to work….. think something different.
继续出错:
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
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
where is tmp???
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
Caros amigos esse sistema funciona entretanto depois de criar a paste tmp é precisso dar permisão 777 para ela e arquivos , OK?
Didn't worked for me, caused an error frontend.
how to remove the errors after enabling them ……………………….?????????
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 !
I just tried with this way.But now is seems like more errors
This works:
protected $_options = array(
'cache_dir' => '/tmp',
<code>1protected $_options = array(
2 'cache_dir' => 'tmp',</code>
What does it do?
And why?
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.
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
thnx dude worked for me!
Didnt work for me:S
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
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
Updating the local.xml file gave me the error details I was looking for. Thanks for this post it saved me ample time…
Perfect…
This is a Lol issue on Magento SetUp… thanks for easy solution !!!
I've done everything, but I'm still having problems. Is there another solution?
Hi Flavio,
Is there any other errors?
can you present me the error message?
I have done these changes. But, I am facing this problem. Any other solutions is there? please suggest to me.
Thanks!
Wonderful Fix ! You save my day ! THX !!!
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.
Thanks friend it works prefectly…
Works great. Thanks
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.
i have the same problem, but your solution does not work! Sorry
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
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…
Worked great with my shop, i am so happy really
Thanks a lot buddy
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
Thnx dude u save my valuable time thnx a lottt !
Awesome! Thank you for the post, very valuable and saved me a lot time!
Cheers!