MyBB Community Forums

Full Version: problem with special characters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello my forum is converted to UTF-8

I keep getting this error on every page

Warning [2] preg_replace() [function.preg-replace]: Unknown modifier 'v' - Line: 336 - File: inc/class_parser.php PHP 5.2.13 (Linux)

/inc/class_parser.php 	336 	preg_replace
/inc/class_parser.php 	152 	postParser->parse_mycode
/inc/functions_post.php 	546 	postParser->parse_message
/showthread.php 	823 	build_postbit

any way to fix this ??
What version of php do you run?
Hello Labrocca

PHP version 5.2.13
Reupload a fresh copy of the file, I don't think that's supposed to be there.
That can happen if part of the file is missing. As Matt said, reupload class_parser.php and overwrite the copy on the server.
ok i will give it a try

thanks
ok i try to upload the file but still same result Huh

[Image: mybbr.jpg]
Do you have any custom mycodes?
No mycodes
Reupload all the MyBB default files (except settings.php and config.default.php and the install folder) and overwrite the ones on the server. Sounds like you have a bad FTP host and the files are being partially uploaded.
maybe something's wrong with the mycode cache then, admin cp -> tools -> rebuild