 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
September 22nd, 2006, 11:25 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Dec 2005 Location: Southern MD
Posts: 34
| Error... but for a different reason.
I know this sounds like a repeat, however it is not.
We were hacked. We restored the server, had EZSM harden it, and then restored backups. My gallery which had been working for a vary long time is now no longer uploading pictures. I get the following error... Code: Content visible to verified customers only.
I think this is because the file is not making it there??? Even though this was my only error, I still checked all of the gallery's permissions.
Your help is greatly appreciated!
Frank
|
| |
September 22nd, 2006, 08:12 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
Your uploads and data directories must be 777 at every level
|
| |
September 23rd, 2006, 10:47 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Dec 2005 Location: Southern MD
Posts: 34
|
They are. That is why I posted above. If I look at the /tmp directory, that file/directory is not there.
Frank
|
| |
September 25th, 2006, 10:25 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Dec 2005 Location: Southern MD
Posts: 34
|
Anyone?
|
| |
September 26th, 2006, 10:12 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
Yes your uploads/1 directory is NOT set to 777 or safe mode is on on your server.
Double check your permissions and also check the admin php info link and check the safe mode thing
|
| |
September 26th, 2006, 11:07 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Dec 2005 Location: Southern MD
Posts: 34
|
Everything has been in order and was the result of a previous installation. This started when we had to hardened the server and restore from backup. I personally think that when they hardened my server, they did something to the tmp directory?! Is there a different way of doing things?
Frank Code: Content visible to verified customers only.
Code: Content visible to verified customers only.
|
| |
September 26th, 2006, 12:30 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
Yeah I dont know what you mean by hardened so you might want to contact them
Only thing I can suggest is as I have stated
1. make sure permissions every level down are 777. I see directory 11 it is not
2. make sure safe mode is off
3. Make sure you have the proper uploads path in global options in admin
|
| |
September 27th, 2006, 09:56 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Dec 2005 Location: Southern MD
Posts: 34
|
I am going to have them look at it today. Everything is done right on Photopost's end. Is there a way to not do the /tmp directory? It seems to me that vB doesnt use it, so how can I make photopost not use it.
Thanks!
Frank
|
| |
September 27th, 2006, 11:28 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Dec 2005 Location: Southern MD
Posts: 34
|
Well it appears that the only permissions done to my /tmp directory is you cannot execute in it. Great. So what is really wrong?
So does photopost only use /tmp directory when PHP is in safe mode? I am just trying to figure out why it is trying to use the /tmp directory?
Thanks for the help.
Frank
|
| |
September 28th, 2006, 08:40 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
Any PHP file upload to my ability should use the tmp directory specified in the php setup. To my knowledge that directory should also be set and usually is set to 777
|
| |
September 28th, 2006, 10:46 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Dec 2005 Location: Southern MD
Posts: 34
|
Well it is set to 777 and no joy. I did try something else. On my server, I am running Plesk. The thing about plesk is there is to locations for everything... for example...
/home/httpd/vhosts/somedomain.com/httpdocs/forums/photopost/uploads/
/var/www/vhosts/somedomain.com/httpdocs/forums/photopost/uploads/
If I switch to the later path, I get a different error. The error I get is unable to determine image type for [/home/httpd/vhosts/turbo-mopar.com/httpdocs/forums/photopost/uploads/500/cylinder_flow.jpg].
However there is no 500 directory...
Frank
|
| |
September 28th, 2006, 12:37 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
You have tried setting your data directory incorrectly recheck your paths.
|
| |
September 28th, 2006, 10:43 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Dec 2005 Location: Southern MD
Posts: 34
| Quote:
Originally Posted by Chuck S You have tried setting your data directory incorrectly recheck your paths. | I know that. I was just pointing out all the options I have tried.
So it /tmp only supposed to be used if the server is in Safe Mode? So currently it or the server thinks it is in safe mode even though php.ini does not say it is in safe mode.
Frank
|
| |
September 28th, 2006, 10:56 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
No to my knowledge when you upload a file it is uploaded to the tmp directory and moved through the upload process when finished to the final place which in our case is uploads directory
Now this requires you to have the correct uploads directory server path entered where asked and just like the data directory uploads at every level needs to be set to 777. you can not upload a file to your site unless the directory is set to 777 usually. With the error your posting there can only be 3 things wrong that I can see and I posted those in post 7
|
| |
September 30th, 2006, 07:59 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Apr 2002 Location: Brazil
Posts: 427
|
I'm having exactly the same problem, data and uploads directories are all set to 777 including all levels under it.
I also run PLESK.
|
| |
September 30th, 2006, 08:13 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Apr 2002 Location: Brazil
Posts: 427
|
Paths are correct, server has safe_mod off. No clue what is causing this.
|
| |
September 30th, 2006, 08:35 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Apr 2002 Location: Brazil
Posts: 427
|
If you read again you will see that I left a reason on my edit saying that I posted on the wrong thread, and by no means I'm "spamming" multiple threads. Quote:
If it is disappearing then one of the 3 is your culprit
1. safe mode is on
2. file uploads are off
3. Your file is over your php max_upload_filesize or the LimitBodyRequest variable on your server
| 1) safe mode is off
2) files upload is on.
3) It doesn't work even with a 50kb picture.
Here is the error:
Unable to move file [/tmp/phpajJCVy] [/home/httpd/vhosts/gkbe.com/httpdocs/pp/uploads/1/1.jpg]
All paths are correct and data / uploads dir and child dirs are 777.
Last edited by GoMeS_k; October 1st, 2006 at 02:33 PM.
Reason: removed url
|
| |
September 30th, 2006, 08:53 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
The error your posting means either safe mode is on or the directories are not set to 777. Can not say anything else really.
The might want to contact your host about file uploads if you continue to have an issue and everything we post here is correct
|
| |
September 30th, 2006, 09:00 PM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Apr 2002 Location: Brazil
Posts: 427
|
I run a dedicated server and if you looked at my php info you can see it has safe_mode turned off.
And I can assure you 110% that the /data and /uploads directories and childs are chmoded to 777.
Never had such weird problem with PP in the past. Maybe Michael can clear things up?
|
| | |
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 11:04 AM. | |