I am attempting to run the survey module for a 4.7 installation. Drupal is installed on a Unix server running php 5, and it also uses a codewrap to run the php scripts, which necessitates certain changes in permissions and in where files are stroed in order to get the software to run.
The survey module installs successfully, but when I try to submit a new survey, I get this error message: Fatal error: Call to undefined function forms_create() in /usr/local/etc/httpd/htdocs/stud_orgs/prof/cuppasa/cgi-bin/modules/survey.module on line 206
The codewrap setup has caused me to keep images outside of the cgi-bin, and permissions for different files have to be set a certain way otherwise Drupal will not run. So I am thinking that there might be a permissions problem, but none of the combinations that I try (770 for the folder and 775 for the files for example) work.
It would help me if I knew what the function mentioned in the error message is for: What is Drupal trying to do at this point:
function survey_insert(&$node) {
// first thing to do is create a form to associate to this survey
$node->fid = forms_create('survey');
db_query("INSERT INTO {survey} (nid, fid, email, result_page) VALUES (%d, %d, '%s', '%s')",
$node->nid, $node->fid, $node->email, $node->result_page);
}
(this is lines 204-210 in Dreamweaver)
I also wonder if this is related: