Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 500 - Internal server
Author « Topic »  

mediator
Ecommerce Template Expert

United Kingdom
663 Posts

Pre-sales questions only
(More Details...)

Posted - 02/04/2020 :  02:47:45  
Hello I'm after some help I do realize this isn't part of the files from the ECT but I'm in hope someone might know a fix ! i have contacted the owner of the addon but have had no luck

I have had an addon file, pull product sheet ( purchased from http://ecomwebstore.com/proddetail.php?prod=PullSheetASP ) that just stopped working in the last 48 hours! I have not touched the file or updated any web.config, I have also contacted Fasthosts who have confirmed nothing has switched or changed server-side!

The whole site does work fine apart from this pull sheet and adminstats.asp ( only if you try and serach a date range )

I changed the web.config to below

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
</system.webServer>
<system.web>
<customErrors mode="Off"/>
<compilation debug="true"/>
</system.web>
</configuration>

it now shows error
HTTP/1.1 New Application Failed

ANY HELP PLEASE
regards
J

Vince
Administrator

42488 Posts

Posted - 02/04/2020 :  03:02:28  
Hi Mediator
I think to help find out what is going on it would be good to see the details of the error message. If you are confident making changes to the web.config file then adding this will sometimes work (depending on the server settings)...

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>

But if that doesn't display the error message details then try asking your host to turn on detailed error messages. Then copy and paste that error message here.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

mediator
Ecommerce Template Expert

United Kingdom
663 Posts

Pre-sales questions only
(More Details...)

Posted - 02/04/2020 :  03:18:41  
Ok after doing that im getting this

Microsoft VBScript runtime error '800a0006'

Overflow: 'cint'

/vsadmin/pullsheet.asp, line 119



Code from the file line 118 -126

<% if stockmgmt then
if cint(alldata(3,rowcounter)) < cint(alldata(2,rowcounter)) then
startfont="<font color='#FF0000'>"
endfont="</font>"
else
startfont=""
endfont=""
end if
end if%>

Edited by - mediator on 02/04/2020 03:22:06

Vince
Administrator

42488 Posts

Posted - 02/04/2020 :  03:45:18  
cint has a very low limit and errors when you go over it, so I think it's just overflowing. Try changing those cint to clng and see if that helps. clng is a "convert to long" function rather than "convert to integer"

if clng(alldata(3,rowcounter)) < clng(alldata(2,rowcounter)) then

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

mediator
Ecommerce Template Expert

United Kingdom
663 Posts

Pre-sales questions only
(More Details...)

Posted - 02/04/2020 :  04:00:26  
WOW thank you this worked!


Vince
Administrator

42488 Posts

Posted - 02/04/2020 :  05:42:04  
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000