On Feb 7, 2008 1:58 PM, Mauricio Cuenca <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am building a new application and I want to place database stuff and
> configuration in one file. But when I include the files in any of the
> controller scripts I get an error.
>
> I am sure the problem is not related to a file not found or a syntax error,
> I am doing something like this in IndexController.php:
>
> /** Zend_Controller_Action */
> require_once 'Zend/Controller/Action.php';
> require_once 'Zend/View.php';
>
> include_once 'myconfig.php';

Possible fixes:
a) change to require_once and fix the error you get ;-)
b) Did "a" but don't see an error? set display_errors = 1 in php.ini
and try again. :)

If you have no access to your php.ini, check various logs (syslog,
etc.) for PHP errors.

Cheers,
Till

Reply via email to