Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 347890

Summary: www-misc/zoneminder-1.24.2 requires short_open_tag directive
Product: Gentoo Linux Reporter: Stephen Kirkby <bugs>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: web-apps
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard: [dilfridge overlay]
Package list:
Runtime testing required: ---
Bug Depends on: 359605    
Bug Blocks:    

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.