Active
Project:
Important Information Block
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Apr 2019 at 07:15 UTC
Updated:
10 Apr 2019 at 04:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
esteban.arias commentedHello Patel,
I have looked at your logs, and it seems that your Drupal installation directory changed from /var/www/html to /var/www/html/drupal7.
Please clean the caches of your site so that any references are fixed locally. A registry rebuild would be great too just in case.
I hope that this helps with your issue.
Regards,
Comment #3
patelmayank7552 commentedHi @esteban.arias,
I tried registry rebuild as well as a clear cache from Drush command as well as from site configuration
I installed the module and its working.
But what happens, if I change the theme in block configuration from default to any other style(like the bottom, right, etc) it gives me the warning. So only for default, it is working not for other themes selection(like the bottom, right, etc).
Warning: fopen(/var/www/html/drupal7/sites/all/modules/important_information/themes/bottom.json): failed to open stream: Permission denied in _important_information_settings_theme() (line 83 of /var/www/html/drupal7/sites/all/modules/important_information/important_information.inc).
Warning: fopen(/var/www/html/drupal7/sites/all/modules/important_information/themes/right.json): failed to open stream: Permission denied in _important_information_settings_theme() (line 83 of /var/www/html/drupal7/sites/all/modules/important_information/important_information.inc).
Attaching a screenshot of it. Filename: screenshot-drupal7.bn-2019.04.04-17-50-29.png
Thanks and Regards
Comment #4
esteban.arias commentedThe permissions issue must have to do with the directory/files being owned by another user than the owner of the settings.php file.
Could you confirm whether the owner of the .json files and the settings.php are the same?
I have tried reproducing this issue locally, but have not been successful in it.
I am currently working on a Windows 10 laptop, maybe it is related to your OS as well, so could you tell me what OS are you using to run this module locally?
Thank you.
Comment #5
Eitisha commentedHi @patelmayank7552
I also got the same kind of issue for other drupal module and it got fixed by changing the permission of files module directory to 755.
I hope this will work.
Thanks