Title: autotutorial's Replies - page 26 | WordPress.org

---

# autotutorial

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 376 through 390 (of 706 total)

[←](https://wordpress.org/support/users/autotutorial/replies/page/25/?output_format=md)
[1](https://wordpress.org/support/users/autotutorial/replies/?output_format=md) 
[2](https://wordpress.org/support/users/autotutorial/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/autotutorial/replies/page/3/?output_format=md)…
[25](https://wordpress.org/support/users/autotutorial/replies/page/25/?output_format=md)
26 [27](https://wordpress.org/support/users/autotutorial/replies/page/27/?output_format=md)…
[46](https://wordpress.org/support/users/autotutorial/replies/page/46/?output_format=md)
[47](https://wordpress.org/support/users/autotutorial/replies/page/47/?output_format=md)
[48](https://wordpress.org/support/users/autotutorial/replies/page/48/?output_format=md)
[→](https://wordpress.org/support/users/autotutorial/replies/page/27/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Should setting WP_DEBUG_DISPLAY to false ALWAYS hide PHP messages?](https://wordpress.org/support/topic/should-setting-wp_debug_display-to-false-always-hide-php-messages/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/should-setting-wp_debug_display-to-false-always-hide-php-messages/#post-12089673)
 * it’s just a test code that you have to try otherwise you can’t understand .. 
   The WordPress constants and in the case of WP_DEBUG_DISPLAY/WP_DEBUG_LOG will
   be assigned only if the WP_DEBUG is true, if not explicitly specified WP_DEBUG_LOG
   on false it will be created a debug.log file
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Should setting WP_DEBUG_DISPLAY to false ALWAYS hide PHP messages?](https://wordpress.org/support/topic/should-setting-wp_debug_display-to-false-always-hide-php-messages/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/should-setting-wp_debug_display-to-false-always-hide-php-messages/#post-12089594)
 * create test.php
 *     ```
       <?php
       error_reporting(-1);
       ini_set('display_errors','Off');
       ```
   
 * create myload.php
 *     ```
       <?php
       include dirname(__FILE__).'/test.php';
       //Constant undefined
       Myconst;
       ```
   
 * Run [http://mydomain.com/myload.php](http://mydomain.com/myload.php)
 * when you enable debugging you can turn off the error display, otherwise errors
   are always visible.
 *     ```
       <?php
       //good
       define('WP_DEBUG', true);
       define('WP_DEBUG_DISPLAY', false);
       ```
   
 *     ```
       <?php
       //Bad
       define('WP_DEBUG', false);
       define('WP_DEBUG_DISPLAY', false);
       ```
   
    -  This reply was modified 6 years, 6 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
      Reason: Fix
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress Website Opens a File instead of the page](https://wordpress.org/support/topic/wordpress-website-opens-a-file-instead-of-the-page/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-website-opens-a-file-instead-of-the-page/#post-12089009)
 * I’m sorry not have any idea.
    You have wp-blog-header.php on root?
    -  This reply was modified 6 years, 6 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
    -  This reply was modified 6 years, 6 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress Website Opens a File instead of the page](https://wordpress.org/support/topic/wordpress-website-opens-a-file-instead-of-the-page/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-website-opens-a-file-instead-of-the-page/#post-12088927)
 * Check your rule on root .htaccess and check on root if index.php have redirect.
   
   [https://github.com/WordPress/WordPress/blob/master/index.php](https://github.com/WordPress/WordPress/blob/master/index.php)
   I see redirect.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [REST API Problem](https://wordpress.org/support/topic/rest-api-problem-4/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/rest-api-problem-4/#post-12088465)
 * Read please, send this fix on page plugin Yoast.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [REST API Problem](https://wordpress.org/support/topic/rest-api-problem-4/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/rest-api-problem-4/#post-12088369)
 * This is a problem of cache (your server, load balancing, reverse proxy and/or
   your plugin have copy of page with pretty Permalink, but your htaccess is missing
   now).
    If you are using non-pretty permalinks, you should pass the REST API route
   as a query string parameter. The route [http://oursite.com/wp-json/](http://oursite.com/wp-json/)
   in the example above would hence be [http://oursite.com/?rest_route=/](http://oursite.com/?rest_route=/)
   Set your **missing** .htaccess and it work 😉 [Pretty Permalink](https://wordpress.org/support/article/using-permalinks/#using-pretty-permalinks)
 * > The configuration wizard relies on a built-in WordPress tool called the REST
   > API. Per the screenshot, this tool is returning to 404 Not Found which means
   > that either the core files are missing or your site / server has disabled the
   > REST API.
 * There are several reasons when a status code other than http 200 comes out, the
   404 code often indicates incorrect request in this case forward this technical
   advice, yoast if it meets a 404 with all methods and indicates if it is a
    problem
   of [http://oursite.com/index.php/wp-json/](http://oursite.com/index.php/wp-json/)
   PATHINFO (Almost Pretty), [http://oursite.com/index.php/wp-json/](http://oursite.com/index.php/wp-json/).
   htaccess (Pretty Permalink) or [http://oursite.com/?rest_ruote=/](http://oursite.com/?rest_ruote=/)
   query string (Ugly).
    -  This reply was modified 6 years, 6 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
      Reason: Edit for missing content
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Should setting WP_DEBUG_DISPLAY to false ALWAYS hide PHP messages?](https://wordpress.org/support/topic/should-setting-wp_debug_display-to-false-always-hide-php-messages/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/should-setting-wp_debug_display-to-false-always-hide-php-messages/#post-12087410)
 * From wordpress 5.2 the WSOD has been added which if enabled should receive php
   errors or warnings as well as fatal errors. with the function error_get_last()
   fatal errors can also be recovered. [https://developer.wordpress.org/reference/functions/wp_is_fatal_error_handler_enabled/](https://developer.wordpress.org/reference/functions/wp_is_fatal_error_handler_enabled/)
   
   in php 7 the errors turn into exceptions (in php legacy it can be anything, for
   example I am on php 7.1 and I have the php 5 behavior, I had to create a set_error_handle
   to suppress the errors because I can’t use the ini_set function). WordPress can
   only suppress errors with `define( 'WP_DEBUG_DISPLAY', false );` , if ini_set
   not disabled and the error does not reside in load.php. [https://github.com/WordPress/WordPress/blob/master/wp-includes/load.php#L277](https://github.com/WordPress/WordPress/blob/master/wp-includes/load.php#L277)
 * fatal errors will be intercerted by error_get_last () (if your provider makes
   it work or you have not activated an error or exception management in the same
   call, this for php 5)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Not Found The requested URL /xxxxx was not found on this server.](https://wordpress.org/support/topic/not-found-the-requested-url-xxxxx-was-not-found-on-this-server/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/not-found-the-requested-url-xxxxx-was-not-found-on-this-server/#post-12077981)
 * I’m sorry for your problem.
    You have WordPress on ROOT folder?? You have WordPress
   multisite or WordPress Normal?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Update php and wordpress](https://wordpress.org/support/topic/update-php-and-wordpress/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/update-php-and-wordpress/#post-12077875)
 * Before your backup file and mysql
    Then with PHP 5.2.4 3.1 => 3.1.2, 3.1.4, 3.2.1,
   3.3.1, 3.3.3, 3.4.2, 3.5.2, 3.6.1 stop 3.7. The final steep PHP 5.6.20 WordPress
   5.2. Info for backup , exendends upgrade and info from 3.7 to 5.2 **Upgrading
   Across Multiple Versions**
 * > [Upgrading WordPress – Extended Instructions](https://wordpress.org/support/article/upgrading-wordpress-extended-instructions/)
 * 
    Ps. with all plugins disabled and default theme. Minimum PHP Version Required
   to run WordPress from 3.2 to 5.1 is PHP 5.2.4
    -  This reply was modified 6 years, 6 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP-Config Error](https://wordpress.org/support/topic/wp-config-error-4/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wp-config-error-4/#post-12073115)
 * Don’t read the link but only my code … it’s a pleasure to be useful.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP-Config Error](https://wordpress.org/support/topic/wp-config-error-4/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wp-config-error-4/#post-12072960)
 *     ```
       define('WP_DEBUG',false);
       // Without and slash
       define('WP_HOME','http://www.mysite.com');
       define('WP_SITEURL','http://www.mysite.com')
       ```
   
 * Removing your /my-subdir intorno hataccess.
 * Example moving WordPress from root to my-subdir [Moving WordPress](https://wordpress.org/support/article/giving-wordpress-its-own-directory/#moving-process)
 * That is written here (my code), like I wrote you. Remove the three define probably
   you have inserted some superfluous character and it gives you error … If with
   my advice everything works do not install, delete or create anything because 
   I write to you what to do in the next step.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Chaning from IP to domain causing cookie error](https://wordpress.org/support/topic/chaning-from-ip-to-domain-causing-cookie-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/chaning-from-ip-to-domain-causing-cookie-error/#post-12069901)
 * [change url](https://wordpress.org/support/article/changing-the-site-url/#edit-wp-config-php)
 *     ```
       //Trust HOST
       if(!($_SERVER['HTTP_HOST'] == 'myhost.com')) {
       //Trust IP for Trust HOST
       //Read if you have $_SERVER['SERVER_ADDRESS']
       if($_SERVER['REMOTE_ADRESS'] === '21.20.20.20') {
       define( 'WP_HOME', 'http://21.20.20.20' );
       define( 'WP_SITEURL', 'http://21.20.20.20' );
       }
       }
       ```
   
 * if you use an ip other than localhost, then the inverse resolution of your hostname
   in this example myhost.com is ip 21.20.20.20. Replace myhost.com with your host
   and your ip referring to hostname
 * the data in the database are stored with myhost.com and before executing a search
   and replace exclusively by plugins, make backups of your files and the database
   and test if with this code you can enter .. I’m not sure but since ip and hostname
   share the same storage memory and use the conditional (if of the first line of
   code) maybe you can view your photos myhost.com/uploads/ even when you use your
   ip ..
 * Recommendation when using your ip do not change or add anything … do not touch
   pages or articles … otherwise in the database you will have the old data on myhost.
   com while the new ones on 21.20.20.20
    -  This reply was modified 6 years, 6 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [HTTP Error When Uploading Images](https://wordpress.org/support/topic/http-error-when-uploading-images-36/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/http-error-when-uploading-images-36/#post-12067116)
 * I notice that you use the CloudFlare reverse proxy, if you have installed WordPress
   from a zip file you can activate this pligin press clear the cache.
    [https://wordpress.org/support/topic/301-redirect-after-cloudflare-ssl/#post-12015233](https://wordpress.org/support/topic/301-redirect-after-cloudflare-ssl/#post-12015233)
   Maybe you have jascript error
 * > [Using Your Browser to Diagnose JavaScript Errors](https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/)
 * [https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare](https://docs.wp-rocket.me/article/18-using-wp-rocket-with-cloudflare)
   off Rocket Loader
    -  This reply was modified 6 years, 6 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Update issue](https://wordpress.org/support/topic/update-issue-35/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/update-issue-35/#post-12066955)
 * Your WordPress version from version.php?
    Example of 5.2.5 alpha [https://github.com/WordPress/WordPress/blob/5.2-branch/wp-includes/version.php#L16](https://github.com/WordPress/WordPress/blob/5.2-branch/wp-includes/version.php#L16)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [https changing to http](https://wordpress.org/support/topic/https-changing-to-http-2/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/https-changing-to-http-2/#post-12066587)
 * constants can also be used by some plugins .. disable all plugins and if you 
   go back to https tell this to the plugin developer.
 * here are listed all the methods to modify the url. [https://wordpress.org/support/article/changing-the-site-url/](https://wordpress.org/support/article/changing-the-site-url/)

Viewing 15 replies - 376 through 390 (of 706 total)

[←](https://wordpress.org/support/users/autotutorial/replies/page/25/?output_format=md)
[1](https://wordpress.org/support/users/autotutorial/replies/?output_format=md) 
[2](https://wordpress.org/support/users/autotutorial/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/autotutorial/replies/page/3/?output_format=md)…
[25](https://wordpress.org/support/users/autotutorial/replies/page/25/?output_format=md)
26 [27](https://wordpress.org/support/users/autotutorial/replies/page/27/?output_format=md)…
[46](https://wordpress.org/support/users/autotutorial/replies/page/46/?output_format=md)
[47](https://wordpress.org/support/users/autotutorial/replies/page/47/?output_format=md)
[48](https://wordpress.org/support/users/autotutorial/replies/page/48/?output_format=md)
[→](https://wordpress.org/support/users/autotutorial/replies/page/27/?output_format=md)