tags:

views:

31

answers:

1

When I activate the module I just created and navigate to the page its on, the page is completely blank, no errors (even in debug mode). Its doing it right away at the line:

defined('_JEXEC') or die('Direct Access to this location is not allowed.');

I've removed that for testing purposes and it then dies at the next line:

require_once(dirname(__FILE__).DS.'helper.php');

I've included the helper file and checked the paths in my module XML config and everything looks good. I've even used the require_once with a direct path map and still have come up empty.

part of the XML:

<files>
          <filename module="mod_stocks_data">mod_stocks_data.php</filename>
          ...
          <filename>helper.php</filename>
          <filename>tmpl/default.php</filename>
          <filename>tmpl/index.html</filename>

What am I missing?

Thanks.

A: 

It's strange that you don't get any errors. You can force them to show up though. Try putting this at the top of your file—It tells PHP to report all the errors it gets.

<?php 
error_reporting (E_ALL);

That's gotten me out of the "White Screen Of Death" many times.

Garrett Bluma