Jump to content

Script returns blank page.


imfz99

Recommended Posts

Hello!

I have a problem with my joomla-based website.

One of my custom components returns an empty page.

The component generates a table, based on MySQL query results.

The problem seems to dissappear if i remove some of the columns from the table, (Not changing the query),

which makes me think something is wrong with memory on execution_time limits. However, memory_limit has been set to 256M and time limit has been set to 30 sec. (parsing time limit - 60), but the scripts returns an empty page after ~2 seconds.

How can i debug this thing? Is there any way to understand where the problem is?

I have tried error_reporting(-1), that way it shows me some html and notice messages before stopping the execution.

Other pages on the website seem to work fine, with their loading taking even more time.

Thanks for your help!

Link to comment
https://forums.phpfreaks.com/topic/171111-script-returns-blank-page/
Share on other sites

At a guess I'd say your query doesn't match the table structure, and when you change it, it does. Post your query and table structure. I'm pretty sure '-1' isn't a valid parameter for error_reporting by the way, and you might want to add display_errors to that.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.