Summary | PHP ERROR: Undefined index: host [pid 23625 on line 412 of "/usr/share/php/Horde.php"] |
Queue | Horde Base |
Queue Version | FRAMEWORK_5_2 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de |
Created | 03/03/2015 (3777 days ago) |
Due | |
Updated | 03/04/2015 (3776 days ago) |
Assigned | |
Resolved | 03/04/2015 (3776 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
https://bugs.horde.org/ticket/13342
with the same fix to update PHP.
parse_url() component to workaround this bug for a long outdated PHP
release when the correct/simple fix is to upgrade PHP to a non-broken
version.
https://bugs.horde.org/ticket/13342
with the same fix to update PHP.
PHP ERROR: Undefined index: host [pid 23625 on line 412 of
"/usr/share/php/Horde.php"]
quite often.
I use PHP 5.3.3 & horde 5.2.4 stable
almost 5 years old? Please don't tell me you're using an 'enterprise'
Linux version. You should expect things like this, since the security
critical bugs may be patched, but usually other bugs and fixes are not
backported to your dinosaur PHP.
Do your users (and yourself) a favor and upgrade to a more recent PHP version.
/* @todo Fix for PHP < 5.3.6 */
5.3.6, but apparently some PHP bug is preventing that.
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ PHP ERROR: Undefined index: host [pid 23625 on line 412 of "/usr/share/php/Horde.php"]
Type ⇒ Bug
State ⇒ Unconfirmed
PHP ERROR: Undefined index: host [pid 23625 on line 412 of
"/usr/share/php/Horde.php"]
quite often.
I use PHP 5.3.3 & horde 5.2.4 stable
The specified line:
/* @todo Fix for PHP < 5.3.6 */
if (isset($puri['fragment']) && !isset($puri['path'])) {
$pos = strpos(
$uri,
'/',
strpos($uri, $puri['host']) + strlen($puri['host'])
);
$puri['path'] = substr($uri, $pos, strpos($uri, '#',
$pos) - $pos);
}
/* End fix */