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
can't get folderblog to work ok(back to index)
Hello, I just installed folderblog and I can't get it to work properly. I have the following probelms:
1. There are several photos in my folder, but it only shows 3, and when I click on any thumbnail, I get a page not found error.
2. At the bottom of the page is this error message:
PHP Notice: Undefined index: REQUEST_URI in D:\users\arsrcorg\Inetpub\wwwroot\fotoblog\fb.php on line 36 PHP Notice: Undefined index: REQUEST_URI in D:\users\arsrcorg\Inetpub\wwwroot\fotoblog\fb.php on line 37

I'll appreciate any suggestions on how to fix these problems

Thanks!

<?php
$blog_title = "folderblog 3.0"; // Blog Title
$pass = ""; // Password
$email_comments_to = "webmaster@arsrc.org"; // Enter an email address for new comment notification
$sort = 0; // 0: Sort by file modified date; 1: Sort alphabetically by filename
$allow_comments = 0; // 1: Allow comments; 0: Disable comments

$reverse = 0; // 0: Newest photo first; 1: Oldest photo first
$loop_photos = 0; // 0: Normal; 1: Photos loop around
$include_cats = 1; // 1: Include subcategories in main directory; 0: do not include categories

$thumb_maxsize = 100; // Maximum dimension for a generated thumb (in pixels)
$square_thumbs = 0; // 0: Normal thumbs; 1: Thumbnails are square (cropped)
$show_thumbs = 5; // Number of thumbs to show on main page
$show_empties = 1; // 0: draw empty $thumb_format box; 1: don't draw box

$rand_thumbs = 0; // Display how many random thumbnails?
$require_captcha = 1; // 1: Require CAPTCHA on commenting; 0: don't require CAPTCHA

$fbrss = "rss.xml"; // filename for RSS feed; leave blank for no feed
$rss_desc = "Recently posted images"; // Description for the RSS feed
$rss_show_thumbs = 1; // 1: Show thumbnails in RSS feed; 0: don't show thumbnails
$rss_lang = "en"; // Language for the RSS feed; see http://www.w3.org/WAI/ER/IG/ert/iso639.htm

$template_name = "template"; // template filename prefix (e.g. prefix_main.php)

$photo_directory = "../fotoblog/photos/"; // Directory for photos (with trailing slash)
$captions_directory = "../fotoblog/photos/"; // Directory for captions
$comments_directory = "../fotoblog/comments/"; // Directory for comments
$thumb_directory = "../fotoblog/thumbs/"; // Directory for thumbnails
$file_extension = ".jpg"; // File extension to index
?>
posted by Ade on 3 Jul 05 at 8:43 PM
You need to ditch the "../" bits before the directory names, so you'd end up with:

$photo_directory = "fotoblog/photos/";
$captions_directory = "fotoblog/photos/";
$comments_directory = "fotoblog/comments/";
$thumb_directory = "fotoblog/thumbs/";

Additionally, your core Folderblog files (fb.php, fb_vars.php, etc.) should be in directory next to these (see here for details).
posted by Elwing on 4 Jul 05 at 5:55 AM
Ade, not sure why you'd get any errors with the REQUEST_URI -- the server should be setting that automatically. Do you have a link to your fb install?
posted by donald on 5 Jul 05 at 2:12 AM
vou testar,,,
visitem http://www.tatuando.com/
posted by vitor on 30 Sep 06 at 8:26 PM
Post a Reply:

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