Posts

Showing posts from April, 2015

Magento Directory Structure

Image
When we are starting development in magento there're few things should be essential to know directory structures. There are some files and folders must keep in mind. 1.. htaccess: mode_rewrite rule, which are are prominent for the search engine url.There you can also find the website server and php directive will improve your Web site performance. 2..htaccess. Sample :basically, it is the back up of the. htaccess file. 3.app: App directory contains the modules, theme, configuration and translation files apart from template files for the default administration themes and the installation. This is most important directory structure. 3. Cron.php: Define the time period will ensure that the Magento caching system will not affect the website. 4. Downloaded: This directory store the websites perspective files. Like images, pdf,.doc Microsoft office. Etc. 5.index.Php: This is the main file of Magento this file first excecute when magento run. 6. Index.Php.Sample: It is the backu

Error 1217

Error 1217: can't delete or Update a parent row: a foreign key constrain Fail in mysql. This is the funny things all tables would be deleted except some of left due to the Foreign key constrain. Wheneve you try to drop database then you got same aforesaid message. If you disable the Foreign key check or You should be set Foreign_key_Check=0 For instance Set Foreign_key_check=0; Drop table myfirsttabletodrop; Drop table mysecoubdtabletodrop Set foreign_key_check=1; I hope you will solve your problem. Have a nice day.