osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Monitor performance mysql

This is a discussion on Monitor performance mysql within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; This adds a delete button to clear the qlog table. Update only, Not full package. In catalog/admin/mysqlperformance.php: FIND: require('includes/application_top.php'); ADD ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 07-20-2007, 09:11 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,314
Thanks: 67
Thanked 321 Times in 304 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Monitor performance mysql

This adds a delete button to clear the qlog table. Update only, Not full package.

In catalog/admin/mysqlperformance.php:

FIND:
require('includes/application_top.php');

ADD AFTER:
switch ($HTTP_GET_VARS['action']) {
case 'deleterecords':
tep_db_query("delete from " . TABLE_MYSQL_PERFORMANCE);
tep_redirect(tep_href_link(FILENAME_MYSQL_PERFORMA NCE));
break;
}

FIND:





ADD AFTER:
















FIND:






CHANGE TO:









FIND:











ADD AFTER:



In catalog/admin/includes/languages/english/mysqlperformance.php:

ADD BEFORE ?>:
define('TEXT_DELETE','Delete all records?');
define('IMAGE_BUTTON_DELETE','Delete all records');
define('IMAGE_BUTTON_CANCEL','Do not delete records');


More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Monitor performance mysql michael_s New osCommerce Contributions 0 02-04-2007 04:16 AM
mySQL 5 and PHP 5 problems damnedpig osCMax v1.7 Discussion 4 12-30-2006 09:17 PM
Site Monitor Question judoka osCMax v1.7 Discussion 0 07-18-2005 09:31 AM
MySQL? Please help! extremenewb osCommerce 2.2 Installation Help 3 09-22-2004 07:31 AM


All times are GMT -8. The time now is 12:18 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax