Activating the module causes 500 error

My apache logs reveal this error
PHP Parse error: syntax error, unexpected T_STRING in /var/aegir/platforms/dev2/drupal-7.0/sites/all/modules/eva/eva.module on line 108, referer: http://trouble1.pearsoncommunications.com/admin/modules

Comments

btmash’s picture

Status: Active » Needs review
StatusFileSize
new642 bytes

The two errors I see are with the views_cache_get and views_cache_set - the ids are missing the final quotation. Attaching the patch that would fix this aspect. I was able to install the module after that point.

btmash’s picture

StatusFileSize
new640 bytes

Actually...I'm a bit confused...I'm guessing the ':' that is there is meant to be a quotation. So another patch.

GerdC’s picture

subscribe

splash112’s picture

Neat idea, was looking for something like this. ;-)

joostvdl’s picture

Patch #2 is working.

eaton’s picture

Status: Needs review » Fixed

Committed to the 7.x-1.x branch. Thanks!

Status: Fixed » Closed (fixed)

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