Sign up ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

Today and the last few days I had lots of problems with drush. On last Thursday I downloaded Devel via drush and when i tried to install it but then i got the error

PHP : Parse error: syntax error, unexpected $end on line 120 in devel.drush.inc

The thing is, there is NO syntax error around. I opened it with Netbeans and there was no problem. As soon as I saved the file again, all was fine and error disappeared.

Either my Ubuntu VM or Drush causes that extreme problem.

Does anybody have a clue what causes this problem?

share|improve this question
    
Hard to say without more information but this sounds like an EOL marker problem to me...the fact that saving the file in a particular editor fixed the problem supports that quite strongly –  Clive Mar 19 '13 at 15:47
    
Do you have APC enabled? If so, what are you using for apc.stat and apc.ttl, and have you tried disabling APC? –  MPD Mar 19 '13 at 18:19
    
EOL marker? allright, need to look into that –  martinpe Mar 20 '13 at 11:13
    
@MPD I haven't got APC running –  martinpe Mar 20 '13 at 11:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.