Original Article: http://www.magentocommerce.com/boards/viewthread/216269/#t293801 Solution Source http://www.soluvas.com/installing-sample-data-on-magento-1-4-0-1/ You shouldn’t just copy the media/catalog folder before, but do the steps in this tutorial in order: 1.Create database 2.Load sample DB into database 3.Extract Magento 4.Run installation 5.Ensure you get to the configure database page. Magento will complain about un-writeable directories. chmod or chown these folders (app/etc, var, and…
Month: March 2011
Magento Commerce: Fixing “Exception printing is disabled by default for security reasons”
Original Article: http://screencastworld.com/2010/04/articles/magento-commerce-exception-printing-is-disabled-by-default-for-security-reasons Whenever Magento 1.4.0.1 encounters an error condition you’re likely to see the message There has been an error processing your request Exception printing is disabled by default for security reasons Error log record number: XXXXXXXXXXXXXXX Unlike previous versions of Magento where it used to dump out the error report for the world to…
Pattern for XSS Vulnerability
Pattern : “><script>alert(document.cookie)</script> Example: http://localhost/test.php?q=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E