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 was able to create one source code with multiple sites on my web domain host server but couldn't able to do the same on my local machine. Can someone help me:
windows xp is my operating system
apache 2
php4
drupal 4.6
mysql 5
My default site was working fine (http://localhost:8080/icevn) but I've no idea how to config the 2nd site....
I intalled Drupal many moons ago, and know it fairly well (to use). However, I just did a clean installation for a new site, and started setting it up. When I went to set up forums, I get the following message trying to access /admin/forms:
Fatal error: Call to undefined function taxonomy_get_tree() in /usr/home/mysite/html/modules/forum.module on line 233
All other functions within Drupal seem to work just fine. The only one which is not working is the forums module.
I recently migrated my site, www.tubespot.com, over to Drupal. I show TV commercials (including all the Super Bowl commercials) and I want to set a cookie so that when a user chooses a video format--either WMV or Quicktime--my site will remember their preference.
Right now, if you look at a video, there's a link at the bottom to change to WMV. What that does is go to another node that issues a setcookie command:
I just can seem to solve this one: Error: The uploaded file was not an image.
Oh, yes it was: 150x150 at 30k
1) I have file_uploads = On and upload_tmp_dir set in my PHP.ini
2) Clean URLS disabled
3) File system path "files"
4) Temperary Directory "files\temp" (both exist and are writeable)
5) Download method Public
When I try to upload a image for the profile I get the error "The uploaded file was not an image." I have tried several other image files... any ideas??
I'm looking to find out if there are small drupal icons that we can use for file, video, or audio downloads. this would be placed next to the download link which would distinguish the type of download.
anyone?
e.g. I have movies at this node and would like to put a small icon next to the links so viewers know these are video downloads. http://www.shreemaa.org/drupal/node/105
Ok. It's been a long week, but now i understand the use of hook_form_alter. I've altered my node form and added extra fields. ( there are a lot of them , radio buttons )
How do i get these fields into the database? I'd like to use the method the profile module uses, and shovel them into a database text field ( so many yes/no on/off choices.)
What are fields called when submitted?
Where can i hook into the process to store my data?