Tell me more ×  I am trying to add some administration scripts
to a Zend Framework project, that will end up being run nightly
via cron.  However I've hit my first problem with the script
when trying to use Zend_Db. I am currently doing a very simple
SQL call to get some results and just display them using
var_dump() however I get the following error message:   The
script so far looks like this:   ini_set('display_errors', 1);
//directory setup and class loading set_include_path('.' .
PATH_SEPARATOR . '../library/' . PATH_SEPARATOR .
'../application/models/'                     . PATH_SEPARATOR .
'../library/MyApp/'                     . PATH_SEPARATOR .
get_include_path());  include "Zend/Loader/Autoloader.php";
$autoloader = Zend_Loader_Autoloader::getInstance();  //start
sessions  //read configuration data $config = new
Zend_Config_Xml('../application/config/config.xml', 'app');
//we create an ability to capture errors and write them to an
error log if there are problems. $log = new Zend_Log(); $writer