$> symfony clear-cache ?
On Mar 10, 7:38 pm, Chris <[EMAIL PROTECTED]> wrote:
> hi,
>
> I just discover that all my production batch are down because of upgrade
> to 1.0.0 !!
>
> in 0.7 i was using :
>
> factories.yml:
>
> cli:
> controller:
> class: myConsoleController
> request:
> class: myConsoleRequest
> response:
> class: myConsoleResponse
>
> all the 'my' classes are empty
>
> the batch file :
> define('SF_ROOT_DIR', realpath(dirname(__file__).'/..'));
> define('SF_APP', 'frontend');
> define('SF_ENVIRONMENT', 'cli');
> define('SF_DEBUG', false);
>
> require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
> sfContext::getInstance();
>
> sfContext::getInstance()->getController()->dispatch('myModule', 'myAction');
>
> now when a batch start i have this error :
>
> PHP Fatal error: Uncaught exception 'sfException' with message 'Call to
> undefined method sfRequest::getMethodName' in c
> :\devel\enchrv3\cache\frontend\cli\config\config_core_compile.yml.php:1183
> Stack trace:
> #0 [internal function]: sfRequest->__call('getMethodName', Array)
> #1
> c:\devel\enchrv3\cache\frontend\cli\config\config_core_compile.yml.php(2745):
> sfConsoleRequest->getMethodName()
> #2
> c:\devel\enchrv3\cache\frontend\cli\config\config_core_compile.yml.php(1466):
> sfWebResponse->initialize(Object(sfCont
> ext), NULL)
> #3
> c:\devel\enchrv3\cache\frontend\cli\config\config_core_compile.yml.php(1494):
> sfContext->initialize()
> #4 c:\devel\enchrv3\batch\update_encheres.php(11): sfContext::getInstance()
> #5 {main}
> thrown in
> c:\devel\enchrv3\cache\frontend\cli\config\config_core_compile.yml.php
> on line 1183
>
> I saw nothing about this in the forum, wiki, mails and docs...
>
> Can someone help me please ?
>
> --
> Regards
>
> Christophe
> enchR.fr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---