I have installed moodle core v2.1.3 and installed the Configurable Reports plugin.
I create a configurable report of type SQL query.
In the 'Custom SQL' Tab I enter the following very simple SQL:-
SELECT COUNT(l.id) hits, l.course courseId, c.fullname coursename FROM prefix_log l INNER JOIN prefix_course c ON l.course = c.id GROUP BY courseId ORDER BY hits DESC
I then click save changes and I get the error
404 - File or directory not found.
Can anyone tell me why and how to fix it?