On Jun 29, 2007, at 10:40 AM, Jim Gay wrote:

> But I just got this message from someone trying to edit a page:
>
>
> Help! When I go to save changes to any page in Radiant, I get this
>     error message:
>
>     NoMethodError in Admin/pageController#edit
>
>     undefined method `+' for nil:NilClass
>
>     RAILS_ROOT: C:/Apps/Prod_Radiant/config/..
>
>
> This seems to only occur on pre-existing pages.
> I created a new test page and saved changes and had no problem. Then,
> I edited a pre-existing page and had the same error as above.

Sean helped me solve this problem.
The lock_version on existing pages was set to NULL in the database.
Sean suggested

UPDATE pages SET lock_version = 0 WHERE lock_version IS NULL

That solved it.

_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to