require_once() needs to use the path returned from drupal_get_path(), otherwise it will not found the code when Drupal is not installed in the root directory of the server.
Actually, it would be easier to call module_load_include() (http://api.drupal.org/api/function/module_load_include/6).

Comments

avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, which is for a not supported Drupal version.