Today when adding the article to generate a static page, an overflow occurred: 'CInt'.
After investigation, it was found:
It turns out that CINT does not support too large numbers, so it is estimated that there is a numerical range, so it will solve the problem by changing to CLNG.
Modify line 107 in MANAGE/INCLUDE/CreateFile_Fun.asp under TSYS.
Copy the code as follows: IfI=0Then
'The path to generate file storage
'The original prompt cint overflows FilePath=CreateFileSaveToPath(CIt(NewsId),Rs1("AddTime"),Rs1("Directory"))
'The original prompt cint overflows FileLocalPath=CreateFileLocalPath(CIt(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 overflows FilePath=CreateFileSaveToPath(CIt(NewsId),Rs1("AddTime"),Rs1("Directory"))
FilePath=CreateFileSaveToPath(CLng(NewsId),Rs1("AddTime"),Rs1("Directory"))
FilePath=Left(FilePath,(Len(FilePath)-Len(Def_FileExtension)))&"_"&I&Def_FileExtension