folderblog
What is folderblog?
Folderblog is a free PHP script that automatically displays the images placed in a given directory, no database needed. It can be used as a blog or gallery — and anything in between.

» demo blog   » learn more   » download now

Discussion
captcha and thumbs(back to index)
I'm totally new to this. I installed folderblog yesterday afternoon and have ruun into two problems.

1. Thumbnails not created/displayed. I chmod-ed the "thumbs" directory to 777. No change. Suggestions?

2. Having a problem with CAPTCHA in the comments. Instead of displaying a CAPTCHA image it just displays the text "captcha". It looks like this comes from fb_captcha.php. Any edits I need to make?

TIA
posted by Ben on 23 Jun 06 at 11:36 AM
1) did you give to appropriate rights also to fb.php?
2) show us an example of the website / the effect
posted by ikue on 25 Jun 06 at 5:22 AM
Hi, I am also new and having trouble with CAPTCHA, seems like the CAPTCHA "image" was not found. I get the "alt" message and the red "x" in the place of the CAPTCHA image. I am using fb3.0, Apache2.0, php 4.4
Thanks
posted by Ron on 26 Jun 06 at 2:03 AM
updatem here is the message if I open the fb_captcha.php directly

Fatal error: Call to undefined function: imagecreate() in C:\Apache20\Apache2\htdocs\fb_captcha.php on line 4

line4: $image = imagecreate(40,16);

is this Apache problem ?
posted by Ron on 26 Jun 06 at 2:11 AM
Ikue,
Here's the URL: http://www.worldcycling.tv/photocontrib/index.php

You should be able to see what I'm talking about by looking at the archive or comments.

Thanks.
posted by Ben on 26 Jun 06 at 10:47 AM
Ikue,
What would I do to give appropriate rights to fb.php?
Thanks,
Ben
posted by Ben on 26 Jun 06 at 10:51 AM
Apparently, the problem was in my php installation.
GD library was not installed properly.
-Ben
posted by Ben on 26 Jun 06 at 4:39 PM
Yes, the imagecreate-function didnt seem to work because of a library problem.

Concerning appropriate rights, give a 777 to the fb.php.
posted by ikue on 28 Jun 06 at 2:19 AM
GD library was not enabled by default at PHP installation, need to un-comment this line in php.ini
"extension=php_gd2.dll".
Its working now
posted by Ron on 29 Jun 06 at 4:04 AM
Post a Reply:

Name:    Remember me
URL:    
(include http:// or mailto:)
(back to index)