Upload image error with Linux

See all posts Reply

Upload image error with Linux new!
by langthuthuy, 17 years, 5 months ago
So I use class.upload.php upload image to server Linux but error!

file not uploaded to the wanted location
Error: GD doesn't seem to be present


source is an uploaded file
- upload OK
- file name OK
- source variables
    file_src_name         : Winter.jpg
    file_src_name_body    : Winter
    file_src_name_ext     : jpg
    file_src_pathname     : /tmp/phpMG9nlg
    file_src_mime         : image/jpeg
    file_src_size         : 105542 (max= 2097152)
    file_src_error        : 0
process file to ./test/
- file size OK
- file mime OK : image/jpeg
- file name safe format
- destination variables
    file_dst_path         : ./test/
    file_dst_name_body    : Winter
    file_dst_name_ext     : jpg
- image operation, keep extension
- checking for auto_rename
    auto_rename to Winter_1.jpg
- destination file details
    file_dst_name         : Winter_1.jpg
    file_dst_pathname     : ./test/Winter_1.jpg
- Winter_1.jpg doesn't exist already
- image resizing or conversion wanted
Reply
Re: Upload image error with Linux new!
by colin, 17 years, 5 months ago
As the error message says, GD doesn't seem to be present.

Can you post a link here to your PHPinfo()? It looks like your server doesn't have GD installed.Reply
Re: Upload image error with Linux new!
by kelye, 17 years, 5 months ago
You need on your server the GD library ! Check with your host if you have GD lib compiled with php (you can do that with phpinfo() )Reply