[#1933] prevent blank page on parse error

13 years 8 months ago #140543 by meloman
After I installed CB 1.2.3 and the french plugin I had the infamous blank page when I went on my profile page. This bug happened only when the site was viewed in french. When I switch to english (with the joomfish module) everything was fine.

I spent hours debugging with Eclipse + XDebug to find it was a stupid parse error in the french plugin. In fact there were 4-5 errors in the file. :pinch:

It crashed in plugin.foundation.php at that line :
[code:1]@include_once( $langPath . '/' . $lang . '/' . $filename );[/code:1]

Because of the "@" there were no error on the screen. Only a blank screen. I finally saw the error when I removed that "@". I suggest that every "@" in front of "include" or "require" be removed. This would prevent other people from losing hours from their already busy day! ;)

Post edited by: krileon, at: 2010/08/24 17:26

Please Log in to join the conversation.

13 years 8 months ago #140622 by krileon
Have added a bug report to have issue further investigated. Regardless of the error being silenced it should show within your server error log. The @ just silences it from frontend display, but I agree it should display.

#1933


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 8 months ago #140653 by meloman
It's not in my log (/var/log/apache2/error.log)
Maybe it don't display because the script crash with a parse error?

Anyway, thanks for creating a bug report!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.358 seconds

Facebook Twitter LinkedIn