greensql console proxy_add.php showing source
This might be a server configuration issue but I'm at a loss here. Working on a new production server OpenSuSe 11.1 / Apache 2.2. w ModSecurity2 / Nagios / GreenSQL / etc
* GreenSQL-FW is installed properly and verified to be working
* Green Console is installed properly and I can login and view all pages
The only page that I have a problem with is proxy_add.php (Listeners). When I open it up in FireFox I see part of the source code with $error in red. Here is a screenshot partial source code With "view source" I can view the entire source code.
Thus far I've already done the following to remedy the problem:
* downloaded and re-installed green-sql-console.tar.gz
* disabled apache modsecurity2
* checked chown (wwwrun:www) and chmod (644) are set properly
What am I missing here?
GreenSQL
Downloading GreenSQL-Console ver. 0.5.9betta (betta?) from SVN solved the issue.
It was probably because we had "<?" tag as a start of PHP code. In a new version we write it as "<?php" tag.
Best regards,
Yuli