[Chameleon-dev] [Bug 784] [Chameleon-Service Instance]No error message displayed when the "templates" parameter is not set in URL

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Thu Oct 28 11:50:22 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=784

pspencer at dmsolutions.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From pspencer at dmsolutions.ca  2004-10-28 11:50 -------
I get this error message.

Warning: file_get_contents(/ms4w/apps/chameleon/cwc2/templates/): failed to open
stream: Permission denied in F:\ms4w\apps\chameleon\htdocs\chameleon.php on line 609

I am assuming you didn't see this because you are logging errors?

In any case, I have modified cwc2.php to detect empty templates, including
TEMPLATES= and TEMPLATES=test.html, and to report appropriately.  I have also
modified chameleon.php to suppress PHP errors when loading templates and to
detect an invalid template and report it through the error manager.  cwc2.php
will now detect an invalid template in the URL by checking the error manager and
return value from CWCExecute and will report all the errors on the error stack.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list