Closed (fixed)
Project:
Shadowbox
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Anonymous (not verified)
Created:
6 Jan 2009 at 14:03 UTC
Updated:
16 May 2024 at 00:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
psynaptic commentedHave you made sure the file exists at that path?
Comment #2
Anonymous (not verified) commentedYes (one of the first things I did). I even re-copied that file in case something went wrong the first time... Still no luck.
Comment #3
psynaptic commentedIve had problems with that before. Something to do with the validation of the file. Check for a file_exists() function call and dump some stuff to see if you can find what it is. Sorry I don't have time to look into it myself right now and you are in the perfect situation to find a bug since it's happening to you i.e. you have the environment set up where the problem is occurring.
Comment #4
Anonymous (not verified) commentedI found it! It wasn't quite the file_exists() function, but the one right above it:
All it was missing was a '\.' in the regular expression to allow URLs like 'sites/my.site.com/modules/shadowbox/etc' (had to teach myself regular expressions to figure this out ;)
I created a patch of shadowbox.module in the 6.x-2.x-dev (2008-Nov-14) version and attached it.
Comment #5
Anonymous (not verified) commentedThought I attached it...
Comment #6
psynaptic commentedWell done!
I love it when people teach themselves about the problem, it really shows true Drupal spirit.
Thanks for the patch. I'll update this ASAP in the dev version. Just got to finish this project first..
Comment #7
psynaptic commentedThanks BWPanda, this has been committed to the DRUPAL-5--2 and DRUPAL-6--2 branches.
http://drupal.org/cvs?commit=164516
http://drupal.org/cvs?commit=164517
Comment #8
Anonymous (not verified) commentedGlad to help!