Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347890 - www-misc/zoneminder-1.24.2 requires short_open_tag directive
Summary: www-misc/zoneminder-1.24.2 requires short_open_tag directive
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard: [dilfridge overlay]
Keywords:
Depends on: 359605
Blocks:
  Show dependency tree
 
Reported: 2010-12-06 09:57 UTC by Stephen Kirkby
Modified: 2011-09-18 20:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Kirkby 2010-12-06 09:57:45 UTC
The zoneminder application requires that the short_open_tags php.ini directive be set in order to function correctly (which is currently defaulting to Off when you emerge apache). Without it set, you get a 500 server error.

Potential fixes, though there may be more, are:
1) ask the zoneminder developers to not use short open tags
2) add an advisory message to inform users that the php setting short_open_tags needs to be set to On
3) setup the short_open_tags in the zoneminder vhost config using 'php_value'

Reproducible: Always

Steps to Reproduce:
1.Emerge apache php zoneminder
2.Accept all config updates
3.Requesting zoneminder page

Actual Results:  
Get 500 server error, as a "<?" opening tags are used in:

/var/www/zoneminder/htdocs/includes/functions.php

and the default apache config is "short_open_tags = Off"

Expected Results:  
You see a nice zoneminder page :)
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-28 15:55:18 UTC
Removed from main tree.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-09-16 19:58:14 UTC
Reopened for tracking and hopefully zoneminder revival
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-09-18 20:35:21 UTC
Added in the postinstall message.