Hi,
as soon as i installed your module, I keep getting code conflicts with the Flag and OG modules... see error bellow:
Warning: include_once(sites/all/modules/flag/includes/flag.token.inc) [function.include-once]: failed to open stream: No such file or directory in flag_init() (line 180 of /home/idev7615/public_html/rms/sites/all/modules/flag/flag.module).
Warning: include_once() [function.include]: Failed opening 'sites/all/modules/flag/includes/flag.token.inc' for inclusion (include_path='.:/usr/local/php52/pear') in flag_init() (line 180 of /home/idev7615/public_html/rms/sites/all/modules/flag/flag.module).
Warning: include_once(sites/all/modules/flag/includes/flag.actions.inc) [function.include-once]: failed to open stream: No such file or directory in flag_init() (line 181 of /home/idev7615/public_html/rms/sites/all/modules/flag/flag.module).
any ideas would be really appreciated.
Thanks
Hashim
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | drupal_root.patch | 1.61 KB | jeffersonjhunt |
Comments
Comment #1
cesarmiquel commentedHey! We are seeing the same problem on our site also. In our case we are installing all our modules at sites/all/modules/contrib. The bowob module seems to assume it is installed in sites/all/modules so we installed it there. Maybe the problem is coming from this. Where do you have it installed?
Comment #2
cesarmiquel commentedI fixed the warnings by adding two lines of code to the bowob/bowob.php file. They basically set the include_path() correctly. I'm including the code here. It seems to work ok and the warnings are removed.
Comment #3
jeffersonjhunt commentedHere is a patch based on the CKEditor code for finding DRUPAL_ROOT and setting the include paths correctly and bootstrapping. This fixes issues with flag.