Baffled has asked for the wisdom of the Perl Monks concerning the following question:
You can end this string, the problem has been determined a missing / at the end of a url in the lib pointing to the dir that the array was trying to read.
Following advice gathered from this forum I added use CGI::Carp qw(fatalsToBrowser); to my main script page, and lo and behold, this is what I found....
Modification of non-creatable array value attempted, subscript -1 at /var/www/vhosts/mysite.com/cgi-bin/gallery.cgi line 40, <THEFILE> line 48.
Now pardon my ignorance but Im just happy I now have someway to try to resolve this problem. But Im a bit confused. This similar message comes up in various parts of my site, each time a different cgi file is named, ive pulled down 5 or so and opened them. This messages states line 00, <THEFILE> line 00 which im unsure what it means. 00 has different numbers like some said 150 or 48 and so on. I go line number 150 in the code or what ever line it says, but why two lines. Why can one be on line 150 and then the <THEFILE> then it says line 40? Does this relate to the line of code at all? or is there some reference numbers to known problems? or something else? Can someone explain this error message in more detail? Oh yeah, and PS- What is the subscript -1 mean?
Modification of non-creatable array value attempted, subscript -1 at /var/www/vhosts/mysite.com/cgi-bin/gallery.cgi line 40, <THEFILE> line 48.
Now pardon my ignorance but Im just happy I now have someway to try to resolve this problem. But Im a bit confused. This similar message comes up in various parts of my site, each time a different cgi file is named, ive pulled down 5 or so and opened them. This messages states line 00, <THEFILE> line 00 which im unsure what it means. 00 has different numbers like some said 150 or 48 and so on. I go line number 150 in the code or what ever line it says, but why two lines. Why can one be on line 150 and then the <THEFILE> then it says line 40? Does this relate to the line of code at all? or is there some reference numbers to known problems? or something else? Can someone explain this error message in more detail? Oh yeah, and PS- What is the subscript -1 mean?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Ignorance Isnt Always Bliss
by GrandFather (Saint) on Feb 12, 2008 at 02:27 UTC | |
by Anonymous Monk on Feb 12, 2008 at 07:13 UTC | |
by Baffled (Acolyte) on Feb 12, 2008 at 03:48 UTC | |
by GrandFather (Saint) on Feb 12, 2008 at 04:33 UTC | |
Re: Ignorance Isnt Always Bliss
by betterworld (Curate) on Feb 12, 2008 at 02:05 UTC | |
Re: Ignorance Isnt Always Bliss
by jrtayloriv (Pilgrim) on Feb 12, 2008 at 02:58 UTC | |
Re: Ignorance Isnt Always Bliss
by hipowls (Curate) on Feb 12, 2008 at 02:12 UTC | |
Re: Ignorance Isnt Always Bliss
by DrHyde (Prior) on Feb 12, 2008 at 11:30 UTC |
Back to
Seekers of Perl Wisdom