Error message when uploading an image.
When I try to upload a picture to my gallery I get the following message
"An error occurred while attempting to create a folder for your files. If the problem persists, please notify the webmaster"
My website is www.orchidgeeks.com/gallery
Does anyone have any idea on what the problem might be?
When you installed the application did you set the files directory under gallery directory to 777 and did you specify the correct path and url in gallery options in admincp?
O before I just chomed the directory.
I just chomed the files in the directory 777 of "gallery" and when I try and upload an image I get a blank screen...hmmm??
I just uploaded one fine and got the "must be reviewed by a moderator' message, no errors.
Can you check to make sure it went up ok?
Also, blank pages usually mean a template error but your gallery looks fine to me.
Hey your upload worked I validated it...but I myself am still getting a blank screen when uploading... I even tried different browsers and logging out of my user name
Hmm, your gallery is working like its supposed to. Why it isnt for you I dont know. Have tried uploading into the same forum I did to see if it wasnt a gallery forum permission error?
Just tried the same forum as yours and I get the same blank screen.
Are you uploading an image over 2mb which is the default PHP server max?
If your PHP memory which by default is set to 8M and your using GD then it could bomb out on large files
At the top of your upload.php file you could try placing these to override PHP's setting's
I just copied the code you mentioned and put it in the upload.php so far no effect.
I've determined any file size bigger than 8 kilobytes it gives me a blank screen. I looked at my FTP upload folder I can see all the pics which were uploaded even big files, however they do not show up in the gallery itself.
Interesting are you using GD2? If you have imagemagick on the server what happens if you use this processor?
What is GD2? I do not have imagemagick on my server. :(
There are two imageprocessor's one can use to upload images GD or Imagemagick(mogrify)
Now since GD is part of PHP and it processes image it uses PHP memory and if PHP memory runs out you can see behavior such as this. The little tweak I gave you works in most cases for people with GD and memory issues.
Have you cleared your upload directory of unprocessed files and tried uploading again?
|All times are GMT -5. The time now is 09:45 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0