Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Site Map Issue
#6
grassfrog Wrote:I have upgraded to 3.1.1 and now the workaround previously suggested does NOT work.

Now, when I click Create Site Map, it says it's created, but it isn't. And if I create a blank sitemap.xml file, then click Create Site Map, here is what ends up getting written there:

XML Parsing Error: no element found
Location: http://smithhomeinspection.com/sitemap.xml
Line Number 1, Column 1:
^

I was about to post this to get help, but checked one more thing.... by changing the permissions on the new sitemap.xml file to the directory owner and chmod'ing to 777, the sitemap is then created properly. Just documenting this in case anyone else comes across the same issue.

Have a super swell day!

conjecturing here.

The way most of the xml code is setup, you cannot create empty files because it first loads it and fails if there is no valid xml structure, this is kind of a painm, we should be checking for zero length files and forcing a write.

I imagine since this file is being created in root, that dir needs write access, I don't know if this is a wise thing to do.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
Site Map Issue - by grassfrog - 2012-05-04, 14:07:10
RE: Site Map Issue - by Connie - 2013-03-09, 23:16:23
Site Map Issue - by ccagle8 - 2012-05-04, 22:31:39
Site Map Issue - by grassfrog - 2012-05-05, 02:56:33
Site Map Issue - by grassfrog - 2012-05-05, 03:09:38
Site Map Issue - by grassfrog - 2012-06-21, 02:31:22
Site Map Issue - by shawn_a - 2012-06-21, 03:02:39
RE: Site Map Issue - by grassfrog - 2013-03-09, 19:46:14



Users browsing this thread: 1 Guest(s)