Re: Horde Server Upgrade Fedora 25 to 28
Andreas Mauser <[email protected]>
| Newsgroups | gmane.comp.horde.user |
|---|---|
| Message-ID | <[email protected]> |
----- Nachricht von Arjen de Korte <[email protected]> --------- Datum: Tue, 01 Jan 2019 11:13:45 +0100 Von: Arjen de Korte <[email protected]> Betreff: Re: [horde] Horde Server Upgrade Fedora 25 to 28 An: [email protected] > Citeren Andreas Mauser <[email protected]>: > >> Hello and a happy new year, >> >> it's about an 'old' horde server, I've moved to another location, >> which only is a backup Horde server, but.. I upgraded the server to >> Fedora 28, since then Horde shows me a text page..like that: >> >> * @category Horde * @license http://www.horde.org/licenses/lgpl >> LGPL-2 * @package Horde */ require_once __DIR__ . >> '/lib/Application.php'; Horde_Registry::appInit('horde', array( >> 'authentication' => 'none', 'nologintasks' => true )); $main_page = >> Horde_Util::nonInputVar('horde_login_url', >> Horde_Util::getFormData('url')); // Break up the requested URL in >> $main_page and run some sanity checks // on it to prevent phishing >> and XSS attacks. If any of the checks // fail, $main_page will be >> set to null. if (!empty($main_page)) { // Mute errors in case of >> unparseable URLs $req = @parse_url($main_page); // We assume that >> any valid redirect URL will be in the same // cookie domain. This >> helps prevent rogue off-site Horde installs // from mimicking the >> real server. if (isset($req['host'])) { $qcookiedom = >> preg_quote($conf['cookie']['domain']); if (!preg_match('/' . >> $qcookiedom . '$/', $req['host'])) { $main_page = null; } } // >> Protocol whitelist: If the URL is fully qualified ... if >> (isset($req['scheme']) || isset($req['host']) || >> isset($req['port']) || isset($req['user']) || isset($req['pass'])) >> { // ... make sure it is either http or https. $allowed_protocols = >> array('http', 'https'); if (empty($req['scheme']) || >> !in_array($req['scheme'], $allowed_protocols)) { $main_page = null; >> } } } if ($main_page) { $main_page = new Horde_Url($main_page); } >> elseif (!$registry->getAuth()) { /* Always redirect to login page >> if there .... >> >> I tried to fix it with uninstall and reinstall of Horde, with >> instructions from: >> >> https://t2792.greatnet.de/fg_mediawiki/index.php/Horde#Horde_und_php7 >> >> but same text page appear. > > Looks like PHP source, so most likely it is not a problem with > Horde, but your webserver. Chances are it is trying to run php5 > while you have migrated to php7. I see... which leads to too many dependent problems, so I installed a new one. WJust one thing which doesnt work.. in my other Horde installation, Ingo has setting in the GUI. The new installation says, no settings for this app. I played back conf.php, backends.local.php and hooks.local.php, where the hooks file led to this error: Class 'ingo_Hooks' not found in /usr/share/pear/Horde/Core/Hooks.php:90 What does it mean? Best regards, Andreas > >> It's not that important, but I would be happy to not install the whole box. >> It may have to do with php7, maybe. But nothing appears in the >> error log and in access.log I just see a normal access. >> >> Many thanks, >> Andreas ----- Ende der Nachricht von Arjen de Korte <[email protected]> ----- -- Horde mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
(unnamed)
(application/pgp-keys, 3.8 KB) - not displayed