SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
bounce_back.pl bug

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> CommuniMail
View previous topic :: View next topic  
Author Message
raylutz



Joined: 25 Oct 2007
Posts: 11

PostPosted: Oct 25, 2007 2:54 am    Post subject: bounce_back.pl bug Reply with quote

I receive this error when I run bouce_back.pl as a cron job:

"my" variable $sth masks earlier declaration in same scope at clibs/SQL/CMAIL/User.pm line 157.

Do I have a bad version of the program?

--Raymond
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 130

PostPosted: Oct 25, 2007 6:56 am    Post subject: Re: bounce_back.pl bug Reply with quote

raylutz wrote:
I receive this error when I run bouce_back.pl as a cron job:

"my" variable $sth masks earlier declaration in same scope at clibs/SQL/CMAIL/User.pm line 157.

Do I have a bad version of the program?

--Raymond


That's not error, that's warning. Could be visible on some Perl versions. You can just ignore it.

Thanks
Back to top
View user's profile Send private message Send e-mail
raylutz



Joined: 25 Oct 2007
Posts: 11

PostPosted: Oct 25, 2007 4:13 pm    Post subject: Please provide a fix Reply with quote

I would rather not get this email each time the cron job is run. I'm sure there is a way to correct the code to correct this. Perhaps you would like to make a suggested change to the perl code. I don't mind editing the file to get rid of this boo-boo.

--Raymond
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 130

PostPosted: Oct 26, 2007 10:30 am    Post subject: Re: Please provide a fix Reply with quote

raylutz wrote:
I would rather not get this email each time the cron job is run. I'm sure there is a way to correct the code to correct this. Perhaps you would like to make a suggested change to the perl code. I don't mind editing the file to get rid of this boo-boo.

--Raymond


Sure, that's not a problem.
Find line 157 of User.pm (clibs/CMAIL/SQL/User.pm) you will see that it starts with "my $sth". Just remove "my" from there.
Thanks for letting us know, anyway.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> CommuniMail All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group