The following errors are written to the screen after I enable Save to FTP. . .

warning: file_get_contents($().ready(function() {$('#dialog').jqm();});) [function.file-get-contents]: failed to open stream: No such file or directory in ./includes/common.inc on line 2359. 
warning: file_get_contents($().ready(function() {$('#dialog').jqm();});) [function.file-get-contents]: failed to open stream: No such file or directory in ./includes/common.inc on line 2359.
CommentFileSizeAuthor
#4 savetoftp.patch997 bytescoderintherye

Comments

coderintherye’s picture

Looks like the jqmodal isn't loading correctly, I will run on a fresh download of 6.x to see what the problem is. Thanks for the report.

coderintherye’s picture

Assigned: Unassigned » coderintherye

I can confirm this bug. Although, to note it is not critical, everything still works fine without it, including jqModal. I'm thinking this may be a jQuery compatibility thing, regardless it is definitely related to the javascript. I will put up a patch and re-roll a new version as soon as I find exactly what the problem is.

coderintherye’s picture

Status: Active » Needs review

I found the bug, if you change line 186 from:drupal_add_js('$().ready(function() {$(\'#dialog\').jqm();});');
to: drupal_add_js('$().ready(function() {$(\'#dialog\').jqm();});', 'inline');

That should take care of the issue. However, I still need to test some more, then I will put in the changes and update the release.

coderintherye’s picture

Status: Needs review » Patch (to be ported)
StatusFileSize
new997 bytes
coderintherye’s picture

Status: Patch (to be ported) » Fixed

I added this to another bug fix and rolled out a new release. Please download the new release or use the above patch. Thanks.

Status: Fixed » Closed (fixed)

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