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 October 25th, 2006, 09:53 PM   #21 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
http://cookalbums.ca/photoalbum/show...t=500&ppuser=1

I would suggest you check per our install instructions you have set the data directories at every level to 777. I uploaded fine to the members gallery
__________________
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 October 25th, 2006, 10:04 PM   #22 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2006
Posts: 29
try again?

Ok very strange if I choose Member Galaries it works ok
If I choose any of my catagories I get the error.

Can you test by using one of my cagatories?

Looks to be 777

host2:/srv/vhosts/cookalbums.ca/photoalbum # chmod -R 777 data/

I did it again just to be sure the -R will do all subfolders/files :


host2:/srv/vhosts/cookalbums.ca/photoalbum # cd data/
host2:/srv/vhosts/cookalbums.ca/photoalbum/data # ls -ls
total 2
0 drwxrwxrwx 12 root root 320 Oct 25 18:50 .
2 drwxr-xr-x 11 root root 1592 Oct 25 18:13 ..
0 drwxrwxrwx 5 root root 152 Oct 25 18:04 1
0 drwxrwxrwx 5 root root 152 Oct 25 18:04 2
0 drwxrwxrwx 5 root root 216 Oct 25 20:54 500
0 drwxrwxrwx 2 root root 48 Oct 25 18:46 501
0 drwxrwxrwx 2 root root 48 Oct 25 18:47 502
0 drwxrwxrwx 2 root root 48 Oct 25 18:47 503
0 drwxrwxrwx 2 root root 48 Oct 25 20:34 504
0 -rwxrwxrwx 1 root root 0 Jan 3 2005 index.html
0 drwxrwxrwx 2 root root 48 Oct 25 18:19 medium
0 drwxrwxrwx 2 root root 48 Oct 25 18:19 mini
0 drwxrwxrwx 2 root root 48 Oct 25 18:19 thumbs
dcook8645 is offline   Reply With Quote
Old October 26th, 2006, 08:14 AM   #23 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Okay just verify they are set and try uploading
__________________
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 October 26th, 2006, 02:12 PM   #24 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2006
Posts: 29
Exclamation still not working

Hi Chuck
There is no difference

If I choose my catagories, using GD I get this error:

Unable to read the format of file: /srv/vhosts/cookalbums.ca/photoalbum/data/504/medium/6309tabs.JPG


If I choose my catagories, using Imagemagik I get this error:

Error creating thumbnail! Error code: 1

Command:

"/usr/bin/mogrify" +profile "*" -size 100x78 -quality 70 -geometry 100x78 -unsharp 10 '/srv/vhosts/cookalbums.ca/photoalbum/data/504/thumbs/6309tabs.JPG'

If I choose Member Catagories it works, it is only fails and gives the above errors if I choose my catagories that I created.

Duane
dcook8645 is offline   Reply With Quote
Old October 26th, 2006, 02:49 PM   #25 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Do the mini medium and thumbs folders exist under 504?
__________________
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 October 26th, 2006, 03:08 PM   #26 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2006
Posts: 29
nothing inside 504

host2:/srv/vhosts/cookalbums.ca/photoalbum/data/504 # pwd
/srv/vhosts/cookalbums.ca/photoalbum/data/504

host2:/srv/vhosts/cookalbums.ca/photoalbum/data/504 # ls -ls
total 0
0 drwxrwxrwx 2 root root 48 Oct 26 13:11 .
0 drwxrwxrwx 12 root root 320 Oct 25 18:50 ..


No nothing inside 504



As you can see 504 has 777 so it should be able to make any files/folders it wants:

host2:/srv/vhosts/cookalbums.ca/photoalbum/data # ls -ls
total 2
0 drwxrwxrwx 12 root root 320 Oct 25 18:50 .
2 drwxr-xr-x 11 root root 1592 Oct 25 18:13 ..
0 drwxrwxrwx 5 root root 152 Oct 25 18:04 1
0 drwxrwxrwx 5 root root 152 Oct 25 18:04 2
0 drwxrwxrwx 5 root root 280 Oct 25 21:05 500
0 drwxrwxrwx 2 root root 48 Oct 25 18:46 501
0 drwxrwxrwx 2 root root 48 Oct 25 21:04 502
0 drwxrwxrwx 2 root root 48 Oct 25 18:47 503
0 drwxrwxrwx 2 root root 48 Oct 26 13:11 504
dcook8645 is offline   Reply With Quote
Old October 26th, 2006, 03:16 PM   #27 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
I but where permissions right when they where created. ore than likelu permissions where not right and the cats where not created

Just create the directories and make sure they are 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 October 26th, 2006, 03:40 PM   #28 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2006
Posts: 29
working

I removed my catagories, and then deleted all the folders in data except for 1, 2, 500 I then recreated my catagory and I see now there is a new folder called 505 with 777 permissions and inside is :

host2:/srv/vhosts/cookalbums.ca/photoalbum/data/505 # ls -ls
total 0
0 drwxrwxrwx 5 wwwrun www 152 Oct 26 14:31 .
0 drwxrwxrwx 9 root root 248 Oct 26 14:26 ..
0 -rw-r--r-- 1 wwwrun www 0 Oct 26 14:26 index.htm
0 drwxrwxrwx 2 wwwrun www 80 Oct 26 14:31 medium
0 drwxrwxrwx 2 wwwrun www 80 Oct 26 14:26 mini
0 drwxrwxrwx 2 wwwrun www 80 Oct 26 14:31 thumbs


I was able to upload a photo to this catagories without error.

Is it required for all of data to be 777 and owned by wwwrun user?
Seems like a huge security problem that someone could exploit

Is there a way to tighten security once my photos are all uploaded?


Thank you very much

Duane
dcook8645 is offline   Reply With Quote
Old October 26th, 2006, 03:45 PM   #29 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
This should explain it in detail

For most people and servers it needs to be 777 if you own your own server you could try this

http://www.photopost.com/forum/showp...55&postcount=6
__________________
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
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
unable to view page navigation and photos inside categories. SaN-DeeP Photopost Pro Installation & Upgrades 2 March 22nd, 2006 04:02 PM
Admin Link for PhotoPost Classifieds Not working Proper for me Aman1485 Classifieds Installation & Upgrades 2 March 14th, 2006 08:30 PM
Controlling Page Views under Frames tjanders Photopost Pro How Do I...? 0 January 1st, 2006 10:34 PM
Logoff link inside Gallery pages lakerszone Photopost Pro How Do I...? 7 January 11th, 2005 09:33 AM


All times are GMT -5. The time now is 03:26 PM.

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