Results 1 to 4 of 4

Thread: Fanupdate problem

  1. #1
    Join Date
    Apr 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Fanupdate problem

    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. I would be very greatful to anyone who could help. THANKS!!

  2. #2
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    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.

  3. The Following User Says Thank You to Schmoopy For This Useful Post:

    Dream-on (04-21-2009)

  4. #3
    Join Date
    Apr 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Hmm...

    Ok, so I tried switching this

    Code:
    <?php
    
    // FanUpdate 2.2 blog
    // subject: all posts
    
    $main_limit = 5;
    
    require_once('/home/dreamon/public_html/fanupdate/show-blog.php');
    
    ?>

    Code:
    <?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 .

    Thanks for the help
    Last edited by Snookerman; 04-21-2009 at 06:35 AM. Reason: added [code] tags

  5. #4
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •