|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
Well I am getting this in 7.3b4. I have done some hacks already, most of them just to comment out a few things. I am getting this error when adding a smiley to a post. I know it is not a bug since it is only happening on an altered site and not here, but I would like to figure it out to see what needs altering. I have not altered the libs/bbcode.inc.php file. It only happens when making a post and inserting a smiley. Parse error: syntax error, unexpected T_STRING in /home/glidercentral/public_html/test/libs/bbcode.inc.php(124) : regexp code on line 1
Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ''.$this->handle_graemlin(':clap:', '<img src="<<GRAEMLIN_URL>>/yelclap.gif" alt="$ubbt_lang['ICON_CLAP']" title="$ubbt_lang['ICON_CLAP']" height="30" width="20" />').'' in /home/glidercentral/public_html/test/libs/bbcode.inc.php on line 124 line 124 reads $body = preg_replace("/( |\n|^|\r|\])($smiley)( |$|\.|\?|!|\n|\r|\[)/ie", '\'$1\'.$this->handle_graemlin(\'$2\', \'' . $repl . '\').\'$3\'',$body);
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
Easy, > is being converted to its ASCII equivelant of >
|
|
|
|
|
|