Author |
Topic |
|
apswater
VP-CART Super User
444 Posts |
Posted - July 12 2017 : 11:29:38
|
When I try to restore a previous order I get this :
Microsoft VBScript runtime error ''800a000d''
Type mismatch: ''cbool''
/shop$db.asp, line 2525
It does add the items to the cart but the screen stops at the error. Anyone else see this? Solution?
Here is the code at 2525
2524 ''800 - 2016.11.18 - Bug Fix: Better hanlding on boolean type for mysql 5.6 2525 if GetConfig("xCookieLogin")="Yes" and cbool(blnCookieQuestion)=True then 2526 SaveCustomerDetailsCookie 2527 end if |
Edited by - apswater on July 12 2017 11:35:07 |
|
danielrichardson
VP-CART Super User
Australia
276 Posts |
Posted - July 25 2017 : 09:28:56
|
hmm, @aspwater what version do you use? it seems in newest vpcart version, they have fixed the issue. below is changelog for 8.1.0.6
8.1.0.6 - 2016.12.07 11. Bug Fix: Cart Cookies: Bundled Child Item not restored from cookie
8.1.0.8 - 2017.01.11 3. Bug Fix: Restore order: Feature price not restored properly
|
|
|
apswater
VP-CART Super User
444 Posts |
Posted - July 25 2017 : 22:49:54
|
hmm.. not sure, I did an update end f may. Thanks, Ill look into those. |
|
|
serjtankian
VP-CART Super User
Armenia
378 Posts |
Posted - July 26 2017 : 15:37:01
|
i think there''s a new update after may
*peace - serj* |
|
|
apswater
VP-CART Super User
444 Posts |
Posted - July 26 2017 : 15:54:02
|
I have made a lot of mods so straight updating is just about impossible. I have not found a place where they list just the changes. Do either of you know where that might be?
Also a quick question, I am writing something to force consistent url''s. Google and bing remove the title names from the URLs if the page loads without them which is the case with vpasp. This causes a loss of search traffic. Long story short, I grab the request.querystring("cat") on the categories page and compare it to the one I want then do a 301 redirect if it is not. Say I have cat=Laboratory+Equipment, when I grab the querystring it drops the + sign. I have not seen that before. Do you guys know why that is? when I print it out is response.write request.querystring("cat") it just prints "Laboratory Equipment"
|
Edited by - apswater on July 26 2017 15:55:27 |
|
|
apswater
VP-CART Super User
444 Posts |
Posted - July 26 2017 : 16:18:36
|
this is the code to check for the match if it lets me post it...
original url = /shopdisplaycategories.asp?id=916&cat=Laboratory+Equipment
if request.querystring("cat") <> replace(rsCat("catdescription"), " ","+") then %> title doesnt match : <%=replace(rsCat("catdescription"), " ","+")%> : <%=request.querystring("cat")%> <% else %> title does match : <%=replace(rsCat("catdescription"), " ","+")%> : <%=request.querystring("cat")%> <% end if
it does not match since it drops the + |
Edited by - apswater on July 26 2017 16:19:09 |
|
|
|
Topic |
|