ports/104721: deskutils/pgpicalendar has undeclared dependency on www/php5-session port

Curtis Jewell swordsman at csjewell.fastmail.us
Mon Oct 23 20:30:34 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list