Re: mailing list size matters?

Joe Stewart <[email protected]> Wed, 9 Apr 2003 13:29:56 -0500
Newsgroups gmane.comp.cms.phpslash.user
Message-ID <[email protected]>
On Thu, Apr 10, 2003 at 02:33:25AM +1000, Lars wrote:
> I've seen the same thing myself...here's what I get when running it from 
> the console instead of cron (which doesn't seem to work):
> 
> <b>Warning</b>:  Wrong parameter count for error_reporting() in 
> <b>/home/pda-nytt/mailing/cronmail.php</b> on line <b>45</b><br />
>

There is a typo:

45 error_reporting(E_ALL,~E_WARN);

should be something like (untested):

error_reporting(E_ALL & ~E_WARN); 

Joe



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com