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'm learning to code in PHP/Drupal..need some basic info ..please.
I'm developing my first custom node module. It writes a record to the table, academic_info for each node created. The primary key consists of multiple fields.
I see a "duplicate entry....." error is generated in Drupal when the user attempts to create a node/record that already exists in table, academic_info. However, I observed that a record is still created in the node table for the node that was submitted.
Guys I'm newbie here in drupal, I use the audio module and I get the following errors:
* The directory files does not exist.
* The selected file /tmp/audio/light.mp3 could not be uploaded, because the destination files/audio is not properly configured.
* The following errors were encountered, preventing the ID3 tags from being saved: filename is undefined in getid3_writetags
I'm using 5.1 version... Can somebody help me why i get these errors? Thanks a lot!
I get an error that says: Warning: Table 'messcast_drpl1.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in /home/messcast/public_html/includes/database.mysql.inc on line 172
I am trying to customise the Search. or tripsearch AKA SQL Search .modules that users can select the area of teh search from a drop down list e.g. search in forums, search in blogs, search in profiles etc.
I am trying to filter my view by a computed field. My main issue is that the computed field only offers these operators:
Is Greater Than
Is Greater Than Or Equals
Is Equal To
Is Not Equal To
Is Less Than Or Equals
Is Less Than
and then a text field. I am looking to make the text field a drop down. I have been able to do this by creating a block using the following code and displaying on the corresponding view: