The page at http://... says: Error.

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 4, 2008   (RSS)

By Mowbray - April 4, 2008

I'm not sure if it's a good thing or a bad thing that I keep posting on this forum... [;)] but I have another problem.
It's not interfering with any functionality, but I wanted to make sure it didn't pop up for my client because I know she'll just freak out and call me.

So, when I save a single page record in my CMS, it pops up with a little window that says the following:

The page at http://so-and-so.com says:
<br />
<b> Warning </b>: preg_match()[a href='function.preg-match'>function.preg-match</a>]:
Compilation failed: range out of order in character class at offset 59 in <b>so-and-so.com/html/cmsAdmin/lib/menues/default/save.php</b> on line <b>99</b><br/>

[OK BUTTON]


The HTML comes up un-rendered like that too. Well, except the OK button, it's an actual button.

Any ideas on how to fix this? Is it as simple as editing line 99 of save.php?

Thanks,

Re: [Mowbray] The page at http://... says: Error.

By Mowbray - April 4, 2008

I meant to attach an image too, sorry for the second posting.

-Mowbray
Attachments:

error.png 12K

Re: [Mowbray] The page at http://... says: Error.

By Dave - April 4, 2008

Post away, we're here to help!

The error means that one of the fields on that page has a "allowed charset" value (in the field editor) which is invalid. Meaning the program doesn't understand it.

Check if one of the fields in that section has something set for "Allowed Charset" in the field editor under "Input Validation" and let me know what it is? It could be a value with a dash ("-") in it or maybe something else.

Once I can reproduce the problem locally I'll help you figure out what to replace it with and we'll add better error messages for that to the next version.

Hope that helps! :)
Dave Edis - Senior Developer
interactivetools.com