many fatal errors - can't upload pictures many fatal errors - can't upload pictures
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

many fatal errors - can't upload pictures

Started by Eveline, July 12, 2004, 07:34:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Eveline

well, first I want to apologize for my bad english, i know it's not very good and i really hope you will understand my problem.

I have installed the coppermine photogallery some months ago without any problem on 3 sites of my sites. about three weeks ago, the server has been updated (?) to a newer version of php; from 4.1.2 to php 4.3.2. the big problem is that after the update, i wasn't able to upload photos anymore. i also couldn't see the new images on the page you click at batch image anymore, even the buttons of ok, dp, pb and na were gone. strange because nothing has changed on the server except the phpversion (i guess).

i've removed coppermine 1.2 today and i thought that when i should install version 1.3 (not update 1.2) the problems would be solved. But it seems not to be. the problems are bigger and i don't know how to resolve them..

some of my phperrors:

PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed

Bestand: /home/sites/site3/web/fotoalbum/include/picmgmt.inc.php - Regel: 196

Fatal error: Call to undefined function: getmicrotime() in /home/sites/site2/web/fotoalbumgallery/themes/default/theme.php on line 800

Notice: Undefined variable: user_link in /home/sites/site2/web/fotoalbumgallery/include/functions.inc.php on line 630

Notice: Undefined offset: 2 in /home/sites/site2/web/fotoalbumgallery/upload.php on line 250

Notice: Undefined offset: 3 in /home/sites/site2/web/fotoalbumgallery/upload.php on line 256

Notice: Undefined offset: 4 in /home/sites/site2/web/fotoalbumgallery/upload.php on line 256

Notice: Undefined variable: meta_keywords in /home/sites/site2/web/fotoalbumgallery/displayimage.php on line 633

Notice: Undefined variable: template_tab_display in /home/sites/site2/web/fotoalbumgallery/themes/default/theme.php on line 1367

Notice: Undefined variable: lang_thumb_view in /home/sites/site2/web/fotoalbumgallery/themes/default/theme.php on line 1370

Notice: Undefined index: inactive_tab in /home/sites/site2/web/fotoalbumgallery/themes/default/theme.php on line 1371

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site2/web/fotoalbumgallery/include/imageObjectGD.class.php on line 92

Notice: Undefined variable: img_dir in /home/sites/site2/web/fotoalbumgallery/picEditor.php on line 123

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/sites/site2/web/fotoalbumgallery/include/imageObjectGD.class.php on line 73



i really hope you'll understand my problem and please tell me what to do!!!

thank you very much!!

greetings from Holland, Eveline

Joachim Müller

The first error is the most important one:
QuotePHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed
. You'll either need GD or ImageMagick, see minimum requirements. Check phpinfo for the GD section or contact your webhost.

GauGau

Eveline

at phpinfo there's this:

gd
GD Support  enabled 
GD Version  bundled (2.0.15 compatible) 
FreeType Support  enabled 
FreeType Linkage  with TTF library 
GIF Read Support  enabled 
PNG Support  enabled 
WBMP Support  enabled 
XBM Support  enabled 

there's no message that jpeg support is enabled, do you think that's the reason?

Joachim Müller

yes, you need jpg support. Contact your webhost.

GauGau

Eveline

weird, because before my phpupdate I had no problem with jpg support...

do you think that when my gd also jpeg support that the other problems will be solved too? or do you know how to resolve that errors?

Joachim Müller

the other errors on your page are probably sub-sequent errors and will go away when the issue with GD has been solved.
Did you build php for yourself? Using pre-made packages is advisable!

GauGau

Eveline