Server goes down (Full Version)

Foro Flamenco: http://www.foroflamenco.com/
- Discussions: http://www.foroflamenco.com/default.asp?catApp=0
- - General: http://www.foroflamenco.com/in_forum.asp?forumid=13
- - - Server goes down: http://www.foroflamenco.com/fb.asp?m=355521



Message


Escribano -> Server goes down (Sep. 26 2024 12:28:19)

Post count is getting high and overflowing. I am fixing the code, so bear with me.




kitarist -> RE: Server goes down (Sep. 27 2024 3:01:16)

Thank you very much, Simon, for all your work keeping this precious forum working!




orsonw -> RE: Server goes down (Sep. 27 2024 8:32:48)

Thank you, as always Simon for your time and expertise maintaining the foro.

How are you in terms of foro donations, is it about right or does it need to increase?




silddx -> RE: Server goes down (Sep. 27 2024 8:38:37)

Yes, thanks very much, Simon!




metalhead -> RE: Server goes down (Sep. 27 2024 10:43:47)

Are you a software developer?




Escribano -> RE: Server goes down (Sep. 27 2024 10:46:37)

Indeed I am




Escribano -> RE: Server goes down (Sep. 27 2024 10:47:33)

A few here and there. It all helps.




silddx -> RE: Server goes down (Sep. 27 2024 12:25:28)

I set up a £1 per month donation on PayPal, I thought if a bunch of us do that it would help Simon maintain this lovely place.




Escribano -> RE: Server goes down (Sep. 27 2024 12:56:23)

Many thanks!




metalhead -> RE: Server goes down (Sep. 27 2024 13:48:02)

If I give you a website redesign (free of course), would you implement it?




Escribano -> RE: Server goes down (Sep. 27 2024 15:34:48)

Thanks but it’s too complex to implement to a newer platform and design and I don’t have that kind of time.




rafapak -> [Deleted] (Sep. 27 2024 23:26:03)

Post has been moved to the Recycle Bin at Sep. 27 2024 23:26:16




rafapak -> RE: Server goes down (Sep. 27 2024 23:27:40)

quote:

I set up a £1 per month donation on PayPal, I thought if a bunch of us do that it would help Simon maintain this lovely place.


how do you do it technically ? I would like to contribute but I would like to pay in euros.




silddx -> RE: Server goes down (Sep. 28 2024 11:13:23)

If you click the donate button at the top of the page it takes you to a PayPal button as well as the usual debit and credit cards button.




Arash -> RE: Server goes down (Sep. 28 2024 14:40:32)

Here is chatgpt's answer to the issue, i dont knowif it helps [:D]

The error you're seeing is a Microsoft VBScript runtime error `'800a0006'`, which indicates an **overflow** issue with the `Cint` function in VBScript. Here's an explanation of the specific elements involved in this error:

### **Understanding the Error:**

1. **Error Code: '800a0006' (Overflow):**
- This error occurs when the value passed to a function (in this case, `Cint`) exceeds the limits that the function can handle. In VBScript, `Cint` is used to convert a value to an integer.

2. **Function: `Cint`:**
- The `Cint` function converts a given value to a 16-bit integer. The range for a 16-bit integer is **-32,768 to 32,767**.
- If the value being passed to `Cint` is outside this range, the system cannot convert it and raises an overflow error.

3. **File: `/session.asp`, line 135:**
- This indicates the error occurs in the file `session.asp` on line 135. The code on that line is likely using `Cint` to convert a value (such as a session variable or user input) to an integer, but the value exceeds the limits of the `Cint` function.

### **Possible Causes:**

- **Large Numeric Value:** A value larger than 32,767 (or smaller than -32,768) is being passed to `Cint`. This might be coming from user input, a session variable, or a database field.

- **Invalid Input:** If non-numeric or extremely large values (e.g., alphanumeric strings or high numeric values) are passed to `Cint`, this will trigger an overflow error.

### **Solution:**

- **Replace `Cint` with `CLng`:** If the value being converted can be larger than the `Cint` range, consider using `CLng`, which converts values to a **32-bit integer** with a much larger range (-2,147,483,648 to 2,147,483,647).

Example:
```vbscript
' Original code causing the error:
intValue = Cint(possibleLargeValue)

' Fixed code using CLng to prevent overflow:
intValue = CLng(possibleLargeValue)
```

- **Validate Input:** Ensure that the value being passed to `Cint` is within the acceptable range. Use input validation or error handling to catch cases where the input is outside of the `Cint` range.

### Summary:

The error is due to an overflow when trying to convert a value using `Cint` in `session.asp` at line 135. This can be fixed by using `CLng` or ensuring the value being converted is within the acceptable range for `Cint`.




silddx -> RE: Server goes down (Sep. 28 2024 17:23:07)

quote:

This can be fixed by using `CLng` or ensuring the value being converted is within the acceptable range for `Cint`.


Ahh, yeah, that's what I thought too [;)]




metalhead -> RE: Server goes down (Sep. 28 2024 19:06:51)

understandable




Escribano -> RE: Server goes down (Sep. 28 2024 20:31:48)

Thanks guys, I understand the error message and the proposed solution but not the consequences. Still working on this creaking, old tub.




Page: [1]

Valid CSS!




Forum Software powered by ASP Playground Advanced Edition 2.0.5
Copyright © 2000 - 2003 ASPPlayground.NET