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 am going to be using Drupal in an upcoming project. I will need to extend the details that users enter in at login, such as regional information and some other custom stuff. I was wondering if anyone has any good recomendations on how to produce a module that does not make me an island in the Drupal world. I don't want to build this module, and then be stuck in no mans land(ala Mambo). I have a lot of registration info to collect, so I will need to stretch the registration process over three seperate form submittals... anyone have a clever idea for how to do that...?
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.