-
- 44 Posts
seems like reinstalling the wayfinder has solved this.
-
- 191 Posts
I had this same issue except I don’t have wayfinder installed. I checked the cache/context_settings/web/context.cache.php file and noticed that the aliasMap array was empty except for home. The way I resolved it was by changing the alias of all top-level resources (in manager) and then saving and changing back. Each time I saved a top level resource the alias map was also generated for all the children.
Specs: W7 / wamp 2.0 . Upgrading from 2.08 pl.
God does not save those who are only imaginary sinners. Be a sinner, and let your sins be strong, but let your trust in Christ be stronger, and rejoice in Christ who is the victor over sin, death, and the world.
-
- 130 Posts
This sounds like the same problem I’m having. Thing is I have more than 30 site contexts in my install so this work-around is not feasible for me.
I did confirm that changing the alias, saving, and changing back to the original alias fixes the problem for me as well. Just can’t apply this method to so many contexts and resources so I need a patch of some sort.
-Brian
NOTE: You can also trigger recalculation by changing the friendly_url settings, changing the Content Type extensions, etc.
One of the first things that happens on upgrade is the database gets the uri field added. This should be getting created on upgrade. I think you may have botched the upgrade somehow if that column does not exist. It is required for 2.1 to operate.
-
- 130 Posts
Ok, so the fatal error message is occuring because the field does not exist like it should at that point in the install? Where should this uri field be added? To the modx_site_content table? When I re-run the install I don’t get the fatal error the 2nd time. How can I verify that the installer is creating this properly after the 2nd install?
Update:
I see the URI field in the table after the 2nd time the installer is run. Most of the values are "null", a few have IDs, and one has an alias.
-Brian
It’s added to the site_content table before anything else occurs. The code to add this column is executed as part of the RC1 upgrade script, which should get fired if upgrading from any 2.0.x release.