Atari ST fan
Posts: 8
52 credits Members referred : 0
« on: Nov 29, 2006, 02:59:42 PM »
Hi,
Firstly can I say phpUpload is a brilliant piece of code that I have used many times.
However recently I have had need to use it on a new server and now have the issue that when I upload an image I get the "successfully uploaded!" message but there is no file uploaded.
I checked the server and found that there ImageMagick wasn't installed so I have installed the following... ImageMagick-6.2.3-0.tar.gz jpegsrc.v6b.tar.gz libpng-1.0.6.tar.gz ibtiff-lzw-compression-kit-1.1.targz tiff-v3.5.5.tar.gz
However I still have the problem of no files being uploaded.
I have tried the upload_example.php and this works fine. I have changed the flag to use the GD lib but thisdoesn't work because the php has been configured without GD!
So I am currently stuck,and would appreciate any sugggestions as what to try next?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6301
38632 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Nov 29, 2006, 03:32:04 PM »
Hi Luke, I'm sorry to say but my only advice is to move to a real web server IM is not special and is free. There is no reason for a hosting company to offer a web host without any image processing tool. I know shared hosting for only 12 $ a year offering a complete web server...
Atari ST fan
Posts: 8
52 credits Members referred : 0
« Reply #2 on: Nov 29, 2006, 03:44:09 PM »
Hi Olaf,
I have installed IM on the server and I can run the Image Magick commands from the command line. I have root access to the server, so can change anything that needs to be changed.
Unfortunatly changing server isn't an option.
Do you have any suggestions of where I can put break points to see how far the code is executing before it fails?
Cheers Luke
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6301
38632 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Nov 29, 2006, 03:49:59 PM »
Quote
I have installed IM on the server and I can run the Image Magick commands from the command line.
than it should be possible to run the script as it is...
which command do you tried via the command line?
and maybe it's the exec() function that not allowed...
Atari ST fan
Posts: 8
52 credits Members referred : 0
« Reply #12 on: Nov 29, 2006, 05:10:52 PM »
Hahaha, yeah maybe!!
I looked in the /var/log/httpd/error_log and found the following...
Code:
/usr/bin/ld: cannot open output file /home/default/image/ImageMagick-6.2.3/utilities/.libs/1404-lt-convert: Permission denied collect2: ld returned 1 exit status
Looks like the problem, but not sure what to do about it?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6301
38632 credits Members referred : 374
It's time to use PHP5!
« Reply #13 on: Nov 29, 2006, 05:13:01 PM »
I'm not sure about linux but it looks to me that the user apache has no root access rights...