[web2py:19921] web2py programmers needed! jobs and work

2009-04-16 Thread morningovermidnight
I've been using web2py for some time now and it is an amazing web platform. I have more customers that want websites from me than I am able to handle on my own at present, so if you are proficient and comfortable with web2py, email me! I've got work to send your way. Thanks, morningov

[web2py:17119] Internal Error on server

2009-02-27 Thread morningovermidnight
What might cause the following error message to be displayed: InternalError: current transaction is aborted, commands ignored until end of transaction block The two files involved are my default.py controller and the sql.py file in gluon. I am at a lost because everything had been previously wor

[web2py:12387] Re: session info not being returned?

2008-11-22 Thread morningovermidnight
Massimo, I'm sending you a copy of my code. Thanks. On Nov 22, 8:12 pm, morningovermidnight <[EMAIL PROTECTED]> wrote: > Thanks for all the help and looking into this... > > I tried the sql.py, placing it at gluon/sql.py, still without success. > I did notice output to

[web2py:12386] Re: session info not being returned?

2008-11-22 Thread morningovermidnight
ipierro <[EMAIL PROTECTED]> wrote: > Can you try if this fixes the problem? > > http://groups.google.com/group/web2py/web/sql.py > > Massimo > > On Nov 22, 10:47 am, mdipierro <[EMAIL PROTECTED]> wrote: > > > on the case. May be a bug. > > > Massi

[web2py:12358] Re: session info not being returned?

2008-11-22 Thread morningovermidnight
ration losing data and postgres > does not allow copy text into a bytea. > > Massimo > > On Nov 22, 12:26 am, morningovermidnight <[EMAIL PROTECTED]> > wrote: > > > Ok, with version 1.51 running I added the line to gluon/globals.py. > > Here's the messag

[web2py:12354] Re: session info not being returned?

2008-11-21 Thread morningovermidnight
eplace these lines with: > >              except Exception, e: >                  record_id,unique_key,session_data=None,str(uuid.uuid4 > ()),{} > > with > >              except Exception, e: >                  print 'error:',e >                  record_id,unique

[web2py:12340] Re: session info not being returned?

2008-11-21 Thread morningovermidnight
esn't show with web2py version 1.51. After doing what you mentioned above and it still not working, I dropped the 1.47 source into my application folder to downgrade back to version 1.47, started the server, and now my session flash works flawlessly. On Nov 21, 4:57 pm, morningovermidnight &l

[web2py:12330] Re: session info not being returned?

2008-11-21 Thread morningovermidnight
ies. Let me know if this fixes the problem. > > Massimo > > On Nov 21, 2:48 pm, morningovermidnight <[EMAIL PROTECTED]> > wrote: > > > Thanks for the reply. I tried deleting all sessions from the database, > > still did not solve the problem for me. In doing some i

[web2py:12318] Re: session info not being returned?

2008-11-21 Thread morningovermidnight
if some of my code is incompatible with version 1.51 or not, but I'll be sticking with 1.47 for now at least... Thanks On Nov 21, 3:31 pm, kev <[EMAIL PROTECTED]> wrote: > Try deleting all the session from the database. > > On Nov 21, 2:51 pm, morningovermidnight <[EM

[web2py:12312] session info not being returned?

2008-11-21 Thread morningovermidnight
I'm not sure what's happening. It was all working before. I was storing sessions in the database and working with them throughout my application with no problem. Now, it seems suddenly, sessions have stopped working. I don't get a session.flash or any other session objects returned. When I comment

[web2py:11576] Re: web2py and htaccess

2008-11-10 Thread morningovermidnight
a real directory structure, the .htaccess is > useless too. But this part is still quite obscure to me. What do you > use to call Python, mod_proxy, mod_wsgi? > > Anyway, if you have python on the server you use, I guess you have > enough control on the server conf not to use .htaccess fi

[web2py:11570] Re: Migrations on server upload

