Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Help with string error

New Here ,
Nov 03, 2008 Nov 03, 2008
I'm working on a simple add/edit/delete function and I'm getting this error when I try to add items via a form:

String index out of range: -2

What does that mean?
-MK
TOPICS
Database access
304
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 03, 2008 Nov 03, 2008
LATEST
> I'm working on a simple add/edit/delete function and I'm getting this error when I try to add items via a form:
>
> String index out of range: -2

Does it give a line number or does it point you to a specific line of code?

Which version of CF are you using? Older versions of CF (6.0? earlier
releases of 6.1?) used to sometimes spit out a "string index out of range"
error when the source code first compiled, some times.

You're not really giving us much to go on, here.

--
Adam
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources