keep getting error message when I update from 1.18 on Pantheon site. It wants to make 4 updates thru 1.19, the 1.19 fix and 1.20. Site won't open after each attempt

Parse error: syntax error, unexpected $end in /srv/bindings/7a64ac833d2a4c5492c625db133617e0/code/profiles/panopoly/modules/contrib/jquery_update/jquery_update.module on line 478

CommentFileSizeAuthor
Screen Shot 2015-04-16 at 8.35.54 AM.png118.33 KBfrogrock
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

frogrock’s picture

Issue summary: View changes
dsnopek’s picture

Status: Active » Postponed (maintainer needs more info)

Can you share the content of the jquery_update.module file at profiles/panopoly/modules/contrib/jquery_update/jquery_update.module after the update attempt?

It seems like there is a syntax error in that file on your site.

Maybe a merge conflict? Did you change that file sometime before doing the upgrade, such that the changes the upgrade is trying to make are conflicting with the changes that you made?

Anyway, I just tried installing a fresh Panopoly 1.20 site on Pantheon and everything worked fine, so there is no syntax error in that file in the upstream repo...

frogrock’s picture

thanks for response, yes, the same error occurred again trying to use 1.21. I didn't change anything. I did tell the update to resolve conflicts. Was that a mistake??? 7.1.0 is many years old. Is there a place to get the specific 7.1.7? I presume I need to dump the existing file and replace it with a new version of 7.1.7 or whatever.

frogrock’s picture

ok realize that was a dumb ? can select verson in the module config, so am trying to reset to hopefully clean version of jq 1.7

dsnopek’s picture

The error in the issue summary is fatal error with parsing the PHP code in profiles/panopoly/modules/contrib/jquery_update/jquery_update.module, so this isn't an issue with configuration - it's a problem in the code in that file.

Can you do the upgrade then copy the contents of that file and share them here? Ideally, put it on a snippet service like https://gist.github.com/ or http://pastebin.com/ and include the link in a comment here.

Like I said in #2, there isn't a problem parsing that file in vanilla Panopoly, so it's some issue with that file specifically on your site after the upgrade.

frogrock’s picture

so, have dumped jquery from profile/contrib folder and redownloaded and reinstalled jq2.5 and selected 1.7 in regular and admin modes and told pantheon not to resolve conflicts and get basically the same message when I try to upgrade what is now 6 updated versions of Panopoly. here message:

A conflict occurred attempting to merge upstream updates. The conflicts are:

CONFLICT (content): Merge conflict in profiles/panopoly/modules/contrib/jquery_update/jquery_update.module

Should I be selecting a different version of jq update?

dsnopek’s picture

Status: Postponed (maintainer needs more info) » Active

Try telling Pantheon to resolve conflicts. It sounds like you updated the jquery_update version at some point, so the updates that we made to it in vanilla Panopoly are conflicting. After the update, you can put the version of jquery_update you want to use under sites/all/modules (instead of profiles/panopoly/modules) and then you shouldn't get these conflicts in the future.

frogrock’s picture

thanks. I must have as you said. I moved jquery over to sites/all/modules and it now works like a dream with 1.21 now installed!!!! should I still be using jq1.7 ???

dsnopek’s picture

Status: Active » Fixed

Awesome! Glad you got it worked out. :-)

Status: Fixed » Closed (fixed)

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