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 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.