READ: How to DISPLAY the error that CAUSES a white web page

More
12 years 10 months ago - 12 years 10 months ago #16625 by ggppdk
About "page blanche"

Posting a bug about a white web page (of death) is unfortunately not helpful at all.

To understand the problem, a white page can only be caused by:

1. A fatal PHP error (here, our script language is PHP).
2. When (very rarely) the web server thread crashes (e.g. the thread of apache web server that serves our web page request, crashes).
3. You tell me a 3rd reason, i don't know

In the 2nd case, we would look at apache (web server) log files, hoping to find what is causing the problem.

In the 1st case, we must try to enable error reporting from:

1. Joomla Control Panel/General Settings/Server, we set the "Error Reporting" Select box to Simple or Maximum and the reloading the white page.

2. If the above does not make the error appear then it means that NOT joomla itself but some component (probably current one) or some module or some plugin is making a call to the php function error_reporting(...) and is turning off the error_reporting.

The fatal error occurs at some point after this statement (we don't know where).

The only thing we can do is do a global recursive text search of the joomla directory and find all calls to error_reporting(...) and comment them out. After doing this we will be able to see the error by reloading the white page.

We could try limiting the search to the current component code(frontend and backend as components tend to load parts of their backend code) and to the modules and plugin folder.

After that if error appear it would be easier to get help.

Does anyone know a more convenient way???


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 12 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #16634 by micker
great thanks for tips !

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #16667 by ggppdk
I have corrected my original message to contain more correct information about the problem, if anyone knows a better way please post a reply

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #16676 by micker
i move it in tips forum !

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.338 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline