Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 20:27:03 GMT
From:      Curtis Jewell<swordsman@csjewell.fastmail.us>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/104721: deskutils/pgpicalendar has undeclared dependency on www/php5-session port
Message-ID:  <200610232027.k9NKR3BL031985@www.freebsd.org>
Resent-Message-ID: <200610232030.k9NKUH7H081124@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104721
>Category:       ports
>Synopsis:       deskutils/pgpicalendar has undeclared dependency on www/php5-session port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 23 20:30:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Curtis Jewell
>Release:        6.2-PRERELEASE
>Organization:
None
>Environment:
FreeBSD lap.curtisjewell.boldlygoingnowhere.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Thu Oct 19 17:34:34 JST 2006     root@lap.curtisjewell.boldlygoingnowhere.org:/usr/obj/usr/src/sys/CURTIS  i386

>Description:
phpicalendar shows a blank page unless the php5-session port is installed, because without it, the session_* functions are not compiled in.

Example log entry from Apache 2.2:

[Tue Oct 24 04:11:36 2006] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function session_id() in /usr/local/www/phpicalendar/functions/userauth_functions.php on line 73, referer: https://lap.curtisjewell.boldlygoingnowhere.org/


>How-To-Repeat:
# cd /usr/ports/www/php5-session
# make deinstall

Then browse to a configured phpicalendar installation using your web browser of choice. 
>Fix:
Add a dependency on www/php5-session to the Makefile (so it gets compiled and installed automatically)

[I could provide a patch for the Makefile if requested, but probably not for 3-4 days.]
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610232027.k9NKR3BL031985>