[ansel] Help with Ansel Install

John H. Bennett III bennettj at thebennetthome.com
Thu Dec 31 03:34:17 UTC 2009


I tried installing Ansel today and have run into some issues trying to  
get it to work.  I'm using horde 3.3.6 with ansel 1.1, and other  
current stable horde components.  I have php 4.3.9.  This is running  
under SME Server which runs on CentOS.

I can get it installed, create a gallery, and upload photos.  When  
looking at the gallery, I have an image placeholder with a red X.   
Looking at my logs, I see a lot of this:
Dec 30 21:31:32 www HORDE[10553]: [ansel] Unable to open VFS file.  
[pid 10553 on line 2257 of "/home/httpd/html/horde/ansel/lib/Ansel.php"]
Dec 30 21:31:32 www HORDE[10553]: [ansel] Unable to open VFS file.  
[pid 10553 on line 2736 of "/home/httpd/html/horde/ansel/lib/Ansel.php"]
Dec 30 21:31:32 www HORDE[10553]: [ansel] Unable to open VFS file.  
[pid 10553 on line 45 of  
"/home/httpd/html/horde/ansel/img/prettythumb.php"]
Dec 30 21:31:33 www HORDE[10618]: [ansel] Unable to open VFS file.  
[pid 10618 on line 2257 of "/home/httpd/html/horde/ansel/lib/Ansel.php"]
Dec 30 21:31:33 www HORDE[10618]: [ansel] Unable to open VFS file.  
[pid 10618 on line 2736 of "/home/httpd/html/horde/ansel/lib/Ansel.php"]
Dec 30 21:31:33 www HORDE[10618]: [ansel] Unable to open VFS file.  
[pid 10618 on line 45 of  
"/home/httpd/html/horde/ansel/img/prettythumb.php"]
Dec 30 21:31:33 www HORDE[10538]: [ansel] Unable to open VFS file.  
[pid 10538 on line 2257 of "/home/httpd/html/horde/ansel/lib/Ansel.php"]
Dec 30 21:31:33 www HORDE[10538]: [ansel] Unable to open VFS file.  
[pid 10538 on line 2736 of "/home/httpd/html/horde/ansel/lib/Ansel.php"]
Dec 30 21:31:33 www HORDE[10538]: [ansel] Unable to open VFS file.  
[pid 10538 on line 44 of "/home/httpd/html/horde/ansel/img/mini.php"]


So I have missed a step or messed something up.  I used this linke as  
my reference, http://www.horde.org/ansel/docs/?f=INSTALL.html.  My  
test.php info show:
Ansel Version
Ansel: H3 (1.1)
Other Horde Applications
horde: Yes (Version: 3.3.6)
agora: No
Agora provides the ability for users to comment on images.
PHP Version
PHP Version: 4.3.9
PHP Major Version: 4.3
PHP Minor Version: 9
PHP Version Classification: release
You are running a supported version of PHP.
PHP Module Capabilities
GD Support: Yes
Imagick Library: No
Ansel can make use of the Imagick Library, if it is installed on your  
system. It is highly recommended to use either ImageMagick's convert  
utility or the Imagick php library for faster results.
Zip Support: No
Ansel can make use of PHP's Zip extension for more efficiently  
processing uploaded ZIP files..
OpenCV Library: No
Ansel can make use of the OpenCV PHP extension for automatically  
detecting human faces in images. You need either this library or the  
one immediately below to detect human faces.
Facedetect Face Detection Library: No
Ansel can make use of the Facedetect PHP extension for automatically  
detecting human faces in images. You need either OpenCV (above) or  
Facedetect to detect human faces.
Puzzle Library: No
Ansel can make use of the libpuzzle PHP extension for finding similar  
images based on image content.
Ansel Configuration Files
config/conf.php: Yes
config/prefs.php: Yes
PEAR Modules
PEAR Search Path (PHP's include_path):   
/home/httpd/html/horde/lib:/usr/share/pear-addons:/usr/share/pear
PEAR: Yes
Recent PEAR: Yes
MDB2: Yes


My conf.php:
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: ansel/config/conf.xml,v 1.49.2.11 2009-06-15 17:13:38  
mrubinsk Exp $
$conf['gallery']['downloadzip'] = false;
$conf['gallery']['customlabel'] = true;
$conf['menu']['print'] = true;
$conf['menu']['apps'] = array();
$conf['images']['type'] = 'horde';
$conf['vfs']['src'] = 'php';
$conf['image']['type'] = 'jpeg';
$conf['image']['autogen'] = '1';
$conf['image']['prettythumbs'] = true;
$conf['image']['num_uploads'] = '5';
$conf['thumbnail']['perpage'] = '30';
$conf['thumbnail']['width'] = '150';
$conf['thumbnail']['height'] = '150';
$conf['screen']['width'] = '800';
$conf['screen']['height'] = '600';
$conf['ecard']['enable'] = true;
$conf['comments']['allow'] = 'never';
$conf['ansel_cache']['usecache'] = false;
$conf['tags']['relatedtags'] = false;
$conf['report_content']['driver'] = false;
$conf['ages']['limits'] = array();
$conf['ages']['hook'] = false;
$conf['faces']['driver'] = 'user';
$conf['faces']['search'] = '7';
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */


I'm not 100% sure what my VFS driver should be.

Appreciate any assistance,

Thanks,

John Bennett




More information about the ansel mailing list