Parse error: syntax error, unexpected $end
NancyDru - September 20, 2009 - 18:59
| Project: | Phone (CCK) |
| Version: | 6.x-2.9 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Parse error: syntax error, unexpected $end, expecting T_FUNCTION in C:\www\webapps\drupal-6\sites\all\modules\phone\phone-fr.test on line 111

#1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\www\webapps\drupal-6\sites\all\modules\phone\phone-nz.test on line 69
Parse error: syntax error, unexpected T_STRING in C:\www\webapps\drupal-6\sites\all\modules\phone\phone-nz.test on line 69
#2
I'm getting both of these errors as well; they are breaking the simpletest UI.
Patch attached.
#3
Forgot to mark "needs review".
#4
I get the same error (with Simpletest) on phone-fr.test.
Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /mypath/sites/all/modules/phone/phone-fr.test on line 111
#5
Here's a patch for the issue in #4. It's my first patch, so apologies if it's not in the correct format.
#6
With a better file name.
#7
Yup, I have both these errors too.
#8
Fixed in 6.2.10 release
#9
Automatically closed -- issue fixed for 2 weeks with no activity.