View Full Version : Cannot upload photos
May 8th, 2005, 11:07 PM
This same problem was posted by Phyllis on 4/26, but her problem seems to have been resolved without documentation on this forum.
I can't upload photos to my gallery - www.kitspirations.com/Gallery. When I hit the "upload/submit" button, I get a red x in a white box where the preview image should be, and when I hit the "process" button, I get "The page cannot be displayed" (www.kitspirations.com//Gallery//bulkupload.php). There's a test account - user name "test", password "test"
May 9th, 2005, 09:53 AM
Check all your url's and paths when you installed the application. They do not seem right here
Notice you have an extra / here
Also you have missing images as your image directory is set the same as above.
Check your uploads and data server paths as more than likely they are wrong as well
May 9th, 2005, 03:24 PM
OK - I removed all of the extra / that I had. Now I get a bunch of error messages - I apparently have my paths set up incorrectly, but I'm not sure what they should be.
Thanks for you help!
May 9th, 2005, 11:27 PM
Can you please help me with this? I've seen similar problems in this forum, but nothing seems to work! My permissions are all set correctly. If it's my paths, what should they be?
May 10th, 2005, 05:44 AM
Warning: imagejpeg(): Unable to open '/data/1/0/109/60/109060/user/110558/htdocs/Gallery/1/thumbs/slimer-12-11-02.jpg' for writing in /data/1/0/109/60/109060/user/110558/htdocs/Gallery/image-inc.php on line 121
Per our installation instructions your uploads and data directories as well as all there subdirectories need to be 777.
You also still have in the url setup of the program that extra slash between the domain name and Gallery
May 10th, 2005, 09:59 AM
All of my permissions are correct - I re-checked them so many times!
1 777 (inc. subdirs)
2 777 (inc. subdirs)
500 777 (inc. subdirs)
Extra slash is now gone - really!
The images are in Gallery/data/1/ and the thumbs are in Gallery/data/1/thumbs/
I don't know what else to do - I've looked at the permissions so many times!
I did notice when reviewing everything, that there is a Gallery/2/ folder that contains one of my images and a Gallery/5/folder that contains one of yours? (slimer-12-11-02) - are these folders supposed to be there?
May 10th, 2005, 10:59 AM
Usually your uploads folder is called uploads
You have your uploads folder set to your main gallery directory so of course permissions are not correct as gallery would and should be 755
In Global Options set the url and server path to add in the uploads folder in the place where it asks you for uploads url and path
May 10th, 2005, 10:28 PM
OK - we're making progress. Now the thumbnail shows up when I click the "upload/submit" button, but when I click the "process" button, I get "The page cannot be displayed" (www.kitspirations.com/Gallery/bulkupload.php)
May 11th, 2005, 12:14 PM
Please help! We're going live this Friday or Saturday, and the gallery is a huge part of our web site!
May 11th, 2005, 11:37 PM
Can you please help me?! I've discovered through a lot of research in these forums, that it appears to be an issue of file size. I don't think that it's unreasonable to have a 300kb file to upload, but I can't even do that. What can I adjust to upload larger images?
May 12th, 2005, 12:07 AM
I can't even upload a 100kb file.
Per your response to another thread, I've modified my bulkupload.php file with;
This appears to have done nothing.
May 12th, 2005, 12:07 AM
Did you go to the usergroup manager in the admin control panel and set the `upload file size limit' per usergroup? - to 300?
...Also make sure that Allow uploads (per usergroup) is set to Yes
May 12th, 2005, 01:20 AM
Yes, I did adjust the upload file size limits within the control panel, and I game me, admin, unlimited file size. From what I've been reading in these forums, the file size may be limited somewhere else, but I'm not sure where. At one point today, I was able to upload a 300kb file, but only once! Whenever I try, I get the "page cannot be found" message.
Thanks for your help!
May 12th, 2005, 06:00 AM
Who is your host?
The file in question that usually restricts the file upload size without someone wanting is php.conf where the limitbodyrequest variable restricts the size.
I just uploaded 3 images to your install no problem
May 12th, 2005, 09:27 AM
My host is Network Solutions. Where do I find the php.conf file? Do I have access to that file?
I saw the images that you uploaded, but they were all very small - 57kb being the largest. I literally cannot upload over 70kb! When you've compressed a file down to that size, it's not worth seeing anyway! It's hard to believe that the limitbodyrequest variable is set this low! I am so discouraged!
May 12th, 2005, 09:49 AM
You most likely do not have access to that file. You would need to contact your host to see what restriction they have on the limitbodyrequest variable.
I just uploaded an 80KB image to your install but it does not do a 149kb one I tried
May 12th, 2005, 10:18 AM
What would be a reasonable limitbodyrequest variable? Can I just ask them to increase it?
I keep seeing a lot of threads here of people complaining that they can't upload over 2mb - I'm not even in the ballpark! I'm trying to upload a 26kb file right now and it won't let me. It's completely inconsistent! Yesterday, very briefly, I was able to upload a 300kb file! How can it change like that?
May 12th, 2005, 10:37 AM
well not uploading over 2mb has to do with another server file. That would be php.ini and by default php does not allow over a 2mb upload unless you tweak it.
I can not say what your host will or will not do. If they remove the limitbodyrequest the upload file limit would default to the php default in php.ini whichever they have that set to.
May 12th, 2005, 03:21 PM
I'm currently waiting to hear from Network Solutions - after being on hold forever, the technician said he spoke to an engineer that needs to speak to an engineer above him, etc. They're supposed to e-mail me within a few hours. After that phone call, I'm not feeling too optimistic about them adjusting this file! I'll keep you updated one way or the other - please don't forget about me!
May 12th, 2005, 06:20 PM
Help! This is what Network Solutions said:
"I am sorry however being in a shared hosting environment we cannot change the global php.conf file"
What can I do?
May 12th, 2005, 06:29 PM
So they are restricting you to around I estimate 100kb?
You either need to set in usergroup permissions the max filesize to be under their restriction and live with the way they configure there server or find a new host to move your site to. I dont think there is any other suggestion than this.
There are many hosts out there that do not restrict such things as this in a shared environment. I would suggest maybe westhost.com as an example of decent pricing diskspace and bandwidth.
May 12th, 2005, 07:09 PM
I was afraid that you would say that! I wonder how hard it is to change hosts! How scary, but I need a gallery! You don't think that I'd have this particular issue with westhost.com?
May 12th, 2005, 07:19 PM
You said in a previuos post...
I've modified my bulkupload.php file with;
Are you trying to bulk upload lots of pics?
How about putting this back the way it was originally and see if your standard upload, as per pic, works.
You shouldn't be having any problems uploading individual pics.
May 12th, 2005, 07:25 PM
I'm not actually trying to bulk upload at all - I'm trying to upload one image at a time. I removed that bulkupload.php modification, but it makes no difference. I can't imagine that no one using PhotoPost uses Network Solutions for a host. If changing the php.conf file is a "global" issue, shouldn't a lot of PhotoPost users be having this problem?
May 12th, 2005, 07:39 PM
Alas, I'm no expert on this.
I just wrote in because the answer seemed pretty straight forward, by adjusting your settings in your admin panel.
But reading back over your thread it looks like you've had a few stumbling blocks on the install, (which my wife does and she generally has no problems. However we did pay to get a first install and then she learned the ropes after that.)
Anyway, sorry to hear about your difficulty and I hope you can sort it out soon.
May 12th, 2005, 09:08 PM
I actually dont know of any photopost users on Network Solutions persay. On a shared server environment you have to live with the settings they put on the server if they wont change them or move to a new host.
I wish I could post something more encouraging here beleive me ;)
May 12th, 2005, 09:41 PM
A long time ago we had a site at Network Solutions and found it rather restrictive. Have you checked with them about using PhotoPost there?
We've been on a shared server (http://www.futurequest.net/) for a number of years now using PhotoPost, had no problems setting up, and have fast and smooth site performance. They are an excellent host - tops on service, with replies to requests usually within 15 minutes, plus a supportive community.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.