[web2py] Re: Mail issues in 2.16.1

2018-01-01 Thread SimonD
also found this interesting article: http://blog.mailgun.com/25-465-587-what-port-should-i-use/ It seems perhaps that port 465 is not what we should be using for mail. Anyway, I hope this might help someone else. Thanks Simon On Sunday, December 31, 2017 at 6:07:42 PM UTC, SimonD wrote: &g

[web2py] Mail issues in 2.16.1

2017-12-31 Thread SimonD
Hello, I hope someone can shine a light on a snag I see... I'm moving an app from an old host to a new host. The web2py application on the new server (web2py 2.16.1) is a copy of the existing (web2py 2.14.6). This includes the mail settings which used SMTP port 25 The app uses auth.mail which wor

[web2py] Re: Migrate snag when moving from 2.14.6 to 1.16.1

2017-12-19 Thread SimonD
isting *.table files will be recognized. For a simple fix, you can force > the DAL to recognize the original hash -- just grab the prefix from an > existing *.table file and do: > > db = DAL(..., table_hash=[the original connection string hash]) > > Anthony > > On Friday, De

[web2py] Migrate snag when moving from 2.14.6 to 1.16.1

2017-12-15 Thread SimonD
I've just upgraded from 2.14.6 to 2.16.1, and for the first time ever since using web2py (in years), I encountered a "(1050, "Table 'x' already exists")" error. I applied "db = DAL(...,migrate=False)" and this worked OK. If I remove the migrate=False I see the error again. I upgraded on a l

[web2py] Re: Appadmin sort not working

2016-12-11 Thread SimonD
or, as it is not Javascript. If you want to comment out some HTML, > use HTML comments, or just delete the entire line. > > Anthony > > On Sunday, December 11, 2016 at 6:27:15 AM UTC-5, SimonD wrote: >> >> DaveS, thanks for advising and taking the time to look at this. >

[web2py] Re: Appadmin sort not working

2016-12-11 Thread SimonD
Do we know why share.js is necessary for appadmin data sorting? 2) Can I disabled social sharing in another way (i.e. retaining share.js)? If not, maybe one of the project team can advise. On Saturday, December 10, 2016 at 7:35:26 PM UTC, SimonD wrote: > > Hello, I recently upgraded from

[web2py] Appadmin sort not working

2016-12-10 Thread SimonD
Hello, I recently upgraded from 2.9.5 to 2.14.6 I also moved from SQLite to mysql along the way as well as bootstrap 2 to 3 In 2.9.5 - in appadmin, I could sort an entire table either ascending or descending by clicking on the column header. I have a few big tables and its useful for testing etc

[web2py] Re: Migrating uploaded images from uploadfield to uploadfolder

2014-05-21 Thread SimonD
ot;, will this work OK, or is there a subtlety that will break something (i.e. where I am using the image in the app) I am really unsure about the impact of changing the db.define_table in db.py Simon On Wednesday, May 21, 2014 10:42:07 PM UTC+1, SimonD wrote: > > I see in t

[web2py] Migrating uploaded images from uploadfield to uploadfolder

2014-05-21 Thread SimonD
I see in this forum that some folk have wanted to migrate "uploads stored in the file system" to "uploads stored in the database". Massimo has shown a simple piece of code to assist that migration. I think I have the opposite requirement. Firstly I had assumed that storing uploads in the fil

[web2py] Re: is CAT() causing RuntimeError: maximum recursion depth exceeded in cmp ?

2014-05-09 Thread SimonD
On Friday, May 9, 2014 3:56:20 PM UTC-4, SimonD wrote: >> >> Hi, >> I would like to seek knowledge/expertise. >> >> I have this function - which shows "all user activity in the previous 90 >> days" >> def all_activity(): >> >> tabled

[web2py] is CAT() causing RuntimeError: maximum recursion depth exceeded in cmp ?

