Overflow when generating static pages in TSYS: "CInt"

Source: Internet
Author: User

The static page generated by adding an article today is: 'cint '.
It was found that:
It turns out that CINT does not support too many numbers. It is estimated that there is a numerical range, so CLNG solves the problem.
Modify row 107th in MANAGE/INCLUDE/CreateFile_Fun.asp under TSYS. Copy codeThe Code is as follows: If I = 0 Then
'File storage path generated
'The original prompt cint overflow FilePath = CreateFileSaveToPath (CInt (NewsId), Rs1 ("AddTime"), Rs1 ("Directory "))
'The original prompt cint overflows FileLocalPath = CreateFileLocalPath (CInt (NewsId), Rs1 ("AddTime"), Rs1 ("Directory "))
FilePath = CreateFileSaveToPath (CLng (NewsId), Rs1 ("AddTime"), Rs1 ("Directory "))
FileLocalPath = CreateFileLocalPath (CLng (NewsId), Rs1 ("AddTime"), Rs1 ("Directory "))
Else
'The original prompt cint overflow FilePath = CreateFileSaveToPath (CInt (NewsId), Rs1 ("AddTime"), Rs1 ("Directory "))
FilePath = CreateFileSaveToPath (CLng (NewsId), Rs1 ("AddTime"), Rs1 ("Directory "))
FilePath = Left (FilePath, (Len (FilePath)-Len (Def_FileExtension) & "_" & I & Def_FileExtension

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.