Quote from: Terrykm at Jun 05, 2011, 05:44 PM
Final hurdle required removing the MetaX snippet which was causing this fatal error:
The newest version of MetaX works with the new versions of Revo, so it seems like that error was a result of you having an older version of the snippet installed.
Hello, I am getting this error as well even into the upgrade to 2.1.2.
What I have found though is that when I ’resaved’ a document, the Friendly URL was working again and the duplicate error is gone.
I am almost certain the duplicate error is a result of the NULL value in the uri field in the `modx_site_content` table as these values changed to the full Friendly URL path upon resave.
----
My ’issue’ with this came about after an evo upgrade to revo. When copying over select fields from the database the evo install does not have the ’uri’ field and thus it is set to NULL which I am guessing is creating this duplicate error
.... now to try and fix it with some sql
----> UPDATE
Ok, i did a quick ’check’ and simply copied the ’alias’ field over to the ’uri’ field and it eliminated all the duplicate resource errors. Do keep in mind that this isn’t the correct issue as the uri field contains the full friendly url path, the alias is just the page alias. For large sites, you would want to build your SQL query to include the parent(s) alias and then append the page alias into this field. For small sites, just open the page, change one letter in the alias (this gives the creation of the Full Friendly Path back into the uri field) , save, then simply change the letter back to return to the original path and save again.
ModX. 'nuff said.