Jump to content

Fatal error: PHP warning in file /tmp/ec544dc7_TemplatePluginPrefilterLang.class.php (30): preg_replace_callback():


Recommended Posts

I'm not hoping to much that I can solve this thing, but maybe someone here who knows php well can help me.


Screenshot: http://extrazoom.com/image-70122.html?heuln50x50
File:  https://mega.nz/#!uYgWmRTL!5ZyabPKnYWjeG2sL_PXyfFaAKaJiv4zceQGrky7fmPk

 

And yes, I replaced "preg_replace" with "preg_replace_callback" and I ended up here:

Screenshot::     http://extrazoom.com/image-70124.html?heuln50x50

 

Thank you and sorry for my bad english, if it's bad  :happy-04: .

Read the documentation of preg_replace_callback() in the PHP manual. It explains exactly how the function works and shows several examples.

 

What you need is a callback function which receives the matches array as an argument and returns the replacement string:

function ($matches)
{
    return ...;    // the replacement for the matching substring
}

Thanks, but... Please, you would do that for me? I don't have a clue about how to do that. I just wanted to install o forum (Woltlab) by watching a tutorial and at some point I ended up with that.

I know that I'm asking a little bit to much, but if you want to help me, I'd be grateful. Thank you.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.