When coding Magento module, mostly you will face following error:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: xxxxxxxxx
To view more informative error, you can follow this steps:
Go to folder /errors/
Change local.xml.sample to local.xml
after this change you can see few more errors.
then Open /lib/Zend/Cache/Backend/File.php
and search
Change local.xml.sample to local.xml
after this change you can see few more errors.
then Open /lib/Zend/Cache/Backend/File.php
and search
1
2
| protected $ _options = array ( 'cache_dir' => 'null' , |
and change it to:
1
2
| protected $ _options = array ( 'cache_dir' => 'tmp/' , |
Save the changes.
create tmp folder under root magento folder.
You are Done.
=========================
Magento install error - Exception printing is disabled
Here is a known error which can occur when installing Magento:
============================= ===============================
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX
Here is the solution:Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX
- Navigate to the "errors" folder.
- Change local.xml.sample to local.xml
- You should now see a new list of crazy errors all over the Magento page - this is okay.
- Open magento/lib/Zend/Cache/Backend/File.php and look for:protected $_options = array(
'cache_dir' => 'null', - Change it to:protected $_options = array(
'cache_dir' => 'tmp/', - Save it.
- Now the final step is to go create a tmp folder in the root Magento folder.
- That's it.
============================= ===============================
Here i shared some useful magento code, i think this code is useful sometime. This details learned it from some otherwebsite and some points i had been worked out. what i learned/worked, i would like to share to all. In case any issue or wrong code if you find it from below, please excuse. 1. How top get Session details ? <?php $sessionId = Mage::getModel('core/session')->getSessionId(); $customerId = Mage::getModel('customer/session')->getCustomerId(); $vistitorId = Mage::getModel('core/session')->getVisitorId(); ?> 2.How to get Store details? <?php $storeId = Mage::app()->getStore()->getId(); $storeName = Mage::app()->getStore()->getName(); $storeCode = Mage::app()->getStore()->getCode(); $groupId = Mage::app()->getStore()->getGroupID(); $groupName = Mage::app()->getStore()->getGroup()->getName(); $websiteName = Mage::app()->getWebsite()->getName(); ?> 3. How to remove index.php from Magento URLs? if you are using Magento and your store urls are looking this way, http://www.example.com/index.php/toys/toy.html (This is example URL) So, you must be looking, how to remove that index.php from the middle, as that’s not good for Search Engine Indexing at all. So, here is the trick. Step: 1 Open your site root folder and you can find the .htaccess file. Just edit that. Open it on a text editor and find this line, #Rewrite Base /magento/. Just replace it with Rewrite Base / Step: 2 Then go to your Admin Panel and enable the Web Server Rewrites. You can find it at System > Configuration > Web > Search Engine Optimization. Step: 3 Then goto your Cache Management page ( System > Cache Management) and refresh your Cache and also refresh the Web Redirects. Thats all. Test at Frontend now. 4. Exception printing is disabled by default for security reasons Error in Magento : If we face any issue like as follow Issue: Exception printing is disabled by default for security reasons Error log record number: ********* here has been an error processing your request Solutions In this case we need to check following steps. Step 1 : Go to folder /errors/ Step 2 : Change local.xml.sample to local.xml Step 3 : after this change you can see few more errors. then Open magento/lib/Zend/Cache/Backend/File.php and search From protected $_options = array( 'cache_dir' => 'null', To protected $_options = array( 'cache_dir' => 'tmp/', Save the changes. Step 4 : create tmp folder under root magento folder. Ref : http://www.eukhost.com/forums/f15/exception-printing-disabled-default- security-reasons-error-log-record-numb-11362/ 5. After Submit Registration form its redirect to where? And basic validation also has to check below file. app/code/core/Mage/customer/controllers/AccountController.php After submit Registration form it will display Success or failure message from above file.
28 comments:
Thanks..It worked for me.The error got away :)
http://techbingle.blogspot.com/
magento extension development Coders and developers adire it the best platform.
I have followed your instructions but didn't work for me..
This is a great post. I like this topic.This site has lots of advantage. It helps me in many ways.Thanks for posting this again.
magento development company in bangalore
I have been looking for this information for quite a long time and I am glad to have found it on this site. It has helped me to understand a lot about the magneto error, its causes, and how to resolve the problem. If you are in need of proofreading services feel free to access the services of our Hired Thesis Review Consultants.
Really, these quotes are the holistic approach towards mindfulness. In fact, all of your posts are. Proudly saying I’m getting fruitfulness out of it what you write and share. Thank you so much to both of you.
Tooth Braces In Chennai
Best Dental Clinic In Vellore
Great post! I am actually getting ready to across this information, It's very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
SAP Training in Chennai
SAP ABAP Training in Chennai
SAP FICO Training in Chennai
It's like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but instead of that, this is fantastic blog. A great read. I will definitely be back.
SAP SD Training in Chennai
his is a great article, I have been always to read something with specific tips! I will have to work on the time for scheduling my learning.
Informatica Training in Chennai
There are lots of information about latest technology and how to get trained in them, like this have spread around the web, but this is a unique one according to me. The strategy you have updated here will make me to get trained in future technologies. By the way you are running a great blog. Thanks for sharing this.
peridotsystems
Tableau Training in Chennai
AWS Training in Chennai
I find this blog very useful for me. Thank you so much. Eagerly waiting for further updates.
MSBI Training in Chennai
Informatica Training in Chennai
Data Warehousing Training in Chennai
Here i had read the content you had posted. It is much interesting so please keep update like this.
Best Laser Dental Clinic | Cosmetic Dental Treatment | Orthodontic Treatment | Root Canal Specialist In Chennai
Nice to see your blog post.. I really enjoyed by reading your blog post.
Informatica Training Institute in chennai
thank you for sharing such a nice and interesting blog with us. I have seen that all will say the same thing repeatedly
Dental Clinic in Chennai
Best Dental Hospital in Chennai
Its really informative post from your side and please continue more, refer if interestedd
Best Architects in India
Turnkey Interior Contractors in Chennai
Architecture Firms in Chennai
Warehouse Architect
Factory Architect Chennai
Office Interiors in Chennai
Rainwater Harvesting chennai
I have been meaning to write something like this on my website and you have given me an idea. Cheers.
python training in chennai
python course institute in chennai
All the points you described so beautiful. Every time i read your i blog and i am so surprised that how you can write so well.
Data Science training in chennai | Best Data Science training in chennai
Data Science training in OMR | Data science training in chennai
Data Science training in chennai | Best Data science Training in Chennai
Data science training in velachery | Data Science Training in Chennai
Data science training in tambaram | Data Science training in Chennai
Data Science training in anna nagar | Data science training in Chennai
Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article. thank you for sharing such a great blog with us.
rpa training in bangalore
best rpa training in bangalore
rpa training in pune
rpa online training
I was looking for this certain information for a long time. Thank you and good luck.
Data science course in bangalore | Data Science training with placement in Bangalore
Thanks for such a great article here. I was searching for something like this for quite a long time and at last I’ve found it on your blog. It was definitely interesting for me to read about their market situation nowadays.
DevOps Training in Bangalore
DevOps Training in Bangalore
DevOps Training in Bangalore
DevOps Training in Marathahalli
DevOps Training in Pune
DevOps Online Training
Great information.Thanks!
Best Dental Clinic in Dubai
Best Dentist in Dubai
Dental Clinic in Dubai
Dental implant in Dubai
Dentist in Dubai
Dentist in Jumeirah
Dentist in Mirdif
I Regreat For Sharing The information The InFormation shared Is Very Valuable Please Keep Updating Us Time Just Went On Reading The Article Python Online Training AWS Online Training Hadoop Online Training Data Science Online Training
Such an nice post thank you for sharing. The provifded informations are in full experienced based it will help us many way.
Best Laser Dental Clinic
Full mouth dental implants in Chennai
Best Dentist In Chennai
Best Dental Clinic in Chennai
Best dental clinic in nungambakkam
I just loved your article on the beginners guide to starting a blog.If somebody take this blog article seriously in their life, he/she can earn his living by doing blogging.thank you for thizs article. python online training ,
Great post I must say and thanks for the information. Education is definitely a sticky subject. it is still among the leading topics of our time. I appreciate your post and looking for more
DevOps Training | Certification in Chennai | DevOps Training | Certification in anna nagar | DevOps Training | Certification in omr | DevOps Training | Certification in porur | DevOps Training | Certification in tambaram | DevOps Training | Certification in velachery
Nice post.Keep up with posting.
Frontend development course in Pune
Great post! I’m glad I came across this information—it’s very helpful for this blog. The valuable insights you’ve shared are much appreciated. Keep up the excellent work!
python course in hyderabad
Post a Comment