Jump to content

View stats problem fixed


Guest benseb

Recommended Posts

Guest benseb

If you can only view the search term stats and need a fix before 3.0.1 release:

In admin/stats/index.php on line 72

change

switch (isset($_GET['stats']) && $_GET['stats']) {

to

switch ( $_GET['stats']) {

Link to comment
Share on other sites

Guest raceinc

Thanks for the fix benseb!

Just curious - is there any way to reset the stats? Mine are skewed from the testing process and it would be nice to know the 'real' ones once the store goes live.

Lou

Link to comment
Share on other sites

Guest martino

Hi,

The only way I have found so far to reset the stats is to edit the MySQL tables.

To reset the Search stats I deleted all the records in the CubeCart_search table.

To reset the Product Popularity stats I opened the CubeCart_inventory table and reset all the records to zero in the 'popularity' field. One of the items in this field must have a value of at least 1 though or you will get a divide by zero error in your admin panel.

I accept no responsibility though if you try this method and screw up your installation of CC3.

Hope this helps

Martin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...