PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 22nd, 2006, 11:25 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Southern MD
Posts: 34
Send a message via AIM to fkatzenb Send a message via MSN to fkatzenb Send a message via Yahoo to fkatzenb
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
fkatzenb is offline   Reply With Quote
Old September 22nd, 2006, 08:12 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
Your uploads and data directories must be 777 at every level
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 23rd, 2006, 10:47 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Southern MD
Posts: 34
Send a message via AIM to fkatzenb Send a message via MSN to fkatzenb Send a message via Yahoo to fkatzenb
They are. That is why I posted above. If I look at the /tmp directory, that file/directory is not there.


Frank
fkatzenb is offline   Reply With Quote
Old September 25th, 2006, 10:25 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Southern MD
Posts: 34
Send a message via AIM to fkatzenb Send a message via MSN to fkatzenb Send a message via Yahoo to fkatzenb
Anyone?
fkatzenb is offline   Reply With Quote
Old September 26th, 2006, 10:12 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 26th, 2006, 11:07 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Southern MD
Posts: 34
Send a message via AIM to fkatzenb Send a message via MSN to fkatzenb Send a message via Yahoo to fkatzenb
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.
fkatzenb is offline   Reply With Quote
Old September 26th, 2006, 12:30 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 27th, 2006, 09:56 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Southern MD
Posts: 34
Send a message via AIM to fkatzenb Send a message via MSN to fkatzenb Send a message via Yahoo to fkatzenb
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
fkatzenb is offline   Reply With Quote
Old September 27th, 2006, 11:28 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Southern MD
Posts: 34
Send a message via AIM to fkatzenb Send a message via MSN to fkatzenb Send a message via Yahoo to fkatzenb
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
fkatzenb is offline   Reply With Quote
Old September 28th, 2006, 08:40 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 28th, 2006, 10:46 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Southern MD
Posts: 34
Send a message via AIM to fkatzenb Send a message via MSN to fkatzenb Send a message via Yahoo to fkatzenb
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
fkatzenb is offline   Reply With Quote
Old September 28th, 2006, 12:37 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
You have tried setting your data directory incorrectly recheck your paths.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 28th, 2006, 10:43 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Southern MD
Posts: 34
Send a message via AIM to fkatzenb Send a message via MSN to fkatzenb Send a message via Yahoo to fkatzenb
Quote:
Originally Posted by Chuck S View Post
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
fkatzenb is offline   Reply With Quote
Old September 28th, 2006, 10:56 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old 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.
GoMeS_k is offline   Reply With Quote
Old 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.
GoMeS_k is offline   Reply With Quote
Old September 30th, 2006, 08:26 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
Please refrain from spamming multiple threads

I have already replied here

http://www.photopost.com/forum/showp...7&postcount=16
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old 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
GoMeS_k is offline   Reply With Quote
Old September 30th, 2006, 08:53 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old 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?
GoMeS_k is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any reason not to add a define to php files? SomeName How Do I? - vBulletin 3.0.X 2 July 5th, 2005 06:32 PM
for some reason i cannot get into or see the photopost pro beta forum somerfeld General Discussion 1 April 25th, 2005 08:18 AM
strange sql errors out of the blue, for no reason? sross Photopost Pro Installation & Upgrades 3 August 24th, 2004 09:19 AM


All times are GMT -5. The time now is 11:04 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0