osCmax v2.5 User Manual
Results 1 to 2 of 2

Reset counter and product accesses into database

This is a discussion on Reset counter and product accesses into database within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi! Just finished my webshop. But while configuring the shop I accessed my site more than 2000 times. And the ...

      
  1. #1
    Lurker
    Join Date
    Sep 2003
    Posts
    4
    Rep Power
    0


    Default Reset counter and product accesses into database

    Hi!

    Just finished my webshop. But while configuring the shop I accessed my site more than 2000 times. And the visited products already have lots of hits!

    How can I delete these counter stats from database?

    Michael

  2. #2
    New Member
    Join Date
    Nov 2003
    Posts
    8
    Rep Power
    0


    Default

    I can't believe no-one has answered this post by now. And you may have already figured itout, so this reply is for those that haven't been down this path......

    To reset your counter and Date, login to your Domain's Control Panel (not the catalog Admin CP), then (hopefully you have phpmyadmin) log in to your database and find the "counter" table. Click "Browse"

    There you will be able to "edit" the entries

    OR, if you have a hard time locating that section, use the text below (cut & Paste) to run an SQL query

    #Modifying the VALUES with your preferences will reset the counter.
    #I used today's date and reset the counter to zero

    INSERT INTO counter (startdate, counter) VALUES ('20031104', 0);

Similar Threads

  1. Help required - product is a code stored in a database
    By melfalcon15 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-29-2005, 09:33 AM
  2. remove request since counter
    By okatoma in forum osCMax v1.7 General Mods Discussion
    Replies: 3
    Last Post: 07-19-2004, 06:54 AM
  3. Change language in counter
    By Lord in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 05-04-2004, 06:48 AM
  4. Reset Counters
    By Anonymous in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 05-02-2004, 12:31 AM
  5. Click to Enlarge accesses empty window
    By Lady_Lobo in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 03-22-2004, 09:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •