greensql console proxy_add.php showing source

2 replies
johnybravo
johnybravo's picture
Joined: 06/24/2009
User offline. Last seen 1 year 1 week ago.

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?

johnybravo
johnybravo's picture
Joined: 06/24/2009
User offline. Last seen 1 year 1 week ago.

Downloading GreenSQL-Console ver. 0.5.9betta (betta?) from SVN solved the issue.

yuli
yuli's picture
Joined: 01/30/2008
User offline. Last seen 2 days 2 hours ago.

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

Back to top