[web2py] Re: Running web2py on Hostgator Shared hosting!

2012-10-24 Thread Kevin C
Please see my post at https://groups.google.com/forum/#!searchin/web2py/hostgator/web2py/HvKqgkatK1E/0mFjGUYPjLYJ I was able to successfully get web2py working on the baby plan at hostgator. The key is in the permissions of your fcgi script and in setting the proper paths. On Monday, October

[web2py] sqlform.grid and query conditions

2012-09-05 Thread Kevin C
Basically, we are generating a SQLFORM.grid with the following code: db.pages.stores_id.default = STORE_DETAILS.id query = ((db.pages.stores_id == STORE_DETAILS.id)) form = SQLFORM.grid(query=query) return dict(form=form) This is working perfectly fine for us. However, we have

[web2py] Re: Auth Decorator / Model Question.

2012-09-04 Thread Kevin C
3, 2012 10:43:10 PM UTC-5, Kevin C wrote: The title isn't very descriptive, but I hope this paragraph clears things up. Basically we are creating a basic SaaS app. Users will log in at theirname.oursite.com to an administrative panel. Each administrative panel is tied to a user ID from

[web2py] Auth Decorator / Model Question.

2012-09-03 Thread Kevin C
The title isn't very descriptive, but I hope this paragraph clears things up. Basically we are creating a basic SaaS app. Users will log in at theirname.oursite.com to an administrative panel. Each administrative panel is tied to a user ID from the auth table. So basically here is what

[web2py] Foreign Key not showing up in form (One table only)

2012-08-31 Thread Kevin C
We're having a strange issue here. We have defined around 20 tables already with foreign keys everywhere and working fine. Today we created two additional tables but the foreign key dropdown isn't working for one of them. (This is just using the database manager through appadmin) Tables are:

[web2py] Re: Install in hostgator

2012-08-29 Thread Kevin C
Do you mind sharing how you got it working? I have virtualenv with python 2.7 set up, web2py in my home directory, index.fcgi (Executable) and an .htaccess set up, but still no success. I'm getting Internal Server Errors on every page. Can you share your configuration with us? On Friday,

[web2py] Re: Install in hostgator

2012-08-29 Thread Kevin C
-script .fcgi RewriteEngine On RewriteBase / RewriteRule ^index\.fcgi/ - [L] RewriteRule ^(.*)$ index.fcgi/$1 [L] With the above changes, web2py is working beautifully on hostgator. I hope this is useful for someone in the future. On Tuesday, August 28, 2012 11:31:27 PM UTC-5, Kevin C wrote: Do