Bug 104721 - deskutils/phpicalendar has undeclared dependency on www/php5-session port
Summary: deskutils/phpicalendar has undeclared dependency on www/php5-session port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Edwin Groothuis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 21:30 UTC by Curtis Jewell
Modified: 2006-10-31 21:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Jewell 2006-10-23 21:30:16 UTC
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/

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.]
How-To-Repeat: # cd /usr/ports/www/php5-session
# make deinstall

Then browse to a configured phpicalendar installation using your web browser of choice.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-23 21:30:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-23 21:39:15 UTC
Responsible Changed
From-To: ale->edwin

Over to real maintainer (typo in synopsis)
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-31 21:45:04 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2006-10-31 21:46:14 UTC
edwin       2006-10-31 21:44:59 UTC

  FreeBSD ports repository

  Modified files:
    deskutils/phpicalendar Makefile 
  Log:
  deskutils/phpicalendar has undeclared dependency on www/php5-session port
  
          phpicalendar shows a blank page unless the php5-session
          port is installed, because without it, the session_* functions
          are not compiled in.
  
  PR:             ports/104721
  Submitted by:   Curtis Jewell<swordsman@csjewell.fastmail.us>
  Approved by:    edwin@
  
  Revision  Changes    Path
  1.8       +1 -1      ports/deskutils/phpicalendar/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"