Help Please!

4 posts by 3 authors in: Forums > CMS Builder
Last Post: January 8, 2010   (RSS)

By (Deleted User) - January 8, 2010

I have a table for inputting individual property listings. Whenever someone tries to save a listing, a popup window appears with this message:

Warning: preg_match(): Compilation failed: missing terminating ] for character class at offset 7 in /home/content/r/e/a/realtymagazine/html/cmsAdmin/lib/menus/default/save.php on line 129

Warning: preg_match(): Compilation failed: missing terminating ] for character class at offset 7 in /home/content/r/e/a/realtymagazine/html/cmsAdmin/lib/menus/default/save.php on line 129

I know some basics of PHP, and I know that preg_match() is sometimes confusing with its syntax, but I looked at save.php (I didn't change anything) on line 129, and didn't see anything wrong with it.

If users save records in any one of my other tables, there is no error.

Any help would be appreciated! Thanks

Re: [cjnovak] Help Please!

By (Deleted User) - January 8, 2010

Hey sorry, I figured it out. An administrator deleted the characters from the "Allow only these characters field", but left the dropdown as that option, not changing it back to "Allow all characters", so preg_match() was looking for empty characters.

Re: [cjnovak] Help Please!

By Chris - January 8, 2010

Hi cjnovak,

Thanks for reporting this. I've patched save.php so that problem won't come up in future versions. :)
All the best,
Chris