Unable to save the SETTINGS.

Hello.

I got a painfull problem: I cant save my drupal-settings under admin/settings. Drupal always states, that "CGI needs to be turned on for that directory", but i haven't enables clean URLs and deleted/renamed the .htaccess-File.

This is the only page that behaves like this - all other pages and/or functions of that drupal-installation work great. I first found this behaviour with an CVS-Head dated 11-20-2005, but it it is still in 4.7 beta3.

Any ideas how i can solve that "mystery"?

Sincerly,
Ninnghizidha.

contact form enabled by default

I've gone throuh the forums and I have seen this brought up many times with no functional solution being found. I would like to have the contact form for each user enabled by default so they can automatically receive mail from others. This means they, themselves must disable this functionality when they no longer wish to receive mail. The best solution I have found so far is being able to enable this by default, but not being able to disable it. The code to be played with is on line 92 of the contact.module. It is

'#default_value' => $edit['contact']

db_rewrite_sql and _db_rewrite_sql: can someone explain?

Hi everybody..

Can someone explain db_rewrite_sql and _db_rewrite_sql ?
What are those function used for? Why should I implement them on my modules?

A little example might be clearifing.

Thanks

Fabio

Menu permissions- By user or group (4.7.0 Beta 2 or Beta 3)

Can someone tell me how to set simple permissions by user or by group to a content item (and menu item, more important).

Meaning I got many users in my system and I want some to be able to access only some content items and others to access other content items (there may be a visible for all content item).

Hope I explain myself... it should be simple ;)

Thanks!!!

core files in apache directory after upgrade to beta3 4.7

hi everyone... yet another surprise with 4.7... this one is that for some reason i'm finding 20mb files in my home directory titled core.846 and the like since i upgraded to 4.7 beta 3. perhaps they are unrelated... or perhaps this is drupal forcing a server crash and a core dump? you'd think my ISP would be all over me on this though, right :o?

any thoughts? or is it something else?

Different result in MySQL and in Drupal (query limitations??)

Hi

I get different answers if I execute a query in my code than if I do on the command line.
The query and its results from a var_dump() are:

$query = "SELECT sum(principles_rating)/count(evalstatus) as principles_r,sum(examples_rating)/count(evalstatus) as examples_r ,sum(language_rating)/count(evalstatus) as language_r ,sum(complexity_rating)/count(evalstatus) as complexity_r FROM fhsstadmin_evaluation WHERE evalstatus='1' AND pageuid = %d";
 //Perform the query
 $queryResult = db_fetch_object(db_query($query,$user->uid));
 var_dump($queryResult);

Results:

object(stdClass)(4) { ["principles_r"]=>  NULL ["examples_r"]=>  NULL ["language_r"]=>  NULL ["complexity_r"]=>  NULL }

but if I login to mysql and perform the same query (uid is 10) I get:

mysql> SELECT sum(principles_rating)/count(evalstatus) as principles_r,sum(examples_rating)/count(evalstatus) as examples_r ,sum(language_rating)/count(evalstatus) as language_r ,sum(complexity_rating)/count(evalstatus) as complexity_r FROM fhsstadmin_evaluation WHERE evalstatus='1' AND pageuid = 10;
+--------------+------------+------------+--------------+
| principles_r | examples_r | language_r | complexity_r |
+--------------+------------+------------+--------------+
| 2.50 | 1.50 | 2.00 | 1.50 |
+--------------+------------+------------+--------------+

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x