2014-05-09 Thread SimonD
Hi, I would like to seek knowledge/expertise. I have this function - which shows "all user activity in the previous 90 days" def all_activity(): tabledata=TR(B('Date/Time'),B('User'),B('Activity'),_style='background-color:lightblue;') #formatted header for row in db(db.activity.date_

[web2py] Re: Appadmin on 2.9.4

2014-03-15 Thread SimonD
on you can supply, I will be, as always, very grateful. Simon On Saturday, March 15, 2014 7:35:29 PM UTC, LightDot wrote: > > Btw, this seems to be one of the more elusive features of web2py, when it > comes to finding information about it... @simonD, can I ask what did you > first

[web2py] Re: Appadmin on 2.9.4

2014-03-15 Thread SimonD
PM UTC, Massimo Di Pierro wrote: > > Can you open the page with chrome? In the javascript console (under > network activity) it will tell you which files return a 404 error (if any). > Then you can check if the files are there or not. > > On Friday, 14 March 2014 11:06:09 U

[web2py] Re: Appadmin on 2.9.4

2014-03-14 Thread SimonD
remember seeing something similar on previous version, IIRC the thing > was in apache's vhost config. > > On Friday, March 14, 2014 4:27:04 PM UTC+2, Massimo Di Pierro wrote: >> >> Anybody else experiencing this? >> >> On Friday, 14 March 2014 06:39:08 UTC-5, Si

[web2py] Custom form updating field not in view

2013-09-06 Thread SimonD
Hi, I have been working with an issue for a few hours, and can see what is happening, but I would like to better understand why this happens. Although I have a solution, some information or help as to why this is happening would be very useful. I would be sure that the answer is simple and proba

[web2py] Re: Manual file insertion into uploads folder

2013-08-07 Thread SimonD
Anthony, I had thought that the actual content of the stream was used in the hash. But, reading your response, it seems that's not the case (and in fact why would it). I will endevour to perhaps write the header record in the csv, then insert into the upload table, and then write the bulk of the

[web2py] Manual file insertion into uploads folder

2013-08-07 Thread SimonD
Hello, Firstly, apologies from a relative noob I need some guidance or help on how to achieve a smooth outcome, please? I am creating a small "multi-tenant" application. Part of the application programmatically generates .csv files (they are reports). For obvious "multi-tenant" reasons, each

[web2py] Re: ordering request.vars for PayPal IPN

2013-07-29 Thread SimonD
handle error ... > return > if parameters['payment_status'] == "Completed": > ... do stuff ... > > It is adapted from code in the web2py cookbook. To be honest, I've never > thought about the order of the URL. However, all I

[web2py] Re: ordering request.vars for PayPal IPN

2013-07-18 Thread SimonD
rlier and not wasted forum space). If anyone knows where I would have found this detailed, I would really appreciate the URLs please.. Thanks Simon On Thursday, July 18, 2013 5:46:23 PM UTC+1, SimonD wrote: > > Hello, I would be sure that someone has come across this already. I ho

[web2py] ordering request.vars for PayPal IPN

2013-07-18 Thread SimonD
Hello, I would be sure that someone has come across this already. I hope so. I am writing a handler for PayPal IPN. Actually, a little easier that I thought it would be except for one issue: - request.vars creates a Storage object, but the key:value pairs are not in the same sequence as they are

[web2py] Re: How do I combine @auth.requires_signature with @auth.requires_membership

2013-04-12 Thread SimonD
Anthony, Thanks so much for sharing the expertise, and so quickly. I had completely misunderstood about the decorators. Actually stacking them is the simplest and easiest answer, given that it is a valid thing to do. I hear what you say about the unnecessary database hits and the lambda. I had

[web2py] How do I combine @auth.requires_signature with @auth.requires_membership

2013-04-12 Thread SimonD
Hello, I am relatively new to web2py. I think it's terrific, but I am still learning. Hopefully I will become expert enough to contribute answers:-) For now, despite research, I am still unclear on the use of the @auth decorators, and am seeking advice, please? I have built an application for mu