Webfaction recommends setting up memcached this way:
http://docs.webfaction.com/software/memcached.html#setting-up-memcached
ie, with this command: memcached -d -m memory -s ~/memcached.sock
The problem here is that this page(
http://web2py.com/book/default/chapter/11#Memcache
) gives an incompat
My site is hosted at webfaction.com, and I find that if no one's
visited the site in awhile, then apache or web2py cannot access the
file utils.py in modules/
Anyone run into this problem before? I've solved this problem by
adding __init__.py to controllers/ and importing utils.py from there.
I will try that solution.
> >> Thanks.
>
> >> On Thu, Sep 30, 2010 at 8:14 PM, mdipierro wrote:
>
> >>> routes does not support this but you can do things like
>
> >>> app=request.env.http_host.split('.')[0]
> >>> if not app=request.appl
I have two URLs, novelite.ca and noverotic.ca and I'm trying to figure
out how to make web2py serve a different application depending on the
base url.
Does this involve routes.py?
26, 2:11 pm, mdipierro wrote:
> I assume you do
>
> db().update(field=value)
>
> similarly you can do
>
> auth.user.update(field=value)
>
> On Sep 26, 3:44 pm, Tyler Laing wrote:
>
> > I ran into an interesting issue in testing my site (http://www.noveli
I ran into an interesting issue in testing my site ( http://www.novelite.ca
). If the user buys tokens while logged in, via paypal, paypal then
sends a notification to the server via IPN. Processing this adds the
tokens to the user's account. My problem is that the auth.user object
isn't updated wh
I'm trying to make file uploads optional, however, SQLFORM is forcing
the fields to be filled. Is there any way, without javascript, to have
upload fields that are visible, but optional?
I'm trying to figure out how to have a separate app(same instance) use
the same auth_user table I customized in a separate app. I've seen
some vague instructions but none of them make sense. Can anyone point
me to anything better?
Jul 17, 9:41 pm, Tyler Laing wrote:
>
> > I've been struggling with forms all day.
>
> > Here are the issues I've run into:
> > 1) There is no way to manually insert the hidden form values with
> > FORM. This should be an option, so people can customiz
ot;author",
db.auth_user, default=user_id), Field("datetime", 'datetime'),
Field("forum_id", 'reference forums'))
db.define_table("posts", Field("subject", 'string'), Field("body",
'string', length = 10000, r
10 matches
Mail list logo