2008-11-10 Thread morningovermidnight
Perfect. Thanks. On Nov 10, 2:42 am, mdipierro <[EMAIL PROTECTED]> wrote: > Correct. > > On Nov 10, 1:13 am, morningovermidnight <[EMAIL PROTECTED]> > wrote: > > > Ah, ok...so should I just not ever upload any .table files to the > > production server to m

[web2py:11548] Re: Migrations on server upload

2008-11-09 Thread morningovermidnight
you remove them, it should create the tables and new .table files. > Look in the sql.log and let us know. > > Massimo > > On Nov 10, 1:03 am, morningovermidnight <[EMAIL PROTECTED]> > wrote: > > > A question...also wondering if anyone else is having the same >

[web2py:11547] web2py and htaccess

2008-11-09 Thread morningovermidnight
I am setting up htaccess to rewrite requests into http to be changed to https where I need sessions to be passed over a secure channel. In which folder do I place my htaccess file? I've tried the root "web2py" folder, the "applications" folder, and even the individual application folder without su

[web2py:11543] Migrations on server upload

2008-11-09 Thread morningovermidnight
A question...also wondering if anyone else is having the same issue...when I upload my local web2py development files to the server, for some reason the database migrations on the server side are not created. I tried removing .table files in the database folder and it still didn't work for me...I'

[web2py:11013] Re: Special Characters passed from controller to view

2008-11-03 Thread morningovermidnight
ing it. The problem is that > probably your browser is rendering it verbatim anyway because it is > not a valid character. Probably you mean > >     XML('↑') > > Massimo > > On Nov 2, 10:42 pm, morningovermidnight <[EMAIL PROTECTED]> > wrote: > &

[web2py:10972] Re: Special Characters passed from controller to view

2008-11-02 Thread morningovermidnight
Didn;t work for me. even without the .xml() only prints &uparr literally instead of the symbol On Nov 2, 10:36 pm, mdipierro <[EMAIL PROTECTED]> wrote: > use XML("&uparr") without .xml(). > > On Nov 2, 5:47 pm, morningovermidnight <[EMAIL PROTECTED]> > w

[web2py:10965] Special Characters passed from controller to view

2008-11-02 Thread morningovermidnight
Using HTML helpers to create a form in my controller that is passed to the view, I would like to include special characters in the table area of the form like an up-arrow and a down-arrow. In html, that would be "&uparr" and &darr. I could of course just place the form in the view and it would wor

[web2py:10881] Re: SQL string concatenation in web2py?

2008-10-31 Thread morningovermidnight
Thanks!! :-) On Oct 29, 5:10 pm, mdipierro <[EMAIL PROTECTED]> wrote: > IS_IN_DB(db,'person.id','%(lastname)s, %(firstname)s') > > On Oct 29, 3:37 pm, morningovermidnight <[EMAIL PROTECTED]> > wrote: > > > I have a table with a firstname co

[web2py:10801] SQL string concatenation in web2py?

2008-10-29 Thread morningovermidnight
I have a table with a firstname column and a lastname column. I want the user to be able to select a person's full name from a drop-down list. Currently, using IS_IN_DB, I am only able to show in the drop- down list the firstname or the lastname but not both. How can I have both the firstname and

[web2py:10416] Re: Database table from SQL query

2008-10-18 Thread morningovermidnight
ike('%o') ## records where name ends in 'o' > db.tableA.tableE.requires=IS_IN_DB(db(condition),'tableE.id','% > (name)s') > > On Oct 17, 3:47 am, morningovermidnight <[EMAIL PROTECTED]> > wrote: > > > Ok, here goes. I would like to add a

[web2py:10415] Re: Testing in web2py

2008-10-18 Thread morningovermidnight
es that you can use to write and invoke tests (which it translates > > to Javascript and runs.)  It even has a cool IDE plugin for Firefox > > which makes test-making pretty easy.  Take a look. > >http://www.openqa.org/selenium/ > > > -tim > > > morningoverm

