Re: [web2py] Upgrading to a higher version of web2py through the admin interface

2022-01-18 Thread mostwanted
Thank you guys, I was able to upgrade to version 2.21 & there were no 
issues (smiles)...but i'm still experiencing the problem with my callback 
function 
it is still redirecting  to the url page, what am I doing wrong??!!!

*{{=A("view codes", callback=URL('ppadb_codes.load', args=company.id), 
target="content", _class="show_codes")}}*,  




**


On Wednesday, January 19, 2022 at 7:38:46 AM UTC+2 mauri...@gmail.com wrote:

> I also use pythonannywhere and regularly upgrade with no issues. If being 
> cautious, just backup then upgrade. 
>
> On Wed, Jan 12, 2022, 11:30 AM mostwanted  wrote:
>
>> Hi guys, is it safe to upgrade my version of web2py through the admin 
>> interface? Has anyone tried it & did it work?
>>
>> I have an opp developed in an older version of web2py, some functions are 
>> not working on it like *callback=URL()* but in my research it says the 
>> functionality works well in newer versions, when I try to upgrade there is 
>> a disclaimer that I should do it at my own risk!!!. My app is already 
>> online & being utilised so i dont wanna risk anything thats go mess it up.
>>
>> Regards;[image: Screenshot (81).png]
>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> 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 web2py+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/5d61e276-7d68-44b2-8ed0-249ab7cfd6f9n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/ede1c5f0-eb7b-4b68-b032-1330476a661dn%40googlegroups.com.


Re: [web2py] Upgrading to a higher version of web2py through the admin interface

2022-01-18 Thread Maurice Waka
I also use pythonannywhere and regularly upgrade with no issues. If being
cautious, just backup then upgrade.

On Wed, Jan 12, 2022, 11:30 AM mostwanted  wrote:

> Hi guys, is it safe to upgrade my version of web2py through the admin
> interface? Has anyone tried it & did it work?
>
> I have an opp developed in an older version of web2py, some functions are
> not working on it like *callback=URL()* but in my research it says the
> functionality works well in newer versions, when I try to upgrade there is
> a disclaimer that I should do it at my own risk!!!. My app is already
> online & being utilised so i dont wanna risk anything thats go mess it up.
>
> Regards;[image: Screenshot (81).png]
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> 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 web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/5d61e276-7d68-44b2-8ed0-249ab7cfd6f9n%40googlegroups.com
> 
> .
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CALkNK561MevnV%3D8y4AhysS6kHxmrBaqjX%2BmVAwUwduScg0Cquw%40mail.gmail.com.


[web2py] Re: Share sessions not working

2022-01-18 Thread Rob Paire
Hi dirman
You probably have this figured out by now, but I bumped into a similar 
issue where sessions were not working. I think the reason is because I am 
not using the Auth module to validate users (and keep them logged in for 30 
days). 

Anyway, I copied the file:  ..\application\examples\models\session.py into 
the models folder of my application and sessions started working.

-Rob

On Saturday, September 11, 2021 at 10:46:52 AM UTC-4 dirman wrote:

> In my case, sessions are not shared in my two apps main and sub domain
>
>
>
> session.connect(request, response,masterapp='test', db=db)
>
> response.cookies[response.session_id_name]['domain'] = '.test.com' 
>
>
> routers = dict(
>   BASE=dict(
> default_controller='default',
> default_function='index',
> domains={
> 'test.com':'redirect_to_www_test',
> 'www.test.com':'test',
> 'manage.test.com ': 'manage_test'
> },
>   )
> )
>
>
> Any help is appreciated
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/e1609ec7-c402-42d1-a342-8ca8d219e1b7n%40googlegroups.com.


[web2py] Re: Upgrading to a higher version of web2py through the admin interface

2022-01-18 Thread jonatha...@whatho.net
"My app is already online & being utilised so i dont wanna risk anything 
thats go mess it up."

Then test it very carefully in a test environment before you do it to your 
live system, and have a backup of the live environment before you start, 
that you know works, so that when it all goes pear-shaped, you have a 
method to go back to where you were.

On Wednesday, 12 January 2022 at 08:30:31 UTC mostwanted wrote:

> Hi guys, is it safe to upgrade my version of web2py through the admin 
> interface? Has anyone tried it & did it work?
>
> I have an opp developed in an older version of web2py, some functions are 
> not working on it like *callback=URL()* but in my research it says the 
> functionality works well in newer versions, when I try to upgrade there is 
> a disclaimer that I should do it at my own risk!!!. My app is already 
> online & being utilised so i dont wanna risk anything thats go mess it up.
>
> Regards;[image: Screenshot (81).png]
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/1fd7e51e-5066-4089-9280-7c95c64ed3a8n%40googlegroups.com.