 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
February 6th, 2008, 05:51 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007 Location: Los Angeles
Posts: 23
| I switched hosts and now I can't upload photos.
The company said to post the problem here and they will do what you say.
This is the error I get:
Warning: move_uploaded_file(/home/caklassi/public_html/data/51/0_1957389_1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/caklassi/public_html/image-inc.php on line 63
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpnFPxvA' to '/home/caklassi/public_html/data/51/0_1957389_1.jpg' in /home/caklassi/public_html/image-inc.php on line 63
Please help. |
| |
February 6th, 2008, 06:21 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Looks like you updated your paths good job however based on the error you have not set permissions on your uploads and data directories at every level to 777. If you ftp in and do this you should be ifne.
|
| |
February 6th, 2008, 08:48 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007 Location: Los Angeles
Posts: 23
|
I told my host what you said and after working on it this is there response:
Tell him we changed them to 777 and we got diffrent errors
Warning: copy(/home/caklassi/public_html/data/51/large/0_1957389_1.jpg) [function.copy]: failed to open stream: Permission denied in /home/caklassi/public_html/image-inc.php on line 343 Warning: getimagesize(/home/caklassi/public_html/data/51/large/0_1957389_1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/caklassi/public_html/image-inc.php on line 110 Warning: unlink(/home/caklassi/public_html/data/51/large/0_1957389_1.jpg) [function.unlink]: No such file or directory in /home/caklassi/public_html/image-inc.php on line 122 So we changed them
755 and we are getting the same errors before. Warning: move_uploaded_file(/home/caklassi/public_html/data/51/0_1957389_12.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/caklassi/public_html/image-inc.php on line 63 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpCWGBy5' to '/home/caklassi/public_html/data/51/0_1957389_12.jpg' in /home/caklassi/public_html/image-inc.php on line 63
Last edited by ckrismoney; February 7th, 2008 at 01:37 AM.
|
| |
February 6th, 2008, 08:51 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
They did a recursive change on uploads and data?
Your error is different than before.
Is safe mode on on the server? It needs to be off.
|
| |
February 7th, 2008, 01:40 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007 Location: Los Angeles
Posts: 23
|
We turned safe mode off now it says this.
Warning: copy(/home/caklassi/public_html/data/51/large/0_dmd_ring1.jpg) [function.copy]: failed to open stream: Permission denied in /home/caklassi/public_html/image-inc.php on line 343
Warning: getimagesize(/home/caklassi/public_html/data/51/large/0_dmd_ring1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/caklassi/public_html/image-inc.php on line 110
Warning: unlink(/home/caklassi/public_html/data/51/large/0_dmd_ring1.jpg) [function.unlink]: No such file or directory in /home/caklassi/public_html/image-inc.php on line 122 What can we do I'm going crazy my users can't upload pics. |
| |
February 7th, 2008, 01:44 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
In my last reply I asked if they recursively changed permissions. You must have permissions on the data directory at every level meaning the data directory every numericdirectory beneath data as well as the large and thumbs directories under the numeric directories to 777
|
| |
February 7th, 2008, 09:39 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007 Location: Los Angeles
Posts: 23
|
Hi Chuck
Name is Patrick with HostDogs. I changed all the folders under the data folder including data and uploads to 777 I received the following errors.
Warning: copy(/home/caklassi/public_html/data/51/large/0_1957389_1.jpg) [function.copy]: failed to open stream: Permission denied in /home/caklassi/public_html/image-inc.php on line 343
Warning: getimagesize(/home/caklassi/public_html/data/51/large/0_1957389_1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/caklassi/public_html/image-inc.php on line 110
Warning: unlink(/home/caklassi/public_html/data/51/large/0_1957389_1.jpg) [function.unlink]: No such file or directory in /home/caklassi/public_html/image-inc.php on line 122
Changed to 755 and received these errors
Warning: move_uploaded_file(/home/caklassi/public_html/data/51/0_1957389_12.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/caklassi/public_html/image-inc.php on line 63
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpCWGBy5' to '/home/caklassi/public_html/data/51/0_1957389_12.jpg' in /home/caklassi/public_html/image-inc.php on line 63
Safe mode is off.
He is using GD2 for the image library. I have ask the server techs to install imagemagick
When I changed the permissions I changed every folder and file under the data and upload folders including data and uploads.
Please advise
Thanks
Patrick
|
| |
February 8th, 2008, 06:41 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
This all seemed centered around one file. Delete all directories under uploads directory and make sure uploads is 777 as well. Now after your uploads is clear try uploading a photo and see if uploads work. If this continues to be an issue you will need to send ftp info and url and admin login to support at photopost dot com.
|
| |
February 10th, 2008, 05:39 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007 Location: Los Angeles
Posts: 23
|
What exactly is my ftp info?
|
| |
February 10th, 2008, 05:47 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
That means file transfer protocol. If you look at your hosting information they will list there your ftp info. It is the info you use to connect to your site with an ftp client to upload files.
|
| |
February 11th, 2008, 03:40 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007 Location: Los Angeles
Posts: 23
|
I pm'd you the ftp info and admin login what's next?
|
| |
February 11th, 2008, 03:55 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
I responded to your PM the other day.
|
| |
February 11th, 2008, 04:08 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
What I stated is your permissions where not set to 777 as we noted earlier in this thread. Every single thumbs and large directory under your data directories where only 755. You can try uploading now http://caklassifieds.com/showproduct.php?product=3383 |
| |
February 12th, 2008, 01:55 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007 Location: Los Angeles
Posts: 23
|
Now, some pics upload some don't.
Some thumbs show some don't.
I can't move ads to the right section anymore also.
People place ads in the wrong section sometimes and now the ads are stuck there.
I don't know what's wrong.
I have 18.00 in my paypal can I please pay one of your techs the $18 to fix the problem.
My users are not posting often anymore soon I will loose all the users I worked so hard to get for the last 8 months. I promise I can pay more later.
Help Please!
Last edited by ckrismoney; February 12th, 2008 at 03:02 PM.
|
| |
February 12th, 2008, 03:36 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
As stated you need to set every last data directory at every level to 777. I clearly showed what your issue was so once you ftp to your server and correct the permissions so that every data directory and every thumbs and large directory under them are 777 you will be fine. We are not permitted to perform installations for people thats why the company has an install service.
|
| |
February 12th, 2008, 03:55 PM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2007 Location: Los Angeles
Posts: 23
|
Do I have to ftp to the server?
I just log in to my cpanel and change permissions.
And if I must ftp than what do I ftp.
The files are already on the server.
Oh man, I just found that my uploads folder is empty. Sould it be empty?
Last edited by ckrismoney; February 12th, 2008 at 04:14 PM.
|
| |
February 12th, 2008, 04:32 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
It would be empty if no one has uploaded.
As far as changing permissions you can use cpanel sure but same thing you must change permissions on all the data directories at every level.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:57 AM. | |