The error is caused by the function name used. It has been fixed in CVS.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 456288-xmlsitemap-node-get-priority-D6-1.patch | 952 bytes | dave reid |
The error is caused by the function name used. It has been fixed in CVS.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 456288-xmlsitemap-node-get-priority-D6-1.patch | 952 bytes | dave reid |
Comments
Comment #1
epimeth commentedwhat should be the correct function name?
Comment #2
epimeth commentedI changed it to xmlsitemap_node_get_priority... now I don't crash, but I also don't have any nodes in my sitemap... I enabled the module, cleared the sitemap cache, cleared the site cache, and went to sitemap.xml.... all I have there is the homepage!
Comment #3
epimeth commentedand I tried the same exact thing again and it *did* work... great :-)
Comment #4
dave reidThere is also an error in the xmlsitemap_node_get_priority() function. It has a parameter $load, but in the code of the function, it is never used. Instead there is a variable $reload (which I assume should be $load) that will be undefined. Patch attached for review.
Comment #5
avpadernoIt seems I have some problems with the editor; for both the files where the error is present, the editor gave me a warning about the files not being correctly saved.
Anyway, I re-changed the files, and committed the change in CVS.