there's been lots of commits recently, I've not managed to track down
what's wrong here yet...

any ideas?

 # php ./batch/news.php

Fatal error: Call to a member function getLastEntry() on a non-object in
/var/www/--/lib/symfony/util/sfContext.class.php on line 200

Call Stack:
    0.0013      94040   1. {main}() /var/www/--/batch/news.php:0
    0.0336    1132144   2. sfContext::getInstance()
/var/www/--/batch/news.php:20
    0.0336    1132592   3. sfContext->initialize()
/var/www/--/lib/symfony/util/sfContext.class.php:87
    0.0345    1164456   4. sfLogger::getInstance()
/var/www/--/lib/symfony/util/sfContext.class.php:53
    0.0345    1164696   5. sfLogger->initialize()
/var/www/--/lib/symfony/log/sfLogger.class.php:75
    0.0346    1164776   6. sfCore::autoload()
/var/www/--/lib/symfony/util/sfCore.class.php:0
    0.0347    1164776   7. sfContext->getModuleName()
/var/www/--/lib/symfony/util/sfCore.class.php:151

Dump $_SERVER
Dump $_GET
Dump $_POST
Dump $_COOKIE
Dump $_FILES
Dump $_ENV
Dump $_SESSION
Dump $_REQUEST

------------------------------------

#!/usr/bin/php
<?php

define('SF_ROOT_DIR',    realpath(dirname(__FILE__).'/..'));
define('SF_APP',         'frontend');
define('SF_ENVIRONMENT', 'cli');
define('SF_DEBUG',       true);

require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');

-- 
Ian P. Christian ~ http://pookey.co.uk

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to