2014-04-15, 04:05:22
Just to follow up on this in case somebody else should run into the same problem:
Jason helped me via email very quickly and it turned out that a single slash was the issue:
----------------------------------------------------------------------------
On the line that has the issue 672:
> if(!preg_match('/^[\w_-\s]+$/',$tab)){$SIT_WARNING = 2; $ok=false;}// Tab has invalid characters?
There might be an issue with some PHP versions with the - character. Apparently a solution is to escape it, like so \-
So the line would end up looking like this:
> if(!preg_match('/^[\w_\-\s]+$/',$tab)){$SIT_WARNING = 2; $ok=false;}// Tab has invalid characters?
-----------------------------------------------------------------------------
Thank you so much Jason!
Cheers,
Tom
Jason helped me via email very quickly and it turned out that a single slash was the issue:
----------------------------------------------------------------------------
On the line that has the issue 672:
> if(!preg_match('/^[\w_-\s]+$/',$tab)){$SIT_WARNING = 2; $ok=false;}// Tab has invalid characters?
There might be an issue with some PHP versions with the - character. Apparently a solution is to escape it, like so \-
So the line would end up looking like this:
> if(!preg_match('/^[\w_\-\s]+$/',$tab)){$SIT_WARNING = 2; $ok=false;}// Tab has invalid characters?
-----------------------------------------------------------------------------
Thank you so much Jason!
Cheers,
Tom