bad context error

36 views
Skip to first unread message

Michael Connors

unread,
May 18, 2012, 3:03:45 PM5/18/12
to zotoni...@googlegroups.com
Hi,
Has anyone come across the following this error?

{error,{badrecord,context},
       [{resource_admin,service_available,2},
        {webmachine_resource,resource_call,3},
        {webmachine_resource,do,3},
        {webmachine_decision_core,decision,3},
        {webmachine_decision_core,handle_request,2},
        {webmachine_mochiweb,loop,2},
        {mochiweb_http,headers,5},
        {proc_lib,init_p_do_apply,3}]}
I have 2 copies of Zotonic on this server, running under different user accounts.

I have the development code in one user account, and it is running correctly on release-0.8.x but when I clone it into the production account (and change the config port) I get the error above when I try to open /admin. The problem goes away if I upgrade the production zotonic to master.  


Any suggestions as to what could be the problem?

Thanks,

Michael

Arjan Scherpenisse

unread,
May 18, 2012, 3:05:52 PM5/18/12
to zotoni...@googlegroups.com

The context record might have changed : make clean and recompile will probably fix it.

Cheers, Arjan

Michael Connors

unread,
May 18, 2012, 3:09:46 PM5/18/12
to zotoni...@googlegroups.com
Thanks,

That was it. 
Reply all
Reply to author
Forward
0 new messages