zipme / redmine_lightbox

Lightbox for image attachments
MIT License
116 stars 118 forks source link

RoutingError with IE #21

Closed arnoldpa1 closed 13 years ago

arnoldpa1 commented 13 years ago

Hi,

i use IE and get this RoutingError:

ActionController::RoutingError (No route matches "/projects/[...]/wiki/images/fancy_shadow_nw.png" with {:method=>:get}): passenger (3.0.2) lib/phusion_passenger/rack/request_handler.rb:96:in process_request' passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:513:inaccept_and_process_next_request' passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:274:in main_loop' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:321:instart_request_handler' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in send' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:inhandle_spawn_application' passenger (3.0.2) lib/phusion_passenger/utils.rb:479:in safe_fork' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:270:inhandle_spawn_application' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in __send__' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in start_synchronously' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:180:instart' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in start' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:219:inspawn_rails_application' passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:132:in lookup_or_add' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:214:inspawn_rails_application' passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:82:in synchronize' passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:79:insynchronize' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:213:in spawn_rails_application' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:132:inspawn_application' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:275:in handle_spawn_application' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:insend' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in server_main_loop' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:instart_synchronously' passenger (3.0.2) helper-scripts/passenger-spawn-server:99

Server: Debian Squeeze Apache2 Passenger 3.0.2 Ruby 1.8.7 Rails 2.3.11 Redmine 1.2.1

My fix is: File: /{redmine-1.2.1_root}/vendor/plugins/redminelightbox/assets/stylesheets/jquery.fancybox-1.3.4.css Change all "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/.png', sizingMethod='scale')" To "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/plugin_assets/redminelightbox/images/.png', sizingMethod='scale')"

Is there a better way?

tx moehre

zipme commented 13 years ago

please refer to this issue https://github.com/zipme/redmine_lightbox/issues/20

cforce commented 13 years ago

We had teh same bug, Can u commit that to code please..!

zipme commented 13 years ago

committed.