Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

HELP website went blank after trying to fix preg null replce problem
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: HELP website went blank after trying to fix preg null replce problem

HELP website went blank after trying to fix preg null replce problem 11 years ago #14109

Hi I'm fairly new to joomla and website designing.Recently I encountered a problem with preg replace null so I decided to fix it by one of our method mentioned in the forums

$body1= preg_replace('@<form\s[^>]*name="adminForm"[^>]*>?.*?</form>@siu', $buffer, $body);

replace:

$body1 = preg_replace('@<form\s[^>]*name="adminForm"[^>]*>([\w|\W]*)</form>@msu', $buffer, $body);

everything goes wrong from there onwards,my website just appear blank whenever I tried to access it.
Please take a look at it asap as I need to get it work asap.

Re: HELP website went blank after trying to fix preg null replce problem 11 years ago #14125

Okay,I kinda solve it by replacing the yt.php file with the back up yt.php file AGAIN this morning
and everything works again.Now only few minor bugs inside the website that still needs to be tweak due to this issue.

Re: HELP website went blank after trying to fix preg null replce problem 11 years ago #14127

Dear Steve,

Please send the screenshots to me if possible.

Thanks!

Re: HELP website went blank after trying to fix preg null replce problem 11 years ago #14128

Dear Sa Anh,

Thank you for the reply the problem has been fix for now,as for the preg replace null error,I had to manually download the latest yt framework to install since I cant update it via my joomla 2.5.

this is what recorded in my error log of my website.

__________________________________________________________________________[18-Nov-2013 23:48:35 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:48:36 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:48:39 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:48:43 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:48:46 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:48:46 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:48:47 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:48:48 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:48:48 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:53:17 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:53:22 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:53:23 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:53:25 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:53:26 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:59:56 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:59:58 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[18-Nov-2013 23:59:59 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:00:00 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:00:00 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:00:00 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:00:01 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:00:02 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:15:15 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:16:39 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:19:52 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:19:53 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:19:54 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:19:54 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:20:26 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:20:27 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:29:52 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:29:54 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:29:55 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:29:55 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:29:56 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:29:57 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 00:29:57 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 08:49:09 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 08:49:48 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 08:56:51 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected $end in /home2/harvestc/public_html/developer/jyewei/makerzone2/plugins/system/yt/yt.php on line 1
[19-Nov-2013 09:12:30 Asia/Kuala_Lumpur] OAuthException: An active access token must be used to query information about the current user.
Last Edit: 11 years ago by siljwc@gmail.com.

Re: HELP website went blank after trying to fix preg null replce problem 11 years ago #14132

Dear Steve,

If you need more assistance, please contact with us.

Thanks!
  • Page:
  • 1
Time to create page: 0.31 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes