Opened 11 years ago

Closed 10 years ago

Last modified 10 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@… 11 years ago.

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by l-case@…

Attachment: mythweb_posix_uname.patch added

comment:1 Changed 11 years ago by mythtv@…

You might want to try installing php5-posix instead.

comment:2 Changed 11 years ago by l-case@…

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

comment:3 Changed 10 years ago by Rob Smith

Owner: changed from xris to Rob Smith
Status: newaccepted

comment:4 Changed 10 years ago by Rob Smith

Resolution: fixed
Status: acceptedclosed

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

comment:5 Changed 10 years ago by torbjorn.jansson@…

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 Changed 10 years ago by sphery <mtdean@…>

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.

comment:7 in reply to:  6 ; Changed 10 years ago by 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?

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

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 Changed 10 years ago by laga

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.