Re: Display Problem with PHP7.3

Allan Girvan <[email protected]>
Newsgroups gmane.comp.horde.user
Message-ID <[email protected]>
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
-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.