VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 Impressions Count Restarting at 100
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Admiral The X
VP-ASP New User

USA
52 Posts

Posted - March 04 2009 :  18:59:03  Show Profile  Visit Admiral The X's Homepage  Reply with Quote
Is it just me or does impressions only count to 100 and then reset?

is this intentional? if so whats the point? am i missing something here?

i'm running vpasp 6.5


Air Armory - Airsoft
http://www.AirArmory.com

Edited by - Admiral The X on March 04 2009 18:59:49

devshb
Senior Member

United Kingdom
1898 Posts

Posted - March 05 2009 :  04:49:02  Show Profile  Visit devshb's Homepage  Reply with Quote
In the database, Impressions columns are standard numbers (and default to zero for new products/categories/contents records)

Then, when an impression is processed, it sets it to zero first if the current value's null, then it adds one to the existing value in the database.

It doesn't reset them anywhere, but maybe there's some problem going on in the edit-product/category/content pages which is blanking them out when you save a change to the product/category/content; those edit pages are the only places I can see which could potentially blank them out or reset them inadvertantly if there's a server problem (such as european/lcid problems not processing numbers properly)

It should be incrementing it by 1 without resetting/looping; should cater for something like a trillion before it starts running into "int" database problems.

If it's an lcid problem, then editing a product and saving it will usually also do something weird with your prices (such as multiply them by 100), so that's also something to check to see if it's something like that.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons

Edited by - devshb on March 05 2009 04:54:29
Go to Top of Page

support
Administrator

4266 Posts

Posted - March 05 2009 :  05:34:22  Show Profile  Visit support's Homepage  Reply with Quote
Hello there,

This is a known issue which will be fixed in the upcoming version of the shopping cart.

In the mean time, please try the following fix :

1) Open the file shopa_addproduct.asp and locate the following code :

pupdatefield "impressions", strimpressions

2) Remove the code above and save the file.

This should resolve the issue. If you are still experiencing the same issue after the fix above, please submit a ticket to our helpdesk and our support member will assist you immediately.

Thank you.

Regards,
Frank
VP-ASP Support
Go to Top of Page

Admiral The X
VP-ASP New User

USA
52 Posts

Posted - March 13 2009 :  00:13:16  Show Profile  Visit Admiral The X's Homepage  Reply with Quote
I have put this in place.
Good news is no resets... bad news is - it seems as though this was the piece of code that set the value of the impressions to zero from Null when you first create the record. This means when ever i make a product i must manually set the record to zero before it becomes an integer which can be incrimented.

is there more to this fix?

Air Armory - Airsoft
http://www.AirArmory.com - shop
http://sitrep.airarmory.com - news
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000