Alright, so I did a fresh install with 2.6 with default settings all around. Everything works just fine except the image uploads. I know it is a problem with the php system() command, but I will explain my problem first.
When I try to upload an image through campsite, I get this error:
----
The system was unable to create the file '/usr/local/campsite/www/foghorn/html/images/thumbnails/cms-thumb-000000062.jpg'. Please check if the user 'apache' has permission to write to the directory '/usr/local/campsite/www/foghorn/html/images/thumbnails'.
----
I checked all the permissions, and they are set for full 777 for the image directories. Then I decided to test out the system() command to check for problems. I wrote this little script to check:
----
$cmd = "convert -sample 64x64 /usr/local/campsite/www/foghorn/html/images/cms-image-000000061.gif /usr/local/campsite/www/foghorn/html/images/thumbnails/cms-thumb-000000061.gif";
$lastline = system($cmd,$retval);
if (file_exists("/usr/local/campsite/www/foghorn/html/images/thumbnails/cms-thumb-000000061.gif")){
echo "Created Sucessfully!";}
else{
echo "Error! Last Line:".$lastline." Retval:".$retval;}
?>
----
The full-sized Image 61 is there, but still no go, it pumped out this:
----
Error!
Last Line:
Retval:127
----
Any ideas what it could be? I guessed that somehow php does not have write permissions for the directory, but it has 777 permissions on it. All of you have been a tremendous help, it is greatly appreciated!
Jim