[horde] Horde 6 Framework

Brent impuser at bitrealm.com
Tue Mar 11 05:05:33 UTC 2025


  Quoting Horst B Simon <horst.simon2 at icloud.com>:

> Hi,
>
> I successful installed Horde 6 Framework on Debian 12.9 (bookworm).  
> Mail, Calendar are working fine,  address book still has some issues.
> In the Web Interface the birthday selection is not working it only  
> displays years from the current year upwards, too when I select a  
> date from the Calendar dropdown it displays only day and month and  
> not year.
> Picture resizing does not appear to be working either.
> I can edit a contact when I select the contact and use edit from the  
> tab bar, but it crashes when I try to edit selecting the edit pen  
> beside the selection as follow:
>
> A fatal error has occurred
>
> strrpos(): Argument #1 ($haystack) must be of type string, array given
>
> in /var/www/horde/vendor/horde/core/lib/Horde.php:221
> 1. Horde::verifySignedUrl() /var/www/horde/vendor/horde/turba/edit.php:24
> 2. strrpos() /var/www/horde/vendor/horde/core/lib/Horde.php:221
>
> Details
>
> The full error message is logged in Horde's log file, and is shown  
> below only to administrators. Non-administrative users will not see  
> error details.
>
> TypeError Object
> (
>    [message:protected] => strrpos(): Argument #1 ($haystack) must be  
> of type string, array given
>    [string:Error:private] => TypeError: strrpos(): Argument #1  
> ($haystack) must be of type string, array given in  
> /var/www/horde/vendor/horde/core/lib/Horde.php:221
> Stack trace:
> #0 /var/www/horde/vendor/horde/core/lib/Horde.php(221): strrpos()
> #1 /var/www/horde/vendor/horde/turba/edit.php(24): Horde::verifySignedUrl()
> #2 {main}
>    [code:protected] => 0
>    [file:protected] => /var/www/horde/vendor/horde/core/lib/Horde.php
>    [line:protected] => 221
>    [trace:Error:private] => Array
>        (
>            [0] => Array
>                (
>                    [file] => /var/www/horde/vendor/horde/core/lib/Horde.php
>                    [line] => 221
>                    [function] => strrpos
>                )
>
>            [1] => Array
>                (
>                    [file] => /var/www/horde/vendor/horde/turba/edit.php
>                    [line] => 24
>                    [function] => verifySignedUrl
>                    [class] => Horde
>                    [type] => ::
>                )
>
>        )
>
>    [previous:Error:private] =>
> )
> CardDav and CalDAV working. Testing of active sync showed only  
> issues with the address books emails. I have work and home email  
> enabled, but active sync
> will only sync the email entry and duplicate it to the work and home  
> email on the client. CardDav works fine with multiple emails.
> Thanks too all, for the good work with H6, hopefully I can back to  
> Horde again.
>
> Regards,
> Horst Simon
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,  
> mail: horde-unsubscribe at lists.horde.org

For the birthday/anniversary date thing, I fixed that myself. Here's  
what I did:

In file:   
/var/www/horde/vendor/horde/core/lib/Horde/Core/Ui/VarRenderer/Html.php

This is a hack. I don't know where "start_year" is supposed to come  
from. On my system, it was "NULL". So, I hardcoded it to include dates  
from 1900.

Line 529:
Removed the $var->type->getProperty('start_year') value with a  
hard-coded: 1900 (year)

OLD:             for ($i = $var->type->getProperty('start_year'); $i  
<= $var->type->getProperty('end_year'); $i++) { */
NEW:            for ($i = 1900; $i <=  
$var->type->getProperty('end_year'); $i++) {


More information about the horde mailing list