[horde] Display Problem with PHP7.3
Allan Girvan
agirvan at gmail.com
Wed Oct 24 20:29:38 UTC 2018
Twilek wrote
> Hi,
>
> as PHP 7.3 has arrived on debian testing today I wanted to give it a
> test drive. Horde seems to work pretty well with one error I could
> find. When you open the the configuration and go into Horde
> configuration all the Tabs have no heading (like "General",
> "Database","LDAP" and so on) but are empty and cannot be clicked.
> Turning of caching didn´t help. Apache spat out a huge bundle of
> errors which it does not do when PHP 7.2 is enabled;
> <snip>
> Regards
>
> Henning
To restore the tabs, you need to make a minor edit to one file:-
It's the "Linkurls.php" file which (on Ubuntu) is located at
/usr/share/php/Horde/Text/Filter/Linkurls.php
Edit line 89 from
(?:[a-z][\w-+]{0,19})?:/{1,3} # URL protocol and colon followed by 1-3
to
(?:[a-z][\w\-+]{0,19})?:/{1,3} # URL protocol and colon followed by 1-3
i.e. insert a backslash to escape the "-" after "\w"
That should clear up the tab problem. The errors you've pasted are unrelated
to that. On my system, I had to update a few Pecl extensions to install
PHP7.3 versions
-----
Allan
--
Sent from: http://horde.690.n7.nabble.com/Horde-General-f58861.html
More information about the horde
mailing list