Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templates with .php extension generate error: msReturnPage(): Web application error. Malformed templatename. #324

Closed
mapserver-bot opened this issue Apr 3, 2012 · 1 comment
Assignees

Comments

@mapserver-bot
Copy link

Reporter: gbickford@netacus.com
Date: 2003/05/13 - 03:07
Trac URL: http://trac.osgeo.org/mapserver/ticket/324

When a map or layer object is given a template, header, or footer value in 
which the file extension is 'php' mapserver generates the following error: 
msReturnPage(): Web application error. Malformed templatename.

The following diff output may help you in resolving this issue:
diff -r1.241 map.h
77c77
< #define MS_TEMPLATE_EXPR "\\.(jsp|asp|cfm|xml|wml|html|htm|shtml|phtml)$"

---
> #define MS_TEMPLATE_EXPR "\\.(jsp|asp|cfm|xml|wml|html|htm|shtml|phtml|php)$"


"Flectere si nequeo superos, acheronta movebo."
@mapserver-bot
Copy link
Author

Author: dmorissette
Date: 2003/07/10 - 06:48

Fixed in V4.0

@ghost ghost assigned sdlime Apr 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants