Author |
Message |
13/10/2006 15:30:40
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Ok I tested it and I got told
You don't have permission to access /gastenboek/tmp/img-1160746191.jpg on this server.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
13/10/2006 15:43:44
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
I set the permissions to 777.
|
|
13/10/2006 15:45:52
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Maybe a .htaccesss file somewhere stopping it.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
13/10/2006 16:12:31
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
Carbonize wrote:Maybe a .htaccesss file somewhere stopping it.
How to check that?
|
|
13/10/2006 17:57:47
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Quick test. Upload a picture to both tmp and public folders using an ftp client and see if you can view then in a web browser. Also check in tmp folder to see if any files exist already and if so what are their permissions set to.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
13/10/2006 18:13:04
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
Carbonize wrote:Quick test. Upload a picture to both tmp and public folders using an ftp client and see if you can view then in a web browser. Also check in tmp folder to see if any files exist already and if so what are their permissions set to.
http://www.veldhuisenkemper.net/gastenboek/public/100_0440.jpg
http://www.veldhuisenkemper.net/gastenboek/tmp/100_0440.jpg
There weren't any other files in tmp.
|
|
13/10/2006 18:20:53
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Make a preview entry with an image and then login using FTP to check the permissions on the uploaded image (if it's there).
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
13/10/2006 21:52:22
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
Carbonize wrote:Make a preview entry with an image and then login using FTP to check the permissions on the uploaded image (if it's there).
I dit it and the permissions of the picture in tmp were 644.
Strange, isn't it?
|
|
13/10/2006 23:59:21
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Would of thought they'd be visible as 644. Are there any images in the public folder? I rewrote part of Lazarus to Chmod any uploaded images to 755, guess I will write a mod for AG as well.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
14/10/2006 00:00:34
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
Carbonize wrote:Would of thought they'd be visible as 644. Are there any images in the public folder? I rewrote part of Lazarus to Chmod any uploaded images to 755, uess I will write a mod for AG as well.
There's one image in public now. Should I delete this one?
|
|
14/10/2006 00:03:50
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
No I was just wondering. Make a post with an image and submit it, see if it gets put in the public folder.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
14/10/2006 00:07:12
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
Carbonize wrote:No I was just wondering. Make a post with an image and submit it, see if it gets put in the public folder.
I did it and the image is in the public folder!
|
|
14/10/2006 00:09:44
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
OK chmod must be the only problem. Email me a copy of add.class.php and image.class.php so I can see abot writing the mod. I'm at work and am blocked from downloading zip files.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
14/10/2006 00:14:55
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
You got mail!
|
|
14/10/2006 00:31:01
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Try this
Open lib/add.class.php and find
After it add
Next find
And after it put
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|