Anybody have any idea how to do this? I get the following error on the site every time I try to replace the .ht.sqlite file
ncaught exception thrown in shutdown function.
PDOException: SQLSTATE[HY000]: General error: 11 database disk image is malformed: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 10325233614d3b05b1f3f749.85264221 ) in lock_release_all() (line 247 of /home/phishead/public_html/ppp/includes/lock.inc).
I've just installed Drupal 7 on my server, and I see that it has critical changes in the .htaccess file (assorted mod-rewrite rules, etc.
I am the site owner, sysadmin, etc. and I really hate .htaccess files, I would much rather put the required Apache2 directives in the main system-wide httpd.conf setup (usually in a separate local-config).
I'm reasonably facile with apache, but this is my first Drupal site. I've got a number of virtual hosts on the server.
When a registered user signs up on to my site with a specific role, I want to have ONE automatic piece of content (of a specific content type) created for that user. They should then be able to edit that content as they choose -- I understand that part. I'm not sure what modules I need though. Obviously many modules may not be available for 7.x yet but can anyone recommend modules that seem to be regularly maintained?
DRUPAL (7) SEVEN
I've setup my own custom form from the example_forms module provided by drupal 7. I've setup the form_submit hook and I'm doing my saving options here. I'm having no problems saving the custom content type with the following code:
function donation_form_tutorial_1_submit($form, &$form_state)
{
//initializing variables
$values = $form_state['values'];
$node = new stdClass();
$node->title = 'Form post by '.$values['first'].' '.$values['last'];
$node->type = 'donations';
$node->language = 'en';
$node->created = time();
$node->changed = $node->created;
$node->status = 1; // Published?
$node->promote = 0; // Display on front page?
$node->sticky = 0; // Display top of page?
$node->format = 0; // Filtered HTML?
$node->revision = 1;
$node->log = t('Node saved: '.$node->title);
// Save new node
node_validate($node);
node_submit($node);
node_save($node);
//structure the notification message
$output = t("Your Donation has been submitted. ");
$output .= t("Thank you @first @last ... ", array(
'@first' => $values['last'],
'@last' => $values['first'],
)
);
drupal_set_message($output);
}
This is for Drupal 7. I want users to be able to see their past posts on the forums. This site has a Your Post. I created a shortcut, what is the extension for it? /example/example?
How can i add a review to http://drupal.org/cases ?
I'd like to publish a design case, but...i couldn't find info about how to do this.
Is there a way, how writes it?
Is it like the documentation, where the community writes or is there an editor to do so?