Title: Na Nguyen's Replies | WordPress.org

---

# Na Nguyen

  [  ](https://wordpress.org/support/users/naenter/)

 *   [Profile](https://wordpress.org/support/users/naenter/)
 *   [Topics Started](https://wordpress.org/support/users/naenter/topics/)
 *   [Replies Created](https://wordpress.org/support/users/naenter/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/naenter/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/naenter/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/naenter/engagements/)
 *   [Favorites](https://wordpress.org/support/users/naenter/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Updated WordPress version 4.1 and the plugin didn't work](https://wordpress.org/support/topic/updated-wordpress-version-41-and-the-plugin-didnt-work/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/updated-wordpress-version-41-and-the-plugin-didnt-work/#post-5593617)
 * Oopz it like a small problem here . I think when you change the name of the plugin
   but you forgot to edit the WP Ajaxify Comments URL link in Settings section .
   It show error ‘You do not have sufficient permissions to access this page.’
 *     ```
       wp-admin/admin.php?page=WP%20Ajaxify%20Comments - work
       wp-admin/options-general.php?page=WPAjaxifyComments - didn't work
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Updated WordPress version 4.1 and the plugin didn't work](https://wordpress.org/support/topic/updated-wordpress-version-41-and-the-plugin-didnt-work/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/updated-wordpress-version-41-and-the-plugin-didnt-work/#post-5593616)
 * It’s work like a charm now ! Thank you so much !
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Setup WordPress database error in MySQL OpenShift](https://wordpress.org/support/topic/setup-wordpress-database-error-in-mysql-openshift/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/setup-wordpress-database-error-in-mysql-openshift/#post-5408047)
 * I mean I want to use OpenShift to host my SQL DATABASE , and i redirect connect
   my website to it , I think’t it not impossible because the SQL server database
   in OpenShift may only support website hosted in it .
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Can't use with HTTPS ?](https://wordpress.org/support/topic/cant-use-with-https/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cant-use-with-https/#post-5361150)
 * Hello .
    Thank you again, all the bugs have been resolved ! Thank you so much
   for your work and developer for this plugin . Hope you create more awesome plugin!
   Best regards !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Can't use with HTTPS ?](https://wordpress.org/support/topic/cant-use-with-https/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cant-use-with-https/#post-5361131)
 * Hello Jan !
    I want to tell you the good news is i have installed the newest 
   version of your plugin and everything work perfect like a charm ! Thank you so
   much for your development of this plugin . All the request in HTTP or HTTPS is
   work fine . So , i have a little more question about this plugin is , when post
   comment , the title of the web page render something like : Title : SWEET EMOTIONS–
   NGỌT NGÀO TÌNH QUÊ is render to Title : SWEET EMOTIONS – NGỌT NGÀO TÌNH QUÊ It’s
   change the “-” symbol to &#8211 Can you have a little time fo fix this bug ? 
   Thank you for everything ! Best regard .
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Can't use with HTTPS ?](https://wordpress.org/support/topic/cant-use-with-https/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cant-use-with-https/#post-5361105)
 * Hello !
    Yes , i have a proxy server or firewall that handles the HTTPS traffic
   and forward all request as HTTP requests to the web server is CloudFlare . And
   now i’m disabled my SSL on the post page , your plugin work fine and perfect !
   But when i actived my SSL on the post page , the plugin break . Do you have to
   try change the URL HTTP & HTTPS ? , when use HTTPS : <form action=”[https://www.nguyenanhmedia.com/wp-comments-post.php&#8221](https://www.nguyenanhmedia.com/wp-comments-post.php&#8221);
   method=”post” id=”commentform” class=”comment-form”> and when use HTTP <form 
   action=”[http://www.nguyenanhmedia.com/wp-comments-post.php&#8221](http://www.nguyenanhmedia.com/wp-comments-post.php&#8221);
   method=”post” id=”commentform” class=”comment-form”> You say right , the proxy
   server that handles the HTTPS traffic and forward all request as HTTP requests
   to the web server , that’s cause error ! I can’t find the solution to fix this!
   Hope you help me ! Best regards !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Can't use with HTTPS ?](https://wordpress.org/support/topic/cant-use-with-https/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cant-use-with-https/#post-5361096)
 * Hello !
    It seems I’ve found the cause of the error . When i use HTTP instead
   of HTTPS to post comment , your plugin work fine and didn’t have any errors .
   But when i using HTTPS to post comment , the plugin break . That’s is the problem!
   So , can you have a idea to fix this problem when i use HTTPS on my site ? Can
   we fix a litte code of your plugin to work with HTTPS ( although my WordPress
   core option URL is HTTP ) ? Thank you so much for reply and help me !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Can't use with HTTPS ?](https://wordpress.org/support/topic/cant-use-with-https/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cant-use-with-https/#post-5361091)
 *     ```
       function wpac_get_page_url()
       {
       	$ssl = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? true:false;
       	$sp = strtolower($_SERVER['SERVER_PROTOCOL']);
       	$protocol = substr($sp, 0, strpos($sp, '/')) . (($ssl) ? 's' : '');
       	$port = $_SERVER['SERVER_PORT'];
       	$port = ((!$ssl && $port=='80') || ($ssl && $port=='443')) ? '' : ':'.$port;
       	$host = isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME'];
       	return $protocol.'://'.$host.$port.$_SERVER['REQUEST_URI'];
       }
       ```
   
 * In this function , can we change it to only use HTTPS ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Can't use with HTTPS ?](https://wordpress.org/support/topic/cant-use-with-https/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cant-use-with-https/#post-5361086)
 * When i disabled your plugin and use the default comment wordpress method , it’s
   nothing happen , the comment posted normaly and everything still work fine . 
   But when activated your plugin and try to post comment , the error “Unknown error
   occured” is still display .
    I have a thought on this issue is realted to $siteurl
   and $home define(‘WP_HOME’,’[http://example.com&#8217](http://example.com&#8217););
   define(‘WP_SITEURL’,’[http://example.com&#8217](http://example.com&#8217);); 
   My site front end is running with HTTPS but in my WordPress core option , my 
   WordPress site URL and home URL is still using HTTP , I think this has to affect
   operations of the plugin , when activated the plugin and post comment , I think
   the plugin is still use get_permalink() of the post is HTTP or get home_url()
   is HTTP as WordPress core option , so it break when using with HTTPS . – Do you
   have any idea to solve this problem ? I try to change the home_url() and site_url()
   to HTTPS and find the error but i can’t , because I’m using HTTPS on browser (
   not on my web server ) . – Or we can change the function on plugin to get the
   permalink or home_url() of the post is HTTPS instead of HTTP ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Can't use with HTTPS ?](https://wordpress.org/support/topic/cant-use-with-https/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cant-use-with-https/#post-5361024)
 * Dear !
    Your plugin and Jquery seems work fine , seen I installed WordPress HTTPS
   plugin and setup HTTPS on my page , the plugin does not work properly – it have
   only one error is when complete all the fields and click post comment , it show
   error “Something went wrong, your comment has not been posted. ” , but comments
   are still being sent to the dashboard as usual , i don’t know what error , it’s
   doesn’t show new comment posted AJAX too , it’s only show Unknown error occured.
   I don’t know what to do now 🙁 When I logged in and click post comment , my browser(
   Chrome) notice that the HTTPS is not secure , this mean when sending comment 
   to server and the server respond is not secure , I press Ctrl+Shift+J in Google
   Chrome to find what is it , it show : Failed to load resource: the server responded
   with a status of 500 (Internal Server Error) [https://www.mywebsite.com/wp-comments-post.php](https://www.mywebsite.com/wp-comments-post.php)
   The page at ‘[https://www.mywebsite/v/examplepost&#8217](https://www.mywebsite/v/examplepost&#8217);
   was loaded over HTTPS, but displayed insecure content from ‘[http://www.mywebsite/v/examplepost/comment-page-11#comment-4424&#8217](http://www.mywebsite/v/examplepost/comment-page-11#comment-4424&#8217);:
   this content should also be loaded over HTTPS. ——————– XMLHttpRequest cannot 
   load [http://www.mywebsite.com/v/example/comment-page-11#comment-4424](http://www.mywebsite.com/v/example/comment-page-11#comment-4424).
   No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
   Origin ‘[https://www.mywebsite.com&#8217](https://www.mywebsite.com&#8217); is
   therefore not allowed access. — Now i think this problem related to HTTPS , when
   click post comment , the plugin send data and respond HTTP (instead of HTTPS),
   and the plugin show error . I think the problem is instead of respond HTTP , 
   the plugin should respond as HTTPS . Sorry for my bad English , and hope you 
   will help me to fix this ! Thank you so much !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Can't use with HTTPS ?](https://wordpress.org/support/topic/cant-use-with-https/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cant-use-with-https/#post-5360997)
 * Wow . I think this problem is related to Jquery , when use https the jquery don’t
   work perfectly . I have change the Jquery code of another script and plugin to
   the site work perfect , but I can’t fix this problem with WP-Ajaxify-Comments
   plugin . Your plugin is awesome and i like it so much , i don’t want to use another
   plugin . I hope this problem can fix !
    I change a lot of code in my site , example
   is : window.load function , $(document).ready(function() , jQuery(document).ready(
   function() ,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] Can't use with HTTPS ?](https://wordpress.org/support/topic/cant-use-with-https/)
 *  Thread Starter [Na Nguyen](https://wordpress.org/support/users/naenter/)
 * (@naenter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cant-use-with-https/#post-5360980)
 * Sorry for late reply . This is my example link to this problem ? [http://goo.gl/Gs9Hou](http://goo.gl/Gs9Hou)?
   Thank you !

Viewing 12 replies - 1 through 12 (of 12 total)