Author |
Message |
|
Did you upload all the files for the guestbook ?
|
 |
|
The ip is 164.103.199.82
|
 |
|
2.4.2 already has anti spam protection in the form of CAPTCHA (image verification).
|
 |
|
As it says in my signature I don't write the Advanced Guestbook. I write Lazarus which is a fork of this script. I may email Chi Kien Uong at some point with some ideas.
|
 |
|
Whoops my mistake. Change the 755 to 0755. But to be honest 644 should still be viewable.
|
 |
|
hmmmm the first change should of made it 755 .
I'll look into it in a bit.
|
 |
|
Now this code is in place do the previous test where you did a preview then checked the tmp folder for the image and it's permissions.
|
 |
|
Try changing the 755 to 777 in the code I gave you.
|
 |
|
Try this
Open lib/add.class.php and find
After it add
Next find
And after it put
|
 |
|
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.
|
 |
|
No I was just wondering. Make a post with an image and submit it, see if it gets put in the public folder.
|
 |
|
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.
|
 |
|
You need to run update_db.php which is found in the misc folder. You also need to use the config.inc.php file that comes with 2.4.2 and now your old one.
|
 |
|
Make a preview entry with an image and then login using FTP to check the permissions on the uploaded image (if it's there).
|
 |
|
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.
|
 |
|