PHP-Warning for get_extension_funcs()

Hello, currently I get the following error message when I upload an Image:

Warning: get_extension_funcs() has been disabled for security reasons in image_gd_check_settings() (Zeile 59 von /var/www/vhosts/xyz/subdomains/drupal/httpdocs/modules/system/image.gd.inc).

Adding jQuery stuff

Hey everybody!
I'm kinda new to adding jQuery stuff to Drupal websites. I'm not sure what the Drupal way of doing this is and I'm hoping someone can point me in the right direction.
I've got jQuery stuff working on my sites...but only by adding the jQuery and link to an external jquery.js file to the node itself. Nothing else seemed to work. Doesn't Drupal ship with jQuery itself?
I'd rather use the Drupal jQuery and have the files in a separate folder instead of in the node content.
Any pointers?

Cheers, Rob

Fivestar on comments and average on node

I configured Drupal to rate comments with the Fivestar Module.
I set in

Home » Administration » Structure » Content types » [test] » Comment fields » [rating]

Stars (rated while editing) as Widget Type

and in

Home » Administration » Structure » Content types » [test] » Comment fields

Required
and
Voting Target: Parent Node

When i insert the comment i can rate it, and the rating is saved in the database.
Then i can render the widget in every comment.

Error when I move my drupal site to another host

I just moved my drupal site to another host while following the usual steps.

exported my DB
exported my files
imported db to the new host
moved files to new host
updated settings.php with new db login data

But when I visit the website now I get the following Exception:

PDOException: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in lock_may_be_available() (line 165 of /home/sites/webhosting/juniorsteps/juniorsteps/www/includes/lock.inc).

Looking for most reliable & compatible (with other Drupal modules) multiple photo uploader and gallery system in Drupal 6 & 7?

DrupalGardens hosted (Drupal 7) sites use a fantastically easy multiple photo uploader - i.e. one can select multiple image files from a Explorer File Browser box (or other OS equivalent) that pops up from the webpage when required, using CTRL or SHIFT and upload them all at once into a gallery.

Question 1) What modules is this based on, so that I can export and deploy a site outside of DrupalGardens?

More importantly:

Question 2) If I was building a Drupal 7 site from scratch with my own hosting, what modules would I need to achieve this?

update database

Hi
i am writing a module
i have a function form_submit
i need to update database there

i tried everything:
1) $result = db_query("UPDATE {nicknames} SET desc = '%s' WHERE id = %d", '12', $val['myid']);
echo $result;

2) db_update('nicknames')
->fields(array('desc' => 'qwerty'))
->condition('id', $val['myid'])
->execute();

it doesn't work... can you help me? variables are all right

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x