Forums

web2py admin area error

Hi.

i'm still trying Pythonanywere with a free account. I want to use web2py. I've install it, but I can't access to the admin area. It says me that it's impossible to access to password file. Can someone help me ? http://tasko.pythonanywhere.com/admin/default/index

web2py requires that you access the admin area via https. So, just visit

https://tasko.pythonanywhere.com/admin

Thanks !

hi everyone,

I have same error, but my application doesn't work with https. I put https://myapplication.pythonanywhere.com/admin and the result is it:

https://myapplication.pythonanywhere.com/admin?send=%2Fappadmin

invalid function (default/admin)

anybody know which happens? why this occur?

thks,

It looks like you don't have the admin enabled. Did you use the PythonAnywhere "create web app" function to create your web app, or did you manually create it?

so I used pythonanywhere "create web app" functions. Before web2py admin worked normally, now doesn't work!

I tried to update web2py using wget and nothing .. =/

How I can enable the web2py admin again?

You say web2py admin worked before. Before what?

What do you mean "nothing" when you tried to update web2py?

Do you mind if I have a look through your account to see what's wrong?

so glenn, I say before because so which I created the app with pythonanywhere the admin worked normally but after some time he doesn't work and without I move in nothing. I don't understand why!

I'm look into my web2py config files and looks like fine... yes, you can feel free to do whatever you want in my account. just help me! hahahah

Your routes.py file was broken. I renamed it to routes_bak.py so you can try to debug it. Also, you had a parameters_433.py file for your admin password, but it should have been parameters_443.py. It all seems to be working now.

thanks so much glenn! Now it works. I did debug in my file routes.py because really was wrong and I not remember why I changed parameters_443.py for parameters_433.py, probably I was drunk! hahahahah

Thanks again,