[OpenAFS] Filedrawers - does it work today?
Stephen Joyce
stephen@email.unc.edu
Thu, 26 Feb 2015 11:14:46 -0500 (EST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--8323329-1575557020-1424967286=:22355
Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT
It works OK for us on Ubuntu 12.04 LTS (apache 2.2.22-1ubuntu1.5, php
5.3.10-1ubuntu3.11, smarty 2.6.26-0.2ubuntu1).
Installation was pretty painless, but there are a number of patches
floating around that make it work better. I haven't tried it on 14.04 yet,
but I anticipate more changes will be needed.
Cheers,
Stephen
On Thu, 26 Feb 2015, Kevin M. Hildebrand wrote:
> We've got it running with Smarty-2.6.19, PHP 5.6.5, and Apache 2.2.21.
>
> Kevin
>
> --
> Kevin Hildebrand
> Division of IT
> University of Maryland, College Park
>
> -----Original Message-----
> From: openafs-info-admin@openafs.org [mailto:openafs-info-admin@openafs.org] On Behalf Of Staffan Hämälä
> Sent: Thursday, February 26, 2015 9:29 AM
> To: openafs-info@openafs.org
> Subject: [OpenAFS] Filedrawers - does it work today?
>
> A couple of years ago, I made an attempt to set up Filedrawers, but failed.
>
> Yesterday, I decided to give it a final try. However, I get some really
> strange Smarty-related errors that make me believe that I need a very
> old version of smarty to make it work.
>
> I've been trying with different versions, but can't find the correct one.
>
> I'm currently using apache 2.2.23 and php 5.4.11.
>
> I first tried Smarty-3.1.13, and then the newest version, Smarty-3.1.21.
> I've now tried version Smarty-2.6.28. Last time I was doing this I also
> tried smarty-1.5.2.
>
> Which version does work with filedrawers? Or do I need an older PHP
> version as well?
>
> Examples of the errors I get:
> PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in
> template "/data/filedrawers/smarty/templates/infobar.tpl" on line 6
> "{/if}" unknown tag "ifclose" <-- \n thrown in
> /data/php/5.4.11/lib/php/Smarty/sysplugins/smarty_internal_templatecompilerbase.php
> on line 6
>
>
> PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in
> template "/data/filedrawers/smarty/templates/filelist.tpl" on line 5
> "{php}" unknown tag "php" <-- \n thrown in
> /data/php/5.4.11/lib/php/Smarty/sysplugins/smarty_internal_templatecompilerbase.php
> on line 5
>
> PHP Strict Standards: Only variables should be passed by reference in
> /data/filedrawers/objects/session.php on line 145
>
> And then there are hundreds of warnings:
> PHP Notice: Array to string conversion in
> /data/filedrawers/smarty/templates_c/e01be35e63ba7f07a3b478390aee8764e03623cc.file.header.tpl.php
> on line 43
>
> PHP Notice: Trying to get property of non-object in
> /data/filedrawers/smarty/templates_c/e01be35e63ba7f07a3b478390aee8764e03623cc.file.header.tpl.php
> on line 35
>
> PHP Notice: Array to string conversion in
> /data/filedrawers/smarty/templates_c/e01be35e63ba7f07a3b478390aee8764e03623cc.file.header.tpl.php
> on line 51
>
> PHP Notice: Undefined index: notifyMsg in
> /data/filedrawers/smarty/templates_c/fe671ed6e219c0e5101a7f49b258927b5815bf8a.file.masthead.tpl.php
> on line 29
>
>
> If I try to fix an error in one file, I get en error in another file.
>
>
> This seems to be a syntax change or something. But I've never used
> Smarty for anything else, so I'm not sure.
>
> I would like to get this working on some (ancient or new) version of
> php/apache/smarty. Once I have it working, it should be possible to work
> through the changes needed to be made to get it to work in a newer
> version. But I'm completely flooded by errors and warnings, so it's easy
> to get lost.
>
> /Staffan
>
> --
> Staffan Hämälä
> Luleå University of Technology
> Sweden
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
> :??????
--8323329-1575557020-1424967286=:22355--