[web2py] Re: Error when trying to use Google Cloud SQL

2017-05-03 Thread Robert Porter
Ah, I see your errors show "C:", so that has to be the output from the local Google Cloud instance on Windows. Can you show the error message from the Google Cloud server logs (after you've deployed the app)? When I tried to recreate the error in the cloud, it worked fine (unfortunately). If

[web2py] Re: [REMEMBER_ME] Not working

2017-05-03 Thread Dave S
On Wednesday, May 3, 2017 at 8:14:10 AM UTC-7, Paolo Valleri wrote: > > which web2py version are you using? > would you post the html of the 'remember me' input tag > > One of the places where the browser's "Inspect Element" tool is very handy. > Paolo > > /dps > On Wednesday, May 3, 2017 a

[web2py] Re: In SQLFORM.grid, setting a session var when the user click on search or reset

2017-05-03 Thread Dave S
On Wednesday, May 3, 2017 at 5:51:34 AM UTC-7, Gael Princivalle wrote: > > Thanks Anthony, > > The idea is having both view and grid displayed in the same page. > The view is not made by the grid. It have to been displayed if the user > have clicked on the 'View' button, or not displayed if the

[web2py] Saving to database random type data

2017-05-03 Thread Scorpa
Hello folks ! I have database that's have BLOB type to store any kind of data (it's should be binary ?): Field('f_blob', type='blob', label=T('blob object')), I'm inserting new records with: db.t_cache.insert(f_name='processed_' + request.vars.filename, f_blob= data) Where data is pa

[web2py] Re: [REMEMBER_ME] Not working

2017-05-03 Thread Paolo Valleri
which web2py version are you using? would you post the html of the 'remember me' input tag Paolo On Wednesday, May 3, 2017 at 10:31:23 AM UTC+2, sunda...@gmail.com wrote: > > Hello Anthony, > > Yeah but even if i took it off, it doesnt work at all ... or even when i > wrote 3600*24*30 ... > > >

[web2py] Re: Clicks counter in a button

2017-05-03 Thread 黄祥
pls take a look in book ref: http://web2py.com/books/default/chapter/29/03/overview#Let-s-count http://web2py.com/books/default/chapter/29/11/jquery-and-ajax#Voting-and-rating best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web

[web2py] How can I make a form's action=... in a component return me within the component?

2017-05-03 Thread Karoly Kantor
I understand i can achieve this for links by inserting "cid=request.cid" into the A helper. However, if I have my form in a component's view as below, how can I achieve the same thing? One Two Three Four This will, upon form submit, open the componen

[web2py] Re: In SQLFORM.grid, setting a session var when the user click on search or reset

2017-05-03 Thread Gael Princivalle
Thanks Anthony, The idea is having both view and grid displayed in the same page. The view is not made by the grid. It have to been displayed if the user have clicked on the 'View' button, or not displayed if the user have clicked on the "Search" or "Reset" button. The first time the page is di

[web2py] Clicks counter in a button

2017-05-03 Thread sunda . amran
Hello, I am so lost ... What i want to do is like, i have a button and i want to listen to that button, like i want to know how many time the user click on that button and for that each time the user click on that button it add one to a database value. The problem is that i am working in an e

[web2py] Re: [REMEMBER_ME] Not working

2017-05-03 Thread sunda . amran
Hello Anthony, Yeah but even if i took it off, it doesnt work at all ... or even when i wrote 3600*24*30 ... Le mardi 2 mai 2017 18:37:28 UTC+2, Anthony a écrit : > > On Tuesday, May 2, 2017 at 12:29:19 PM UTC-4, sunda...@gmail.com > wrote: >> >> Hello, >> This is actually my first questio