lidyaagustina's profile - activity
2016-03-16 00:45:02 -0500 | received badge | Famous Question (source) |
2015-06-19 13:21:40 -0500 | received badge | Famous Question (source) |
2014-12-13 21:29:13 -0500 | received badge | Student (source) |
2014-09-03 20:52:52 -0500 | asked a question | allow only registered users to see content function Hello, I have this option ticked from the settings: "allow only registered users to see content" so as to it a closed site. Now, on registration page, i wrote code to send user a consent form by using django send_mail function. Here is the problem, if i have that option above ticked, when this new code tried to send email, i was redirected to the login page (it returns me please login page after POST). Is there any way i can by-pass this option once so i can successfully send the email? Thanks. -Lidya |
2014-08-21 17:47:55 -0500 | answered a question | Strange error after restarting apache I found out the issues after few hours! To everybody encountering this issue: I used memcached, and i just need to restart the memcached. Thanks. |
2014-08-21 02:21:13 -0500 | asked a question | Strange error after restarting apache Hello, I have a question on askbot and apache. Previously i changed the logo's etc from root (admin login) and it all works fine. logo displayed as it should, the site name etc. Then i restart apache, and why after that when i access the page, all setting previously done is gone. and looks like it is reverted back to original layout? Then i went in to the settings and tried to change them again but when i saved, i got internet server error, so i went to the log and here is what i have got: Could somebody point me why i got this error? Thanks. Traceback (most recent call last): File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response response = callback(request, callback_args, *callback_kwargs) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func response = view_func(request, args, *kwargs) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/contrib/admin/views/decorators.py", line 16, in _checklogin return view_func(request, args, *kwargs) File "/home/ec2-user/teachqasite/askbot/deps/livesettings/views.py", line 52, in group_settings request.user.message_set.create(message=e.message) File "/home/ec2-user/teachqasite/askbot/models/__init__.py", line 151, in create return self.model_class.objects.create(user=self.user, **kwargs) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/manager.py", line 137, in create return self.get_query_set().create(**kwargs) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 377, in create obj.save(force_insert=True, using=self.db) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/base.py", line 463, in save self.save_base(using=using, force_insert=force_insert, force_update=force_update) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/base.py", line 551, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/manager.py", line 203, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 1576, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 910, in execute_sql cursor.execute(sql, params) File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute return self.cursor.execute(query, args) DatabaseError: current transaction is aborted, commands ignored until end of transaction block |