Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
i added new textbox in poll module . and i want to save it to poll_newtable table then i'm getting error.
can u help me how to save it .
and i'm not getting value of $node->textbox name.
user warning: Unknown column 'score' in 'field list' query: INSERT INTO vote_ram (nid, color) VALUES (18, score) in C:\xitami\webpages\sarag\includes\database.mysql.inc on line 108.
i tried all possible mothods.
thanks.
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);
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 |
+--------------+------------+------------+--------------+
I'm curious if anyone is using Zend Studio to debug local installations of drupal? I've been using Zennd for development purposes for a while but just decided to try and make it work locally allowing me to debug code without actuallly running it on my server.
I managed to get the server up and running fine but can't seem to make it debug drupal. Any suggestions, tips, etc would be greatly appreciated. Please share your experiences with this product.
I like this module alot. A few things that I really like to see:
1. ported to 4.7 (wasn't it designed for 4.7 primarily?)
2. combined with node_vote, for example, to express tags in "2 dimensions" (font size and color). For example, tags with a higher post count are displayed in bigger fonts; whereas tags whose average quality (as measured by the average scores of posts categorized by the tags using somethng like node_vote) are displayed with a darker color.
Then, I think this module would really be something else.