Kasum,

Which version of Symfony are you using?

In your batch script, do you have:

define('SF_ENVIRONMENT', 'cli');

This setting will configure Symfony for the console instead of the
web.

Kris

On Mar 27, 4:44 am, kusum <[email protected]> wrote:
> Hi,
>      I am sending emails via a batch script.
>
>       I need to send parameters to the email module via request params
> or
>      attributes...
>
>   It sends the data and mail is gong proper but gives warnings like -
>
>  PHP Notice: Undefined index: REQUEST_URI in /usr/share/php/symfony/
> request/sfWebRequest.class.php on line 384
> Notice: Undefined index: REQUEST_URI in /usr/share/php/symfony/
> request/
> sfWebRequest.class.php on line 384
> PHP Notice: Undefined index: SERVER_PORT in /usr/share/php/symfony/
> request/sfWebRequest.class.php on line 406
>
> Thanks,
> Kusum
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to