I have D6.13.

How to reproduce a bug:

1. Create some gallery_assist type node.
2. Add several pictures.
3. Here /admin/settings/performance turn on optimizing Java-script files.
4. Go to the Edit link for the new gallery.

After that I received the following errors:

file_get_contents(modules/gallery_assist/js/gallery_assist.js) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory в файле /home/hosting/public_html/example.com/includes/common.inc в строке 2373.

file_get_contents(modules/gallery_assist/js/gallery_assist.js) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory в файле /home/hosting/public_html/example.com/includes/locale.inc в строке 1689.

And sometimes
File not found: http://example.com/modules/gallery_assist/js/gallery_assist.js?R

If you can't reproduce a bug, try to enable and disable Java-script optimization several times, then go to Edit link.

And, finally, how I got rid of a bug. I just created file Drupal wants in modules/gallery_assist/js/ folder.

Comments

Marc Hoefman’s picture

I'm getting the same errors in my logs:

sites/all/modules/gallery_assist/js/gallery_assist.js does not exist

the error is persistant and is happening at the moment I click 'edit' in my gallery node (without further actions such as adding pictures, saving)

My log indicates it is being called by ?q=node/xxx/outline (where xxx is the node number of my gallery)

jcmc’s picture

Hello

sory for the delayed answer,

The current version of gallery assist dont need the gallery_assist.js file. I will be use it in future versions.
Please comment the line 572
cuttent
drupal_add_js(drupal_get_path('module', 'gallery_assist') .'/js/gallery_assist.js', 'module', 'footer');
change to
//drupal_add_js(drupal_get_path('module', 'gallery_assist') .'/js/gallery_assist.js', 'module', 'footer');

I decide to wait before I the new version commit with all fixes from the bugs I get in the las week.

Regards
Juan Carlos

jcmc’s picture

Status: Active » Fixed
jcmc’s picture

Status: Fixed » Closed (fixed)