[ckan-dev] How to display register .

Reznov Ammar reznov110 at gmail.com
Mon Aug 10 19:00:29 UTC 2015


Am afraid sir not understanding you, you said " configuring logging to
'debug' level, i did that by switching debug=false to debug=true, the
problem is the site won't working, it gives me 502 error.

Also about the breakpoint, how can i do that, do you mean sir by pdb ??


Message: 2
Date: Wed, 5 Aug 2015 17:06:58 +0100
From: David Read <david.read at hackneyworkshop.com>
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
Subject: Re: [ckan-dev] How to display register .
Message-ID:
        <CAOY41VWK5USeKvKdgDch_OYu+73C++AB-eFO7013MfrqETDrjg at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Reznov,

Please configure your logging to 'debug' level and then provide the
ckan log you get when you click /user/register. It should help a bit.

But it sounds like the user_create auth function is what is denying
you. However I understand you've set in the config:
ckan.create_user_via_web = True
and that's all it should need. I suggest you put a break-point in
ckan/logic/auth/create.py:user_create and see why it might be
returning {'success': False}.

David




Dave

On 5 August 2015 at 16:44, Reznov Ammar <reznov110 at gmail.com> wrote:
> Hi guys, i have a problem with the registration , i can't see register
> beside login in the main page it disappeared,
>
> and if i want to access the /user/register page, it redirects me to this
url
> www.example.com/user/login?came_from=http://www.example.com
> /user/register with a flash the says " Unauthorized  to create user ".
>
> What should i do to overcome this problem ???
> --
>
>
>
>
> All respect, Reznov
> Know more about me here at:
>
> Blog: http://xakepu.blogspot.com/
> Aboutme: http://about.me/ReznovAmmar
> Twitter: https://www.twitter.com/pentester11
> Linkedin: https://www.linkedin.com/in/reznov
> GitHub: https://github.com/reznov11
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150811/1a480060/attachment-0003.html>


More information about the ckan-dev mailing list