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

saltcod’s picture

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.

?

infojunkie’s picture

Can you please check your PHP settings (using phpinfo() for example) and let me know the value of the allow_url_fopen directive?

infojunkie’s picture

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!

saltcod’s picture

Hi,

Just updated to the dev release (Sept 15)...but same problem. It can't find the zoomifyViewer.

davidhk’s picture

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.

infojunkie’s picture

@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.

infojunkie’s picture

Status: Active » Fixed

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).

davidhk’s picture

I've just tried the new dev, and the problem no longer happens. Thanks for the quick fix.

saltcod’s picture

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.

Status: Fixed » Closed (fixed)

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

infojunkie’s picture

Zoomify now produces a warning instead of an error if the Flash player is not found.

asb’s picture

Version: 6.x-1.x-dev » 6.x-1.4

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