Re: Horde Server Upgrade Fedora 25 to 28
Ralf Lang <[email protected]>
| Newsgroups | gmane.comp.horde.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Andreas, Am 01.01.2019 um 21:42 schrieb Andreas Mauser: > > ----- 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 trying to load a hooks file which does not exist. Look into ingo/config/ - you don't happen to have a hooks.php file? -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: [email protected] B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- Horde mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]