[web2py:10352] Database table from SQL query

2008-10-17 Thread morningovermidnight
Ok, here goes. I would like to add another table to my database and link it to an already exsisting table in my database. Lets say the existing table is table-E, and the table to add is table-A. Usually, adding a table with a foreign key reference to another table is no problem. But for this situa

[web2py:10350] Testing in web2py

2008-10-17 Thread morningovermidnight
I've been reading earlier posts on unittests and using doctests in web2py. I have tried and run some successful doctests in web2py. However, it seems that the doctest is testing the value that my function returns, as it should, but is there a way to write a test to check an intermediate value in m

[web2py:10309] Re: database connection password

2008-10-16 Thread morningovermidnight
abase > f) have an intrusion detection system that looks for scans and blocks > the IP of the scanner before he can get in. > g) setup a honeypot so they want to hack, they hack into that first > and you can take action. > > There is no solution to this problem. Only good prac

[web2py:10303] Re: database connection password

2008-10-15 Thread morningovermidnight
Massimo I too am concerned about the security of my DB password from prying eyes. I understand that when the database connection url uses localhost as in -> db=SQLDB('mysql://username:[EMAIL PROTECTED]: 3306/mydatabase'), when I upload to a shared webhosting server, to connect to the DB I am usin

[web2py:10036] Re: Hiding vars from url

2008-10-09 Thread morningovermidnight
Ha! Fixed it! Thanks Steve for the extra push to look at the CAS app again. I had the CAS app open this whole time to use for reference. Naturally once I stepped away for a moment and then came back to it, took another look at the CAS app, then I got it! Thanks! On Oct 9, 11:50 pm, "Steve Shepher

[web2py:10032] Hiding vars from url

2008-10-09 Thread morningovermidnight
Is there a way to keep form.vars from displaying in the url? I am making a login form, and the vars showing in the url is not a problem if the user enters the correct username and password because they are not shown in that case. However, if the user enters the wrong password, the form does not su

[web2py:10014] Re: Sessions value to long

2008-10-09 Thread morningovermidnight
tps, sessions will > not work. > > Massimo > > On Oct 8, 10:19 pm, morningovermidnight > > <[EMAIL PROTECTED]> wrote: > > Ok, so I'm working on this while I'm posting...hoping that either I > > will figure it out or that someone will reply with the answ

[web2py:9993] Sessions value to long

2008-10-08 Thread morningovermidnight
Ok, so I'm working on this while I'm posting...hoping that either I will figure it out or that someone will reply with the answer, whichever happens first :-) I am working to store sessions in my database. However, when I add to my model: session.connect(request, response, db=db, tablename='

[web2py:9987] Re: Ajax with multiple targets

2008-10-08 Thread morningovermidnight
this. Jquery taconite plugin (http://www.malsup.com/jquery/ > taconite/) > > On 7 Okt., 22:41, mdipierro <[EMAIL PROTECTED]> wrote: > > > Can't you call the ajax function twice? > > > Massimo > > > On Oct 7, 3:12 pm, morningovermidnight <[EMAIL PR

[web2py:9985] Re: Do I need to define my own global objects?

2008-10-08 Thread morningovermidnight
Thanks for the replies. A great help! On Oct 1, 10:29 am, "Tito Garrido" <[EMAIL PROTECTED]> wrote: > Hey morningovermidnight, > > Try something like that: > > *layout.html:* > >        {{try:}}{{pagetitle()}} >        {{except: pass}} > > *in your v

[web2py:9915] Ajax with multiple targets

2008-10-07 Thread morningovermidnight
Ok, here goes. I've been working on this one for a while. I want the user to be able to click on ONE link on the page and for the content from two external html files to load into TWO divs on the the page. I see that we can use the javascript function ”ajax” in ”web2py ajax.html. But it take thr