Posted by saltcod on September 1, 2009 at 1:33pm
Jump to:
| Project: | Zoomify |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
http://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.
?
#2
Can you please check your PHP settings (using
phpinfo()for example) and let me know the value of theallow_url_fopendirective?#3
I 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!
#4
Hi,
Just updated to the dev release (Sept 15)...but same problem. It can't find the zoomifyViewer.
#5
I 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.
#6
@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.
#7
Fixed. 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).
#8
I've just tried the new dev, and the problem no longer happens. Thanks for the quick fix.
#9
Mine 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.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.
#11
Zoomify now produces a warning instead of an error if the Flash player is not found.
#12
Hi,
(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