The javascript on my site stopped working, perhaps because of something that happened while I was working on an add-on site (a new domain on the same account). Maybe in installing a new drupal core or some modules, I copied over something in the original site, or maybe there was another sort of conflict. In any case, now anything module (slideshow, wysiwyg, etc.) or function (like ordering the items in a taxonomy list) that requires javascript is not functioning properly. I would appreciate any advice about how to repair the javascript. Also, I've gotten some errors like
warning: file_get_contents(misc/jquery.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home2/travely9/public_html/includes/common.inc on line 2467.
warning: file_get_contents(misc/drupal.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home2/travely9/public_html/includes/common.inc on line 2467.
warning: file_get_contents(misc/drupal.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home2/travely9/public_html/includes/common.inc on line 2467.
Thanks for any help out there.
Comments
Comment #1
geoman commentedMoved the misc folder inside the html folder (not sure how, why, or if it got moved outside that folder), then cleared the cache and rebuilt permissions, and now the javascript & jQuery are working fine.