Closed (fixed)
Project:
Counter
Version:
6.x-2.16
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2012 at 06:52 UTC
Updated:
25 Jul 2012 at 07:51 UTC
Currently we installed counter module with version 6.x-2.16, when we tried to open reports page from its configuration settings interface it throws the below error, please see the screenshot
Fatal error: require_once(): Failed opening required 'sites/all/modules/counter/counter.report.inc' (include_path='.:/var/www/sonosite/sites/all/modules/luceneapi/lib:/usr/share/php:/usr/share/pear') in /var/www/sonosite/includes/menu.inc on line 347
We have taken a small review inside module file and found that in hook menu function the above file is included but where as this file is missing from the module folder.
Can someone please help us finding a solution for the above issue.
| Comment | File | Size | Author |
|---|---|---|---|
| counter error.png | 116.26 KB | amarbijay |
Comments
Comment #1
alexx90 commentedI have a similar problem like you, i get the message :
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/counter/counter.report.inc' (include_path='.:/usr/lib/php') in /home/pa2230rd/Ch4ck_ibB3-2Ni22s_Hyi718MsgH/includes/menu.inc on line 347please some one for help
Comment #2
WillGFP commentedSame issue here. Only happens when I try to visit the "/counter/report" page, the block seems to work just fine.
Comment #3
priyancatiwari commentedsame issue.
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/counter/counter.report.inc' (include_path='.;C:\php5\pear') in D:\wamp\www\drupal\includes\menu.inc on line 347
need help.
Comment #4
milanchheda commentedI think, one of the file is missing in the module, namely counter.report.inc
The above hook states that there has to be a file named counter.report.inc, but the module only has 'inc' file that is counter.settings.inc
Comment #5
alexx90 commentedI created file named exactly as you said
" counter.report.inc " and inside the file that is made by Notepad+
i post the code
I get these message :
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'counter_report' was given in /home/pa2230rd/Ch4ck_ibB3-2Ni22s_Hyi718MsgH/includes/menu.inc on line 350Comment #6
l_arbalette commentedSame problem here.
In the archive counter-6.x-2.16.tar.gz, this file counter.report.inc is indeed missing.
I tried to downgrade to counter-6.x-2.15 : same issue...
Comment #7
subhojit777counter.report.inc is available only till 6.x-2.11 version. Don't know why they removed it in 6.x-2.16 version??
copying the file from 6.x-2.11 version may solve the problem, though not sure about that...
Comment #8
drupalnesia commentedThis counter.report.inc has been deleted in D7 version. We plan to use Drupal content-type so we can produce report using Views.
Comment #9
amarbijay commentedHi,
is there any solution for drupal 6.x?
Comment #10
drupalnesia commentedFixed also in latest Counter 6.x version