This is a discussion on PHPMAILER CRONTAB within the PHP General forums, part of the PHP Programming Forums category; I have a PHP page that send ad mail. If i call it in the browser it is ok and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a PHP page that send ad mail. If i call it in the browser it is
ok and send mail. If CRONTAB call it it give me this error: Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/httpd/vhosts/ mydomain/subdomains/test/httpdocs/folder/phpmailer/class.phpmailer.php on line 44 What could be it my problem? Thanks a lot. P.S. The page in the crontab before the use of phpmailer was ok. P.P.S. My php version è >5 |
|
|||
|
On May 8, 12:02*am, damar3 <dam...@gmail.com> wrote:
> I have a PHP page that send ad mail. If i call it in the browser it is > ok and send mail. If CRONTAB call it it give me this error: > > Parse error: parse error, unexpected T_STRING, expecting > T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/httpd/vhosts/ > mydomain/subdomains/test/httpdocs/folder/phpmailer/class.phpmailer.php > on line 44 > > What could be it my problem? > > Thanks a lot. > > P.S. > The page in the crontab before the use of phpmailer was ok. > > P.P.S. > My php version è >5 This looks to me a compiling error. An inverted commer where it shouldnt be or where it is required. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|