Maxwell Smart wrote:
Eric Shubert wrote:
On 08/05/2012 10:50 PM, Maxwell Smart wrote:
Eric Shubert wrote:

On 08/05/2012 08:49 PM, Maxwell Smart wrote:

FWIW, vqadmin still doesn't work.  This is all I get when going to
/admin-toaster


Please post this to the users list.

Have you done any customization to apache which might affect this?

It's pretty much a stock Apache installation.  I have upgraded to php5.3
though and that's when it stopped working.  I upgraded today and can
access vqadmin, qmlog-toaster and mrtg directly, but admin-toaster and e
mail is not showing anything.  I am guessing that's it php related, but
haven't looked into the logs yet.

---------------------------------------------------------------------

I'm betting it's php53 related. I think that's the same issue we have with COS6, related to short tags or something of that nature. Since control-panel (aka admin-toaster) has no upstream, we can simply modify the code at will w/out messing with patch files. Just need to be sure it remains backward compatible. I think Bharath already did a little of this fixing up.


You're right.  I went back through some e mails and found a note from Dan about short tags in php.ini file.  By default it's off in php5.3 install.  It needs to be on according to Dan.  I switched it on, restarted Apache and everything works as expected.

Is there any security issue with having shot tags set to on?



According to the php.ini comments:

; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It's been
; recommended for several years that you not use the short tag "short cut" and
; instead to use the full <?php and ?> tag combination. With the wide spread use
; of XML and use of these tags by other languages, the server can become easily
; confused and end up parsing the wrong code in the wrong context. But because
; this short cut has been a feature for such a long time, it's currently still
; supported for backwards compatibility, but we recommend you don't use them.
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://www.php.net/manual/en/ini.core.php#ini.short-open-tag

Maybe a simple modification of the admin-toaster and e mail-toaster files is a better way to go so QMT is compliant and not required to be backward compatible.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

Reply via email to