seo bok
asked 8 years ago

Thank you for making this plugin. 
I faced some problem. i bought some theme. and using this plugin. 
ajax result can’t be shown. how can i solve this problem. below my web site. 
Please help me.

2 Answers
well wisher
answered 8 years ago

The only reason ajax may not be working on your site is if you are using an httpd server side protection for your site which creates an other layer of security for your site wp-admin with the help of .htaccess and httpd and thus if thats the case you have to allow ajax
add this to your wp-admin/.htaccess

<Files admin-ajax.php>
    Order allow,deny
    Allow from all
    Satisfy any 

Read complete story here

answered 8 years ago

Hi Seo Bok, 
If you still meet your brolem, please go to <your-plugin-folder>/dw-question-answer/inc/filter.php and remove 169 and 171 :

if( is_user_logged_in() ) {
$args['perm'] = 'readable';

Please let me know when you done!

seo bok
replied 8 years ago

Thank you for your answer. I tried to find this file.
but i can’t find below text.

if( is_user_logged_in() ) {
$args[‘perm’] = ‘readable’;

Besides, my file 169~171 is below:
$args[‘orderby’] = ‘meta_value_num’;

// $args[‘meta_query’][‘relation’] = ‘OR’;

Please reply to me at your convenience.

Dominic Staff
replied 8 years ago

Apologies for the delay in replying to you.
Right now, please update the latest version 1.2.8, then open the filter.php file and remove 167 and 169

Powered by DW Question & Answer Pro