Module advice needed: Adding a questionnaire to a site.

I am hoping someone can give me some advice regarding an action plan on which modules to use to make this work. I have seen some different ideas by searching this site but am looking for advice as to the easiest and most efficient way of doing this.

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'uri': INSERT INTO {file_managed}

Below log message appears when i am trying to upload three files using the cck node adding programatically. not sure as to what mistake i am doing below is the code

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'uri': INSERT INTO {file_managed} (filesize, status, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => 1 [:db_insert_placeholder_2] => 1309100206 ) in drupal_write_record() (line 6851 of /opt/lampstack-3-0-6-0/apps/drupal/htdocs/includes/common.inc).


$validators = array(
'file_validate_extensions' => array('html htm'),
);
$pdfvalidators = array(
'file_validate_extensions' => array('pdf'),
);
$imgvalidators = array(
'file_validate_extensions' => array('gif jpg jpeg png'),
);
/*
Check to see what fields are getting saved on node save
$sampleNode = node_load('125');
echo "

" . print_r($sampleNode, TRUE) . "
"; die;*/ if($file = file_save_upload('table_upload', $validators,'', FILE_EXISTS_RENAME)) { $chart_file = file_save_upload('image_upload', $imgvalidators,'public://images', FILE_EXISTS_RENAME); $pdf_file = file_save_upload('pdf_upload', $pdfvalidators,'public://pdf', FILE_EXISTS_RENAME);

Custom Maintenance page for Drupal 7

Hi,

Can someone please show me how to custom theme a site maintenance page for Drupal 7.

I'd like to throw in a flash animation on that page.

Thanks

The connection was reset

Hi,
I am using fatcow as my hosting company and I am unable to log on to my drupal site at http://www.chiccowboyboots.com/user

I keep getting the error "The connection was reset".

Now the problem is that the tech support at fatcow cannot replicate it hence they have given up on this.

I also tried to log on to the site using my smart phone and I managed to get through. Hence I am getting confused what might be wrong.

Any advice ?

Taxonomy arrangement

Recently i switched from Joomla to Drupal, and one thing which was unknown for me is taxanomy. In joomla it calls "Categories".

Witch ACL sistem choose?

Hi,
I have several content types and several roles/ranks of users. I want to be able to set for some of content types will be accessible for specific roles/ranks. Which ACL system can do this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x