First time here? Check out the FAQ!

mattbenh's profile - activity

2022-02-07 09:04:53 -0500 received badge Popular Question (source)
2022-02-07 09:04:53 -0500 received badge Notable Question (source)
2022-02-07 07:22:02 -0500 received badge Notable Question (source)
2017-05-01 16:31:49 -0500 received badge Famous Question (source)
2016-09-20 13:30:29 -0500 received badge Popular Question (source)
2016-03-25 20:34:30 -0500 received badge Notable Question (source)
2015-06-09 02:58:04 -0500 received badge Popular Question (source)
2015-01-05 16:51:42 -0500 asked a question Is there a table unapproved user are stored?

I'm working on setting up email, and have some users stuck in the waiting for email confirmation. Is there a table where I can delete that record?

2014-07-16 11:20:28 -0500 received badge Famous Question (source)
2013-12-10 10:37:21 -0500 commented answer I'm missing something with memcached

Thank you! it was running under TCP, and with that change it starts and has no cache warnings / errors.

2013-12-10 10:35:02 -0500 received badge Supporter ( source )
2013-12-09 18:04:58 -0500 commented answer I'm missing something with memcached

I'm no TCP expert so is this useful information (python-three-three)[root@kitt aims-site]# ps -e | grep memcached 29483 ? 00:00:00 memcached

2013-12-09 17:05:17 -0500 received badge Student (source)
2013-12-09 16:54:02 -0500 asked a question I'm missing something with memcached
  • System = redhat
  • yum install memcached
  • pip install python-memcached

I added this to the bottom of my setting.py

CACHES = {
  'default': {
    'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
    'LOCATION': '/export/harris112/memcached.sock',
    'TIMEOUT': 18000,
    'KEY_PREFIX': 'askbot',
  }
}
CACHE_TIMEOUT = 18000
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True

and I attempt to run locally for testing

(python-two-seven)[root@kitt uvcdatASKBOT]# /etc/init.d/memcached start
Starting memcached: 
(python-two-seven)[root@kitt uvcdatASKBOT]# python manage.py runserver `hostname -i`:8000
Validating models...



************************
*                      *
*   Askbot self-test   *
*                      *
************************

Please attend to the following:

Cache server is unavailable.
Check your CACHE... settings and make sure that the cache backend is working properly.

If necessary, type ^C (Ctrl-C) to stop the program
(to disable the self-test add ASKBOT_SELF_TEST = False).

turns out I've missed something… Any suggestions?

2013-12-05 14:38:34 -0500 received badge Scholar ( source )
2013-11-11 09:12:47 -0500 received badge Famous Question (source)
2013-11-05 15:02:36 -0500 asked a question configuring email?

I configured my settings.py

ADMINS = (
  ('Matthew Harris', 'harris112@aims.info'),
)
... db stuff ...
outgoing mail server settings
SERVER_EMAIL = 'harris112@aims.info'
DEFAULT_FROM_EMAIL = 'harris112@aims.info'
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_SUBJECT_PREFIX = ''
EMAIL_HOST='nospam.aims.info'
EMAIL_PORT=''
EMAIL_USE_TLS=False
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

and from that directory I can send an email to myself (admin email) with

from django.core.mail import mail_admins
mail_admins('subject line', 'message text')

but user are still not receiving emails (example creating an account verification email)

The server also sends mail find

mail -v 'harris112@aims.info'

Am I missing something? Any thoughts, ideas, comments, or concerns?

2013-11-05 14:50:55 -0500 received badge Autobiographer
2013-11-05 14:48:52 -0500 commented answer Askbot not sending email

I got my configuration in settings.py set up that our code from django.core.mail import mail_admins mail_admins('subject line', 'message text') will send me (admin) an email. I restarted apache, but the site still does not send emails and there is nothing in my `log/askbot.log` file? Any other suggestions or ideas?

2013-07-18 10:19:32 -0500 asked a question sign in with github account

Is it possible to add github account on the login page. I'd like my users to be able to login and create an account on my askbot with their github account.