Closed (fixed)
Project:
Zoomify
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2009 at 13:33 UTC
Updated:
5 Nov 2009 at 15:02 UTC
My install can't seem to find the swf file, though its in the right place.
in the relative url box i have: sites/all/modules/zoomify/ZoomifyViewer.swf
The URL http://example.com/sites/all/modules/zoomify/ZoomifyViewer.swf does not exist. Please type a valid URL to the Zoomify Flash applet.
When I go to the full url, I see a zoomify applet -- so its in the right place.....but the settings page doesn't see it.
Comments
Comment #1
saltcod commentedhttp://drupal.org/node/503050
It appears that I'm just having the same version in this thread.
I tried going back to previous versions of zoomify, and previous versions of Drupal, but all with the same result. I've also tried the dev release.
?
Comment #2
infojunkieCan you please check your PHP settings (using
phpinfo()for example) and let me know the value of theallow_url_fopendirective?Comment #3
infojunkieI committed a fix in the dev branch that uses a different technique for checking the validity of the URL. Please try it (12 hours from now) and let me know if it works better for you. Thanks!
Comment #4
saltcod commentedHi,
Just updated to the dev release (Sept 15)...but same problem. It can't find the zoomifyViewer.
Comment #5
davidhk commentedI have the same problem. I started with the 1.3 version, then updated to current dev.
With the dev version, trying to save the settings gives the following error messages:
# warning: get_headers() [function.get-headers]: URL file-access is disabled in the server configuration in /nfs/c03/h05/mnt/51424/domains/t.batgung.com/html/drupaldir/sites/all/modules/zoomify/zoomify.module on line 148.
# warning: get_headers() [function.get-headers]: This function may only be used against URLs. in /nfs/c03/h05/mnt/51424/domains/t.batgung.com/html/drupaldir/sites/all/modules/zoomify/zoomify.module on line 148.
# The URL http://t.gwulo.com/sites/all/modules/zoomify/ZoomifyViewer.swf does not exist, error reported is . Please type a valid URL to the Zoomify Flash applet.
I've commented out the code that performs this check in the zoomify_admin_settings_validate function in zoomify.module, and now the module works correctly.
I am running a multi-site installation of Drupal, in case that causes any problems.
Let me know if there's any other info you need.
Comment #6
infojunkie@mrb, thanks for the debug output, it is helpful to diagnose the problem. I'll check what causes this error and how it can be avoided.
Comment #7
infojunkieFixed. I am still checking for the validity of the URL but using a method that should not fail because of security restrictions. I'd be very grateful if people could try the latest dev (12 hours from now).
Comment #8
davidhk commentedI've just tried the new dev, and the problem no longer happens. Thanks for the quick fix.
Comment #9
saltcod commentedMine still doesn't see the viewer in relative path.
I've got ZoomifyViewer.swf in sites/all/modules/zoomify/ but it won't see it.
Comment #11
infojunkieZoomify now produces a warning instead of an error if the Flash player is not found.
Comment #12
asb commentedHi,
(coming from #503050: Website recursive embedded into applet window)
I can confirm that the issue is fixed in the 1.4 release. However, I had to reconfigure the paths at ./admin/settings/zoomify once more. So if it still does not work for you, re-check the settings.
Greetings, -asb