Timeline for In custom module - No such file or directory in drupal_build_js_cache() (line 5008 of /mnt/www/html/xyzexample/docroot/includes/common.inc)
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 1, 2015 at 18:26 | history | edited | Free Radical | CC BY-SA 3.0 |
added 164 characters in body
|
May 1, 2015 at 18:15 | history | edited | Free Radical | CC BY-SA 3.0 |
added 384 characters in body
|
Apr 30, 2015 at 16:01 | comment | added | Ollie | try using `$path = drupal_get_path('module', 'mycampaign');' to get the path to the module directory. | |
Apr 30, 2015 at 15:41 | comment | added | Vidushi | Yes, I have cleared all cache. | |
Apr 30, 2015 at 15:29 | comment | added | Vidushi | Thanks Free Radical & RoloDMonkey. I have edited the question with code files- I just noticed wrong path "\mycampaign.js\mycampaign.js'. It is actually just on '\mycampaign.js' I have changed the corrected path but I am still getting this and won't be able to see my [script] in page source. Warning: file_get_contents(/sites/all/modules/mycampaign/mycampaign.js) [function.file-get-contents]: failed to open stream: No such file or directory in drupal_build_js_cache() (line 5008 of /mnt/www/html/xyzexample/docroot/includes/common.inc). | |
Apr 30, 2015 at 13:47 | history | answered | Free Radical | CC BY-SA 3.0 |