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

NancyDru - September 20, 2009 - 19:06

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

msonnabaum - September 28, 2009 - 04:00

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

msonnabaum - September 28, 2009 - 04:00
Status:active» needs review

Forgot to mark "needs review".

#4

ezraw - October 16, 2009 - 04:25

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

ezraw - October 16, 2009 - 04:30

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

ezraw - October 16, 2009 - 04:31

With a better file name.

AttachmentSize
phone-fr.test.patch 487 bytes

#7

lyricnz - October 17, 2009 - 02:30

Yup, I have both these errors too.

#8

thierry_gd - October 27, 2009 - 21:52
Status:needs review» fixed

Fixed in 6.2.10 release

#9

System Message - November 10, 2009 - 22:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.