Check out our newest developed Magento 2 Customer Discount More Info

How to Deal With Magento- “404 Error” Page?

Many a times, it may become very monotonous task while working on Magento. This is may be because you are getting some sort of error messages while running Magento. The Error that usually occurs in Magento is “404 Error” on the product pages of your website.

Magento is one of the best open source ecommerce solutions, available with different kinds of tools which are most important for constructing a flourishing online shop. It is a very powerful open-source platform and has a very flexible structural design with wide range of control options.

Magento generally uses Zend PHP and MySQL databases. It is very easy to use as well as manageable and helps to generate your product catalog very easily. Magento allows you for product browsing, filtering, product comparison, adding more than one image for the same product, create wish lists, adding new products and many more.

While going through the main page when you click over some products, you may get 404 Error. To overcome this problem you can follow these steps: Just go to the System option to cache management than go to the catalog section and click the refresh button for catalog rewrites. You may also face 404 Error on your own product pages, to deal with such problem you need to go to phpMyAdmin and follow the following command:

INSERT INTO `report_event_types` (`event_type_id`,`event_name`, `customer_login`) VALUES

(1, ‘catalog_product_view’, 1),

(2, ‘sendfriend_product’, 1),

(3, ‘catalog_product_compare_add_product’, 1),

(4, ‘checkout_cart_add_product’, 1),

(5, ‘wishlist_add_product’, 1),

(6, ‘wishlist_share’, 1);

Also, if you face “404 Error” even after upgrading to Magento 1.7, just change the permissions of downloader/index.php from 0666 to 0644. If you are not able to look the states drop down while checkout than you have the solution for this problem also: Check your onepage.phtml of new version and compare this with the same file of older version. You’ll come across the following lines of codes missing:

<script type=”text/javascript”>countryRegions = <?php echo $this->helper(‘directory’)->getRegionJson() ?></script>

After getting the missing codes uncover, just paste above mentioned lines in top of onepage.phtml of new version. Now, it will look like as follows:

<script type=”text/javascript” src=”<?php echo$this->getJsUrl(‘varien/accordion.js’) ?>”></script>

<script type=”text/javascript” src=”<?php echo $this->getSkinUrl(‘js/opcheckout.js’) ?>”></script>

<script type=”text/javascript”>countryRegions = <?php echo $this->helper(‘directory’)->getRegionJson() ?></script>

Magento offers great customer service by allowing its customers the option to create user accounts, tracking their shopping history, contacting you with the help of custom forms etc. You can also avail the most advanced SEO options of Magento to improve the positioning of website in search engine.

The following two tabs change content below.
Harshal Shah is CEO & Founder of Xhtmljunkies, Located in Gujarat, India, XHTML Junkies is one of the best companies that offer unique eCommerce solutions by the virtue of its dedicated professionals. Our professionals are extremely proficient in offering development services pertaining to eCommerce. You can find Harshal on and Twitter.