Managed Hosting



A Google Sitemap XML Generator
Project Home Blog Known Issues External Project Link Contact Project

A Google Sitemap XML Generator Issue: Non-declared argument variables.

Name: Non-declared argument variables.
ID: 10
Project: A Google Sitemap XML Generator
Type: Bug
Area: Administration
Severity: Low
Status: Open
Related URL:
Creator: Doug
Created: 11/20/09 6:18 PM
Updated: 11/20/09 6:18 PM
Description: I was trying to get this to work with Railo 3.1 and was getting a "can't cast stuct to string" error.

Going through the _sitemap.cfc I saw that you were using undeclared argument variables (i.e. url, root, depth, query)

So I went through and added "arguments." to the beginning of all your argument variables, url -> arguments.url, etc.

It no longer threw the error and worked fine.
History: Created by cjboco_doug (Doug) : 11/20/09 6:18 PM

To add a comment to this bug, please login using the link above.