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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 18th, 2008, 07:48 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 38
Unable to upload photos after upgrade

For some reason, I've we've lost the ability to upload photos after the upgrade to 6.11. Before the upgrade there weren't any issues uploading. The initial complaint was a user received a 403 error on uploading, which I initially assumed was a permissions issue, but no permissions had been changed. The data and upload folders - and subfolders - are still 777 (they haven't changed - I checked them myself).

The only thing permissions-wise that was changed was open_basedir was turned OFF (Safe mode had already been turned off)

The first thing I checked the the plugin system (turned it off) due to the issue I had in another thread that resulted in another issue, which thanks to Chuck, was resolved.

When I attempt to upload a photo it does this:
I click Select Images.
I browse and select the image I want. I click open.
It acts as if it uploads it. It disappears. I am back where I was before.
I can click Select Images and choose the same image again and attempt to upload it again. Same situation.

If I click Process Image, it acts as if it does so and returns me to my personal gallery.

Also, where are individual files stored (I know they are not stored in the database and that they are stored in the file system)? For example, showphoto.php/photo/49711/size/big/cat/ - where would I navigate to in FTP to find the actual photo?
David
christianb is offline   Reply With Quote
Old August 18th, 2008, 10:32 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
it is under the data directory the file is.

As far as uploading you may place a link and test login here
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 19th, 2008, 06:44 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 38
The data directory looks like this:
1
1000
...
1422
2
500
...
999
where ... represents incremental values between the above and below.
The largest number I see in there is 1422 (where would 49711 fit?). This is totally different than vBulletin's 4/9/7/1/1/ attachment storage convention, which is why I am asking.

As for the second part, this is the same site as the previous issue.
christianb is offline   Reply With Quote
Old August 19th, 2008, 07:15 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Our storage convention is out own

/data/catid/filename

As far as error I would suggest you check your server error logs make sure uploads directory and all directories beneath it are 777 permissions
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 19th, 2008, 09:44 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 38
What is a catid? and where would I find 49711 if the number only goes up to 1422 or 2? I'm trying to understand this.

Meanwhile, I'm requesting the server team re-chmod all required directories and subdirectories 777 even though they are already 777.
christianb is offline   Reply With Quote
Old August 19th, 2008, 10:01 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
The catid is the numeric number of the category in question

I am not seeing that uploads are working on your site at all so you might want to contact the host and see if the server logs say anything looks to me like your server is dropping the image
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 20th, 2008, 06:45 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 38
Thanks - I contacted the server to rechmod the directories/subs as FTP has a 300 sec timeout and they did (otherwise it takes forever) and they have done so.

I am seeing the same thing (dropping images) when attempting to upload as when I upload the image disappears.

Question. When open_basedir is in effect (which it was before I requested stopped) we could not upload images from URLs to the normal site without putting image uploading into a tmp directory based on open_basedir setting. Once open_basedir was turned off, that issue became fixed and no more image uploading temp mode. Is there anything that would affect Photopost by open_basedir being turned off?
christianb is offline   Reply With Quote
Old August 20th, 2008, 12:12 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I cant say as I can not see how your server is setup but they obviously did something like turn safe mode on or disable file uploads or something along that line. They would need to verify file uploads are working on the server as it would appear this is not working.

You can at this point with whatever changes they made not even upload a 100kb file I have tried
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 21st, 2008, 06:45 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 38
I'm theorizing here, but it looks like once open_basedir was taken out of effect, modsec ( mod_security ) started causing issues, so we disabled that. Now it works.
christianb is offline   Reply With Quote
Old August 21st, 2008, 08:01 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
That could do it. Yeah they locked down the ability to upload with mod_security
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
6.1 - Unable to upload photos Mojito Photopost Pro Installation & Upgrades 34 November 6th, 2008 03:44 PM
Unable to upload photos Debbie General Discussion 7 July 8th, 2007 09:47 AM
after upgrade from 5.1 to 5.13 cannot upload photos hendri Photopost Pro Installation & Upgrades 16 July 22nd, 2005 08:32 PM
Can't upload photos after upgrade. lighterrr Photopost Pro Installation & Upgrades 5 May 27th, 2005 10:58 AM
unable to upload photos - what ELSE can go wrong? Ginger2 ReviewPost Bug Reports 1 March 19th, 2005 07:39 PM


All times are GMT -5. The time now is 02:07 AM.

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