Ask Your Question

jqy3222089's profile - activity

2016-11-25 01:48:06 -0500 received badge  Notable Question (source)
2016-08-06 00:49:12 -0500 received badge  Famous Question (source)
2016-03-30 02:54:51 -0500 received badge  Popular Question (source)
2016-03-29 03:54:26 -0500 received badge  Popular Question (source)
2016-02-02 19:56:27 -0500 received badge  Notable Question (source)
2016-01-28 06:50:00 -0500 received badge  Popular Question (source)
2015-04-16 13:31:01 -0500 received badge  Notable Question
2015-01-06 11:41:19 -0500 received badge  Popular Question (source)
2014-06-22 12:08:02 -0500 received badge  Popular Question (source)
2014-02-04 14:51:04 -0500 received badge  Famous Question (source)
2013-10-23 02:21:58 -0500 received badge  Famous Question (source)
2013-07-23 09:16:04 -0500 received badge  Notable Question (source)
2013-07-23 09:16:04 -0500 received badge  Popular Question (source)
2013-06-05 20:45:04 -0500 received badge  Famous Question (source)
2013-06-04 09:48:26 -0500 commented question ajaxfileupload is not working with IE

IE9 windows 7, but also with IE8 not working

2013-06-03 19:07:36 -0500 asked a question ajaxfileupload is not working with IE

The plug-in, ajaxfileupload, only support jquery 1.2, and it's not working with IE. Chrome, ff are fine.

2013-05-28 07:37:45 -0500 commented answer askbot_imageuploader is not working with tinymce

@Evgeny and also the TINYMCE_JS_ROOT needs to be adjusted in windows TINYMCE_JS_ROOT = os.path.join(STATIC_ROOT, 'default/media/js/tinymce/').replace('\','/')

2013-05-28 07:00:58 -0500 answered a question askbot_imageuploader is not working with tinymce
def get_file_contents(filename):
    base_path = tinymce.settings.JS_ROOT
    if settings.DEBUG and settings.STATIC_ROOT:
        from django.contrib.staticfiles import finders
        base_path = finders.find('tiny_mce')

    try:
        f = open(os.path.join(base_path, filename))
        try:
            return f.read()
        finally:
            f.close()
    except IOError:
        return ""

this is one of the django-tinymce files, so if you are in debug mode, it will use the root of django-tinymce to load the js files.

2013-05-28 06:34:19 -0500 received badge  Nice Question (source)
2013-05-28 06:29:01 -0500 commented answer askbot_imageuploader is not working with tinymce

Those two buttons didn't show in the tinymce tool bar.

2013-05-27 08:54:57 -0500 asked a question askbot_imageuploader is not working with tinymce

I have changed the editor into tinymce, but askbot_imageuploader and askbot_attachment are not working correctly.

BTW I did not changed the configuration of django-tinymce.

2013-05-14 15:52:18 -0500 received badge  Famous Question (source)
2013-05-10 04:59:25 -0500 marked best answer fail to migrate using MySQL

I try to install ASKBOT with MySQL "python manage.py sync -all" works fine, but when run "python manage.py migrate --all", seems every migration occured an error "Migration 'askbot:0001_initial' is marked for no-dry-run"

2013-05-03 07:33:48 -0500 commented answer How to make askbot work with memcached?

@Evgeny yes, I see now. :>

2013-05-02 18:45:42 -0500 commented answer How to make askbot work with memcached?

The problem is that when I switched askbot into production mode, some static files were failed to be loaded. And some of the address were changed into "/m/CACHE/..."(maybe memcached changed this address?), but in the static directory there was no such directory named CACHE, so I need to manually create it.

2013-05-01 19:13:51 -0500 commented answer How to make askbot work with memcached?

That's the problem. After creating CACHE directory, it's working now. Many thanks!@Evgeny

2013-05-01 18:55:49 -0500 commented answer How to make askbot work with memcached?

So what should I do when I need to deploy ASKBOT into a production server? Just turn off the debug mode did not work since I have tried this in the server.

2013-05-01 18:31:25 -0500 commented answer How to make askbot work with memcached?

I didn't use that path for the memcached, it was automatically changed into that way when i turned the debug off.

2013-05-01 08:33:37 -0500 asked a question How to make askbot work with memcached?

In the settings.py of production server, I added

 CACHES = {
     'default': {
             'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
            'LOCATION': 'unix:xxx/memcached.sock',
        }
 }

Also added middleware in the file. memcached is started. But when i tried to run askbot in the production mode, it seems like some files, like css file, javascript file, need to be requested from cache. Some links are like: http://xxx.webfactional.com/m/CACHE/js/85190e85e697.js

But it can't be found in the server side. How to configure memcached for the per-site cache?

Many thanks.