...and Yes, those folders exist.

On Mon, Aug 26, 2013 at 4:57 PM, Jim Steil <[email protected]> wrote:

> c:\dev\web2py\applications\admin\infocenter
>
> ...when I clicked on the Edit button for the infocenter app.
>
> c:\dev\web2py\applications\admin\admin
>
> ...when I click on Errors for the Admin app.
>
> -Jim
>
>
>
> On Mon, Aug 26, 2013 at 4:49 PM, Massimo Di Pierro <
> [email protected]> wrote:
>
>> Can you help me debug this?
>>
>> In applications/admin/controllers/default.py there is this code:
>>
>> def get_app(name=None):
>>     app = name or request.args(0)
>>     folder = request.folder if not request.folder.endswith('/') else
>> request.folder[:-1]
>>     if (app and os.path.exists(os.path.join(os.path.dirname(folder),app))
>> and
>> (not MULTI_USER_MODE or is_manager() or
>>          db(db.app.name == app)(db.app.owner == auth.user.id).count())):
>>         return app
>>     session.flash = T('App does not exist or your are not authorized')
>>     redirect(URL('site'))
>>
>> replace
>>
>>  session.flash = T('App does not exist or your are not authorized')
>>
>> with
>>
>>  session.flash = os.path.join(os.path.dirname(folder),app)
>>
>> What is the flash message? Does that folder exist?
>>
>>
>>
>> On Monday, 26 August 2013 13:30:47 UTC-5, Jim S wrote:
>>>
>>> Updated to 2.6.0-development+**timestamp.2013.08.26.06.04.21 this
>>> morning and now I can't get into Admin for any of my apps.
>>>
>>> Anyone else seeing this?  Whenever I try I get the message:
>>>
>>> App does not exist or your are not authorized
>>>
>>> (yes, including the typo - 'your' should be you)
>>>
>>> -Jim
>>>
>>  --
>>
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/web2py/855ir5MNyic/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to