|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On May 8, 12:02am, 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. |
|
![]() |
| Outils de la discussion | |
|
|