installation problem on winxp sp2 apache - drupal include_once(includes/install.inc failed to open stream: No such file or dire

Hi,
when I try to install latest 6.1 on my winxp with sp2 apache2
Im getting this error:

Warning: include_once(includes/install.inc) [function.include-once]: failed to open stream: No such file or directory in C:\htdocs\drupal61\includes\database.inc on line 129

Warning: include_once() [function.include]: Failed opening 'includes/install.inc' for inclusion (include_path='C:/Program Files/PHP/includes/') in C:\htdocs\drupal61\includes\database.inc on line 129

how to create site-structure tree view in manager?

Hello,

is it possible in Drupal to create a manager interface with a MODx like tree-view structure? So cms-users will simply create a new page in the tree-structure and can edit this in the same screen...

Olaf

Drupal Without PHP

Can i have the information :

1.Can we Design a web Site Using Drupal with out having the Knowledge of PHP
Just Like the web site we desing in Sharepoint Server.

2.Is PHP need to be Installed Inorder to Run Drupal.

3.Will Drupal Support any other Language

4.Any Difference Between Sharepoint Portal and Drupal Portal

Change content type module

(Drupal 6.1)

Hello,

I've made a module that adds a form to the Book edit page which allows me to change the content type to uneditable (lock the page) or bpage (unlock the page). I have 2 content types, 1 is bpage other is uneditable, uneditable is editable only by moderators, bpage is editable by everyone. The change is done by editing the node type from mysql.

I've added a #element_validate to the form so that the function that changes the mysql is called after the form is submitted. The module works well if i make the validate function use form_set_error, if i don't, it's like the function never gets run.

This is part of the code (i think you'll be able to spot the problem from here, if not, check the entire code after this):

<?php
// above this $form['changer'] is defined (radios type form)

$form['changer']['#element_validate'] = array('changer_validate');
}

// this is the function that gets called after submit
function changer_validate($form, &$form_state) {

// if i uncomment the line below the module works as wanted
// form_set_error('error', t('error'));

$changer_response = $form_state['values']['radios'];
if (arg(0) == 'node' && is_numeric(arg(1))) $nodeid = arg(1);
if($changer_response == "0")
{
db_query("UPDATE `drupal`.`node` SET `type` = 'uneditable' WHERE `node`.`nid` = $nodeid");
}

removing elements from teaser in a d6 theme (fblike) - old discussions didn't seem to work...

so i'm using the great fblike theme: http://drupal.org/project/fblike

and i've already scoured the drupal site and have tried cutting and pasting many a line into the node.tpl file but none of it works - not sure if this has something to do with how d6 works on themes (all old forums were for d5 and earlier)

...and so now this particular issue - detailed at: http://drupal.org/node/228142 - remains in limbo...

difference between drupal 6.1 and 5.2

Any one plz tell me difference between drupal 6.1 and 5.2.

Just now only iam start the drupal

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x