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
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
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
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
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
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
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
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
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
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
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
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
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
>
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
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'
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:
>
&
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
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
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
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
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
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
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
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
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
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
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
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
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
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='
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
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
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
33 matches
Mail list logo