[kronolith] Howto use the kronolith API

Jan Schneider jan at horde.org
Wed Feb 17 18:06:55 UTC 2021


Zitat von Ferdinand Gruber <fer.grub at yahoo.de>:

> Am 10.02.21 um 17:11 schrieb Michael J Rubinsky:
>>>     require_once '/srv/www/htdocs/horde/kronolith/lib/Application.php';
>>>     Horde_Registry::appInit('kronolith', array());
>>>
>>>
>>> Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a  
>>> ? b : c) ? d : e` or `a ? b : (c ? d : e)` Veraltete PHP Funktion.
>>
>> That's a deprecation warning in PHP 7.4 from the autoloader cache  
>> code. That shouldn't be a fatal error. Regardless, it should be  
>> fixed. I'll patch that Soon(tm).
>>
> Thank you for the patch. I installed it. Now the deprecated warning  
> no more appears.
>
> But now I get:
>
> file_get_contents(/tmp/horde_autoloader_cache_71a082229a5386a280b68808643dcbdb): failed to open  
> stream
>
> Indeed I see there exists no file  
> horde_autoloader_cache_71a082229a5386a280b68808643dcbdb in /tmp on  
> the machine.
>
> Thank you in advance for help.
>
> -- 
> Regards from Austria
> Ferdinand Gruber

Is /tmp writable for the webserver user?

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the kronolith mailing list