View Full Version : Fanupdate problem
Dream-on
04-20-2009, 09:30 PM
I have a blogging system called fanupdate. When I tried writing my first blog, it said this "WARNING: preg_replace() [function.preg-replace]: Unknown modifier ')'" I have ABSOLUTELY no idea what this means. I have tried re-installing and writing new posts but it simply won't work:mad:. I would be very greatful to anyone who could help. THANKS!!
Schmoopy
04-20-2009, 10:47 PM
Do you have any access to the PHP code, like can you modify it or anything? It will probably means there's a bracket within the function and then another one to terminate the function, but if this is a blogging system you should probably report the bug to them or if it's not a bug, see what you can do to fix it.
Dream-on
04-21-2009, 12:53 AM
Ok, so I tried switching this
<?php
// FanUpdate 2.2 blog
// subject: all posts
$main_limit = 5;
require_once('/home/dreamon/public_html/fanupdate/show-blog.php');
?>
<?php
// FanUpdate 2.2 blog
// subject: all posts
$main_limit = 5;
require_once('/home/dreamon/public_html/fanupdate/get-code.php');
?>
Cause thats the page its on. Now its says a whole bunch of other stuff. Maybe you can help now that you see the code. Also, for some reason, the blog dosent have a site. So, i have no way of contacting them :mad:.
Thanks for the help
Schmoopy
04-21-2009, 01:17 AM
Ok, it's good to see you have access to the code, but what you've posted doesn't really help here, you need to find the page with the preg_replace() function on it.
In the error it will probably say the line number and page that the error is on, hope you can find it.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.