Active
Project:
Image watermark
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
20 Jan 2008 at 09:49 UTC
Updated:
22 Feb 2012 at 19:21 UTC
Installed the watermark.module yesterday and got this error under mysite/admin/settings/image_watermark
Function $function does not exist. Watermarking cannot be done. Please make sure that you are running PHP 4.3 or higher, or that you (or your hosting provider) manually compile the GD library into your PHP installation.
MySQL version 4.1.19-standard
PHP Version 5.2.1
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
any idea?
Comments
Comment #1
schnizZzla commentedThis is an support request not a critical bug...
Your PHP installation is missing some function. The name of the function is stored in the variable $function. Unfortunatelly the wrong quotes are used in the code so the name isn't displayed correctly.
If you want to know which function it is. Open the file watermark.module in an editor, go to line 210 that should be:
There replace the first two quotes ' with " so it looks like:
I opened a bug for that here:
http://drupal.org/node/212488
Comment #2
wavesailor commentedI have the same problem.
Can someone confirm with this Module does require the Image module or not as there seems to be conflicting information on the project page.
Thanks,
jj
Comment #3
softtouch commentedSave issues here.
I have exif enabled with PHP... and still...
Function exif_imagetype does not exist. Watermarking cannot be done. Please make sure that you are running PHP 4.3 or higher, or that you (or your hosting provider) manually compile the GD library into your PHP installation. You also need PHP to be compiled with --enable-exif.
Comment #4
vrintinus commentedI encountered the same problem.
You can find the solution on node/77406: just adapt php.ini as indicated and it works just fine.
Good luck
Comment #5
makokis commentedHi all,
i am newbie in drupal php etc, and i have that error or atention in Drupal 7.12 report,
What i have to do, and how to resolve that?
Many thanks
screenshot report:
[URL=http://www.UploadScreenshot.com/image/771536/3272137][IMG]http://img1.Up...