Blank page due to preg_replace function

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
alphatran
Registered User
Posts: 38
Joined: Sun Jul 20, 2008 5:09 am

Blank page due to preg_replace function

Post by alphatran »

Hi phpBB community,

My forum got error when submiting post, by debugging I found that it's caused by preg_replace function in /includes/function_content.php

Detail position:
File: /includes/function_content.php
Funtion in file: function make_clickable($text, $server_url = false, $class = 'postlink')
Line error: return preg_replace($magic_url_match, $magic_url_replace, $text);

I hope you have solution for this. Please help me!

Thank you very much!
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Blank page due to preg_replace function

Post by Oyabun1 »

Please fill out the Support Request Template and post it back here to enable us to assist you better. The "When did your problem begin?" question means: Please describe the actions you took (updating your board, installing a MOD, etc.) prior to this problem becoming noticeable.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
alphatran
Registered User
Posts: 38
Joined: Sun Jul 20, 2008 5:09 am

Re: Blank page due to preg_replace function

Post by alphatran »

Oyabun1 wrote:Please fill out the Support Request Template and post it back here to enable us to assist you better. The "When did your problem begin?" question means: Please describe the actions you took (updating your board, installing a MOD, etc.) prior to this problem becoming noticeable.
Thanks Oyabun1 for fast support

I found and fixed the issues. It caused by missing a function in call_back for preg_replace.

Thank you very much!
Locked

Return to “[3.0.x] Support Forum”