Magento Themes and Magento Extensions

How to turn off Clear Sessions for coding Magento’s ‘Success Page’

Share
Posted on December 5th, 2014 | Posted by admin

A quick post just showing you how to stop Magento from timing out on the order success page (success.phtml), this saves going through the checkout every time you need to refresh.

First thing you will need to do is to open:

app/code/core/Mage/Checkout/controllers/OnepageController.php

Now go to line 227 and comment it out:

Manually clean your Magento Database Log tables for optimization using phpMyAdmin

Share
Posted on December 4th, 2014 | Posted by admin

If you are going in this way then make sure that you are aware of database and phpMyAdmin structure as you are going to perform tasks with database which is heart and soul for any application. Always backup database before doing any cleaning work. You can go to phpMyAdmin via your web hosting cPanel or you can also access database via SSH command line.

You need to empty below listed tables using phpMyAdmin interface where you will have to select table and from the action dropdown at bottom of the page select “Empty” and then you will see a confirmation page just press “yes” options and you are all set.

  • dataflow_batch_export
  • dataflow_batch_import
  • log_customer
  • log_quote
  • log_summary
Page 3 of 3«123