 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
October 25th, 2006, 09:53 PM
|
#21 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
October 26th, 2006, 08:14 AM
|
#23 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Okay just verify they are set and try uploading
|
| |
October 26th, 2006, 02:12 PM
|
#24 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2006
Posts: 29
| 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
|
| |
October 26th, 2006, 02:49 PM
|
#25 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Do the mini medium and thumbs folders exist under 504?
|
| |
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
|
| |
October 26th, 2006, 03:16 PM
|
#27 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| | |
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 03:26 PM. | |