I'm running geeklog on my web-host ISP. They provide php and mysql support, and I've managed to install geeklog on my web site and interface to their php and mysql support. However, because their PHP is a global feature for all users, I have no access to php.ini.
My problem is that I cannot upload any images. When I try, I get these errors:
Upload of 08272003.jpg failed. Chmod of 08272003.jpg to 0644 failed
All of my directories are 777, so it doesn't appear to be a file system permission problem. My guess is that PHP isn't allowing uploads. I've browsed the forum, and the suggestions I've seen so far say to modify php.ini. Well, I can't do that, so I need other ideas. I read another post about .htaccess, but I didn't understand it.
I think I figured out .htaccess. I created the file and added these two lines:
php_flag register_globals on php_value file_uploads on
Now I don't get any errors, but the uploaded images don't appear in the story! I have [image1] and [image2] tags in the story text, but they are not replaced with the images.
10/31/03 04:46pm
Timur Tabi
Anonymous
More information: despite the fact that Geeklog says that my story was submitted successfully, the jpegs I'm uploading do no appear on the file system. That is, my images/articles directory doesn't contain any files (except index.html).
11/02/03 02:44pm
Timur Tabi
Anonymous
I still haven't resolved this issue, but I have found a workaround. I enabled img tags for admins.