If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Guestbook 2.4.2  XML
Forum Index » Advanced Guestbook Forum
Author Message
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Niels
Student

Joined: 21/08/2005 17:06:50
Messages: 97
Offline

I set the permissions to 777.
[MSN]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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?
[MSN]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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.
[MSN]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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?
[MSN]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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?
[MSN]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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!
[MSN]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Niels
Student

Joined: 21/08/2005 17:06:50
Messages: 97
Offline

You got mail!
[MSN]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum