Closed (fixed)
Project:
Draggable Captcha
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2012 at 21:34 UTC
Updated:
1 Jul 2012 at 03:11 UTC
I'm running my Drupal 7 in a sub directory, and I got a couple of warnings after i login with draggable_captcha enabled:
Warning: file_get_contents(/misc/ui/jquery.ui.core.min.js)...
Warning: file_get_contents(/misc/ui/jquery.ui.widget.min.js)...
Warning: file_get_contents(/misc/ui/jquery.ui.mouse.min.js)...
Warning: file_get_contents(/misc/ui/jquery.ui.draggable.min.js)...
Warning: file_get_contents(/misc/ui/jquery.ui.droppable.min.js)...The warnings disappeared when I removed the $base_path variable from the 'js' array in the draggable_captcha.module file on row 77-81. I'm not sure if this fix works for a Drupal 7 installation done directly in the web root folder.
Comments
Comment #1
rogical commentedIt should only display once on a translated page, I change the base_path to base_url now, it should work.
You can test the git code from git, the download version may not be up to date.