imfz99 Posted August 20, 2009 Share Posted August 20, 2009 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! Quote Link to comment https://forums.phpfreaks.com/topic/171111-script-returns-blank-page/ Share on other sites More sharing options...
Adam Posted August 20, 2009 Share Posted August 20, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/171111-script-returns-blank-page/#findComment-902375 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.