Topic: Index or size is negative or greater than the allowed amount" code: "1 Pages that link to <a href="https://ozoneasylum.com/backlink?for=29492" title="Pages that link to Topic: Index or size is negative or greater than the allowed amount&amp;quot; code: &amp;quot;1" rel="nofollow" >Topic: Index or size is negative or greater than the allowed amount&quot; code: &quot;1\

 
Author Thread
paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 09-03-2007 13:02 Edit Quote

Please why the hell am I getting this damn error in firebug. My stupid program works fine on every other server except on the main server.. HELP PLEASE!!!!!!

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 09-03-2007 15:02 Edit Quote

because you're accessing an array out of bounds?

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 09-03-2007 15:51 Edit Quote

Its not even executing the function at all.. I don't knwo where the issue of arrays comes up..I'm actually calling a function from teh onclick event of a button. The event is getting triggered but the function doesn't execute...

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 09-03-2007 18:21 Edit Quote

code please

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 09-04-2007 08:54 Edit Quote

HOnestly speaking it doesn't matter what the code is - he just wont execute the function at all . The function is in an included js file. The code on the button is

code:
onclick="proc_person('name', 2)"



And the function right now I've kept it empty - even then it doesn't call.

code:
function proc_person(name, id)
{
//nothing in here
}



Its scary - he wont even call an empty code block.. but gives the same error..it makes no sense :-(

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 09-04-2007 13:29 Edit Quote

[edited post ] any ideas...

(Edited by paritycheck on 09-04-2007 13:35)

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 09-04-2007 17:41 Edit Quote

onclick="alert(proc_person") - to see if it really is the function you're expecting and not something else.
Plus, add that semicolon after ) - it belows there .

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 09-19-2007 12:50 Edit Quote

[bump] [bump]

One of those days when you find that the source of a real big problem.. is anything but big. Apparently my page had a country combo box which would load names of countries from a databse... the problem was that someone didn't fill the required country tabel with any entries and so the result ws a combo box with a array of ZERO options . Kinda funny now that I look at it



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu