Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#6126 closed patch (fixed)

Mythweb posix_uname to php_uname conversation

Reported by: l-case@… Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: mythweb Version: head
Severity: low Keywords: mythweb
Cc: Ticket locked: yes

Description

I get an error in mythweb on Suse: Fatal error: Call to undefined function posix_uname() in includes/defines.php on line 24

So i converted posix_uname to php_uname

I don't know id it works on all systems, but here mythweb is running again.

Attachments (1)

mythweb_posix_uname.patch (536 bytes ) - added by l-case@… 17 years ago.

Download all attachments as: .zip

Change History (10)

by l-case@…, 17 years ago

Attachment: mythweb_posix_uname.patch added

comment:1 by mythtv@…, 17 years ago

You might want to try installing php5-posix instead.

comment:2 by l-case@…, 17 years ago

or we make a check with an error window if the function not exists?

comment:3 by Rob Smith, 17 years ago

Owner: changed from xris to Rob Smith
Status: newaccepted

comment:4 by Rob Smith, 17 years ago

Resolution: fixed
Status: acceptedclosed

(In [20111]) Fixes #6126, Adds in a fallback for the hostname detection

comment:5 by torbjorn.jansson@…, 16 years ago

can we have this back ported to release-0-21-fixes ?
i upgraded my box from fedora 10 to 11 and ran into this issue with 0.21-fixes and the fix seems trivial.

comment:6 by sphery <mtdean@…>, 16 years ago

Or, just install the PHP POSIX package for your distro (php-process for Fedora) and you don't need the patch. And, please tell your packager to fix the deps.

in reply to:  6 ; comment:7 by anonymous, 16 years ago

Replying to sphery <mtdean@thirdcontact.com>:

Or, just install the PHP POSIX package for your distro (php-process for Fedora) and you don't need the patch. And, please tell your packager to fix the deps.

Having this issue on upgrade to Fedora 11 as well. I did a yum search posix, and there were no packages that mentioned php. What do I install?

in reply to:  7 comment:8 by sphery <mtdean@…>, 16 years ago

Replying to anonymous:

Replying to sphery <mtdean@thirdcontact.com>:

Or, just install the PHP POSIX package for your distro (php-process for Fedora) and you don't need the patch. And, please tell your packager to fix the deps.

Having this issue on upgrade to Fedora 11 as well. I did a yum search posix, and there were no packages that mentioned php. What do I install?

To repeat: "php-process for Fedora"

comment:9 by laga, 16 years ago

Ticket locked: set

This is not a support forum (especially not if you're illiterate ;)). Ticket locked!

Note: See TracTickets for help on using tickets.