New Install, enabled the Locale module in core and started getting the errors below:
•Warning: file_get_contents(misc/ui/jquery.ui.widget.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1303 of E:\htdocs\insider_drupal\www\includes\locale.inc).
•Warning: file_get_contents(misc/ui/jquery.ui.mouse.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1303 of E:\htdocs\insider_drupal\www\includes\locale.inc).
•Warning: file_get_contents(misc/ui/jquery.ui.sortable.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1303 of E:\htdocs\insider_drupal\www\includes\locale.inc).
•Warning: file_get_contents(modules/dashboard/dashboard.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1303 of E:\htdocs\insider_drupal\www\includes\locale.inc).
Need Locale for Content Translation.
Did I miss some files that need to be added by hand to misc/ui/... ?
Thanks.
Comments
Closing this.. for some
Closing this.. for some reason, there are a lot of files missing from the 'my' misc folder when I installed D7 I diff'd my current install and a freshly expanded core download to discover many /misc/jquery... files missing. Not sure how or why, but that solved my problem
Thanks for your findings and
Thanks for your findings and help. The same story happened a minute ago. Did fresh drupal installation as usual (actually helped to a friend a week ago at the same hosting!). And got this error: it appeared the "misc" directory is completely missed after copying all files from one place to another (the hosting's copying system is a really fun, intially it ignored a couple of php files, now the whole directory).
I will confirm that swapping
I will confirm that swapping out a newly updated and installed Drupal core with a new and freshly downloaded core (of the same version/build) will indeed take care of this error. I have just updated my Drupal install core with the latest Dev and had the same exact error show up. I happened upon this thread/posting and re-downloaded another fresh Drupal core and did the complete delete then transfer in the files for the new core and problem solved. Not sure if this is an official Drupal issue and I did not find out which file(s) I was missing.
Nonetheless, when experiencing this error right after a core version update/upgrade, re-swapping out the recently installed Drupal core files/directories with another freshly downloaded Drupal core made for a quick fix to get this error gone and js script working.
Thanks for the heads up.