But it seems like mod_auth_kerb has not been updated since 2008, so it
does not like apache 2.4. :-)
On 2015-03-06 09:41, Staffan Hämälä wrote:
Finally, I had time to try again, and now I got it to work.
It seems like Smarty 2.6 is the key. It won't work with Smarty 3.1.
I use php 5.4.11, but it seems like 5.6.5 will work as well. I will try
a new installation with apache 2.4 and php 5.6 now.
/Staffan
On 2015-02-26 17:14, Stephen Joyce wrote:
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: [email protected]
[mailto:[email protected]] On Behalf Of Staffan Hämälä
Sent: Thursday, February 26, 2015 9:29 AM
To: [email protected]
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
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info
:??????
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info