We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Error when i create dao function | Forum

lattinaD
lattinaD Dec 20 '14
Hi,

i develop a new method in class GROUPS_BOL_GroupDao (group plugin) to show some attachment data on a new page (extend group plug-in with forum attached).

I create new function "findAttachmentFromGroup" in GROUPS_BOL_GroupDao that use a queryForObjectList function to search data in db and a
GROUPSDOC_BOL_Attach Dto in bol/group.php.

Also a develop a new controller function in a controller/groups.php to intercept user request (i follow always the standard plug-in instruction development).

When i test, i obtain the following error:


Fatal error: Class 'GROUPSDOC_BOL_Attach' not found in /home/lomby123/public_html/develop/ow_core/database.php on line 433


Does anyone know where could be the problem?

KR
Marco
Guna
Guna Dec 20 '14
There is no table with the name of `attach` in the database.
ross Team
ross Dec 21 '14
Topic was moved from General Questions.