Download & Extend

Parse error: syntax error, unexpected $end

Project:Phone
Version:6.x-2.9
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#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.

AttachmentSize
phone_cck_tests.patch 1.23 KB

#3

Status:active» needs review

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.

AttachmentSize
phone-fr.test 487 bytes

#6

With a better file name.

AttachmentSize
phone-fr.test.patch 487 bytes

#7

Yup, I have both these errors too.

#8

Status:needs review» fixed

Fixed in 6.2.10 release

#9

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.