Closed (fixed)
Project:
Juicebox HTML5 Responsive Image Galleries
Version:
7.x-2.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2014 at 02:09 UTC
Updated:
11 Feb 2014 at 16:20 UTC
Jump to comment: Most recent
Comments
Comment #1
rjacobs commentedHi bherring,
Can you confirm which version of php you are using? I just realized that the magic php constant "__DIR__" (which I first used here in beta4) may only work in php versions 5.3 or greater, so I'm guessing you have a version that's below v5.3.
According to the Drupal requirements, the PHP requirement for Drupal 7 is "PHP 5.2.5 or higher (5.3 recommended)", So I may have made a mistake by introducing a construct that's not compatible with some php versions that Drupal 7 still supports. I'll need to fix this, but either way if you can confirm your php version that would be very helpful.
Comment #2
bherring commentedphp version 5.2.17
Comment #3
rjacobs commentedOk, that explains it then. This was an honest oversight. I've committed a change to address it (http://drupalcode.org/project/juicebox.git/commit/a42d3d4).
I've also pushed a "hotfix" release (7.x-2.0-beta5) that contains the fix.
Thanks for immediately reporting the full php error so that this could be addressed quickly.