syntax error, unexpected '=', expecting ')' in mailhandler.retrieve.inc
ongola_boy - August 22, 2009 - 18:46
| Project: | Mailhandler |
| Version: | 6.x-1.8 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Jump to:
Description
Hello,
when I try to retrieve my mails, I got this error:
Parse error: syntax error, unexpected '=', expecting ')' in /../all/modules/mailhandler/mailhandler.retrieve.inc on line 625

#1
I also finding same error .
Please anyone can help us to resolve this error.
I am using Mailhandler 6.x-1.8 module in drupal 6.13 version.
I am referring http://drupal.org/node/542118
http://www.venturacottage.com/tutorials/adding-content-site-email
link for settings mailhandler in my side.
When I set the mailbox,and send mail to that email id, and after click
on that retrieve link on that drupal site where we set the mail box
then it will give me following error:
Parse error: syntax error, unexpected '=', expecting ')' in
/hsphere/local/home/amrutequ/equestind.com/indug_mail/sites/all/modules/mailhandler/mailhandler.retrieve.inc
on line 625
This 625 line contains function call as follows:
function mailhandler_retrieve_message(&$result = FALSE, $mailbox, $i,
&$context) {
Please help me for resolve this error.
#2
The parameters of your function should be on the same line. Your line seem to be broken.
Try editing the file, and remove that line break.
I suggest you also check for other occurrences of this issue in your installation, in case it comes form some editor on your system.