Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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