Title: autotutorial's Replies - page 28 | 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 - 406 through 420 (of 706 total)

[←](https://wordpress.org/support/users/autotutorial/replies/page/27/?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)…
[27](https://wordpress.org/support/users/autotutorial/replies/page/27/?output_format=md)
28 [29](https://wordpress.org/support/users/autotutorial/replies/page/29/?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/29/?output_format=md)

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin Development PHP Error](https://wordpress.org/support/topic/plugin-development-php-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/plugin-development-php-error/#post-12047982)
 *     ```
       $arr['notexist'];
       // inizialize empty array
       $arr = array();
       // array with any value
       $arr['notexist'] = 1;
       ```
   
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Redirect old URL with .htaccess?](https://wordpress.org/support/topic/redirect-old-url-with-htaccess/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/redirect-old-url-with-htaccess/#post-12047273)
 * > But it causes a new issue:
   >  All old URLs used to redirect to / or [http://www.domain.com/](http://www.domain.com/)
   > Now, all not in .htaccess included old URLs are a 404-Error.
 * I’m sorry for your problem.
    If you use this .haccess code [https://wordpress.org/support/topic/redirect-old-url-with-htaccess/#post-12046441](https://wordpress.org/support/topic/redirect-old-url-with-htaccess/#post-12046441)
 *     ```
       RewriteRule ^index\.php$ – [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       ```
   
 * it means if I am in index.php I do not show this file otherwise if it is not 
   a file nor a valid directory I go to (internally) index.php to manage this behavior,
   simplifying this file executes the Pretty Permalink. more info here. [https://codex.wordpress.org/Rewrite_API/add_rewrite_rule](https://codex.wordpress.org/Rewrite_API/add_rewrite_rule).
 * What code did you add to your .htaccess file? Are you using Ugly Permalink?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [I MIGHT have fixed the infamous ob_end_flush error?](https://wordpress.org/support/topic/i-might-have-fixed-the-infamous-ob_end_flush-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/i-might-have-fixed-the-infamous-ob_end_flush-error/#post-12046834)
 * From php 7 the errors are transformed into exceptions, the use of the @ error
   control operator hides the error by temporarily lowering error_reporting to 0.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Redirect old URL with .htaccess?](https://wordpress.org/support/topic/redirect-old-url-with-htaccess/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/redirect-old-url-with-htaccess/#post-12046441)
 *     ```
       # enforce https
       <IfModule mod_rewrite.c>
       RewriteEngine On
   
       RewriteCond %{HTTPS} =off
       RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
       RewriteCond %{REQUEST_URI} ^/index.php
       RewriteCond %{QUERY_STRING} task=listcats&cat_id=99&Itemid=52&option=com_mtree
       RewriteRule ^ "/information/about-us/?" [R=301,L]
   
       </IfModule>
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ – [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
   
       # deny acces to /xmlrpc.php
       <Files xmlrpc.php>
       Order allow,deny
       Deny from all
       </Files>
       ```
   
 * I removed the QSA flag because the REQUEST_URI variable should contain the query
   string. If it is http I take it in https, if it is on the index.php file and 
   with the right query string then I transform it into another url with loss of
   query string. If you use APACHE => 2.4 instead of the question mark enter the
   flag QSD.
    -  This reply was modified 6 years, 7 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: [Rest API diagnostic error](https://wordpress.org/support/topic/rest-api-diagnostic-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-diagnostic-error/#post-12043701)
 * perform until the third steep [https://wordpress.org/support/topic/no-results-in-media-search/#post-12043004](https://wordpress.org/support/topic/no-results-in-media-search/#post-12043004)
   without
    `$show_errors = true;` Curls on other domains? Does it also work for
   https? (the last message indicates the expiration of the certificate …. https
   in use) Create test.php
 *     ```
       <?php
       Undefined_constant;
       $var_error[] = (int) error_get_last();
       function ABC() {
       set_error_handler('var_dump',0);
       return;
       }
       ABC();
       $var_error[] = (int) error_get_last();
       print_r($var_error);
   
       //Your code curl with HTTPS and curl erno here
       ```
   
 * WordPress 5.2 have WSOD protection only if error_get_last() work.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem setting up proxy server](https://wordpress.org/support/topic/problem-setting-up-proxy-server/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problem-setting-up-proxy-server/#post-12043212)
 * You need to bypass host wordpress.org are you the owner of wordpress.org? If 
   you are not, your proxy cannot connect to it (the destination server must be 
   prepared for the proxy otherwise it will not work)
    Wildcards [https://techjourney.net/how-to-enable-use-proxy-server-for-wordpress-to-connect-internet/](https://techjourney.net/how-to-enable-use-proxy-server-for-wordpress-to-connect-internet/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [No results in media search](https://wordpress.org/support/topic/no-results-in-media-search/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/no-results-in-media-search/#post-12043004)
 * I asked for more information to understand how you were working ..
    no you don’t
   have to change the values but I have to understand how you work. Make sure you
   backup your files and database 1) [https://wordpress.org/support/article/wordpress-backups/](https://wordpress.org/support/article/wordpress-backups/)
 * 2) Enable log_errors = on in your php.ini
 * 3) in the wp-config.php file if this is not enable
 *     ```
       define( 'WP_DEBUG', true );
       define( 'WP_DEBUG_LOG', true );
       // From WordPress => 5.1 you set the directory log, change with new locations
       // Ex. define( 'WP_DEBUG_LOG', '/tmp/wp-errors.log' );
       // Enable show error database
       $show_errors = true;
       ```
   
 * More information here [https://wordpress.org/support/article/debugging-in-wordpress/](https://wordpress.org/support/article/debugging-in-wordpress/)
 * 4) Confirm that you are not editing the uploads folder with this constant via
   wp-config.php / plugin or your theme? [https://wordpress.org/support/article/editing-wp-config-php/#moving-uploads-folder](https://wordpress.org/support/article/editing-wp-config-php/#moving-uploads-folder)
 * 5) What encoding are you using in the database and in your php?
 * 6) Returning to your problem again, WordPress only treats strings without special
   characters because it is difficult to manage them
    On some hosts special characters
   give problems * 1 (folder or filename) * 2 search by filename is of natural conventions
   naming file * 3 Json (api rest only requires valid UTF-8 data).
 * Ex. for file name Auswahl einschränken.jpg
    Search Media library in gred view(
   without errors … Notice, Warnings PHP etc.) Auswahl einschränken `https://domain.
   com/wp-admin/upload.php?search=Auswahl+einschr%C3%A4nken` Percent Enconding ,
   query string [https://en.m.wikipedia.org/wiki/Percent-encoding](https://en.m.wikipedia.org/wiki/Percent-encoding)
 * Theoretically this is the right way to search for the file even if I have to 
   understand the functions and objects involved in WordPress.
    Where can I find
   the documentation for the filter_action filter?
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [database connection details](https://wordpress.org/support/topic/database-connection-details-4/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/database-connection-details-4/#post-12041074)
 * > [Creating Database for WordPress](https://wordpress.org/support/article/creating-database-for-wordpress/)
 * 
    Use localhost Note* Phpmyadmin use Local value for field host.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [No results in media search](https://wordpress.org/support/topic/no-results-in-media-search/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/no-results-in-media-search/#post-12040957)
 * Can you check version.php and specify the wordpress release version and the minimum
   php version?
    I suppose you are not currently using the latest version of wordpress
   so you have to set php to a minimum … By Default wordpress from 3.0 creates an
   uploads folder, why do you use img?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Error failed to send buffer of zlib output compression (1)](https://wordpress.org/support/topic/error-failed-to-send-buffer-of-zlib-output-compression-1/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-failed-to-send-buffer-of-zlib-output-compression-1/#post-12039496)
 * Read this [https://stackoverflow.com/questions/38693992/notice-ob-end-flush-failed-to-send-buffer-of-zlib-output-compression-1-in](https://stackoverflow.com/questions/38693992/notice-ob-end-flush-failed-to-send-buffer-of-zlib-output-compression-1-in)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Notice 24 & Fatal Error | Site is Completely Down](https://wordpress.org/support/topic/notice-24-fatal-error-site-is-completely-down/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/notice-24-fatal-error-site-is-completely-down/#post-12039321)
 * You have this code on your wp-includes/default-constants.php ? [https://github.com/WordPress/WordPress/blob/master/wp-includes/default-constants.php#L311](https://github.com/WordPress/WordPress/blob/master/wp-includes/default-constants.php#L311)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress site with some strange behaviors](https://wordpress.org/support/topic/wordpress-site-with-some-strange-behaviors/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/wordpress-site-with-some-strange-behaviors/#post-12038677)
 * [https://www.php.net/manual/en/ini.core.php#ini.default-charset](https://www.php.net/manual/en/ini.core.php#ini.default-charset)
   and [https://www.php.net/manual/en/function.htmlspecialchars.php](https://www.php.net/manual/en/function.htmlspecialchars.php)
   from PHP 5.6 default_charset is changed on UTF-8 if your database is LATIN-1 
   use < PHP 5.4.
    before this operation it backs up the database and files. [https://wordpress.org/support/article/wordpress-backups/](https://wordpress.org/support/article/wordpress-backups/)
   WordPress (3.2 – 5.1) required minum PHP 5.2.4 exetend update for two minor update
   [https://wordpress.org/support/article/upgrading-wordpress-extended-instructions/](https://wordpress.org/support/article/upgrading-wordpress-extended-instructions/)
   stop for WordPress 5.1. Now set PHP => 5.6.2 and click automatic update.
    -  This reply was modified 6 years, 7 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
    -  This reply was modified 6 years, 7 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: [Plugin Conflict](https://wordpress.org/support/topic/unable-to-communicate-2/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/unable-to-communicate-2/#post-12018790)
 * probably ini_set is disabled for security you can modify wp-includes / load.php
   at your own risk as follows … you only get the error page.
 * Before [https://github.com/WordPress/WordPress/blob/master/wp-includes/load.php#L309](https://github.com/WordPress/WordPress/blob/master/wp-includes/load.php#L309)
 *     ```
       if(!isset($PHP_SELF)) {
       $PHP_SELF = '';
       }
       ```
   
 * After
    `global $PHP_SELF;`
 * After [https://github.com/WordPress/WordPress/blob/master/wp-includes/load.php#L345](https://github.com/WordPress/WordPress/blob/master/wp-includes/load.php#L345)
 *     ```
       if(!(strtolower((string) @ini_get('log_errors')) == 'on' || (string) @ini_get('log_errors') == '1' )) {
       if (!function_exists('wp_fix_server_vars')) {
       require_once ABSPATH . WPINC .'/load.php';
       }
       wp_fix_server_vars();
       error_log("you have a error here $PHP_SELF\n",3,$log_path);
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Website Category Leading To White Page Of Death / Error 524](https://wordpress.org/support/topic/website-category-leading-to-white-page-of-death-error-524/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/website-category-leading-to-white-page-of-death-error-524/#post-12017695)
 * My pleasure [https://wordpress.org/support/article/wordpress-backups/](https://wordpress.org/support/article/wordpress-backups/)
   for info backup
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Website Category Leading To White Page Of Death / Error 524](https://wordpress.org/support/topic/website-category-leading-to-white-page-of-death-error-524/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/website-category-leading-to-white-page-of-death-error-524/#post-12017678)
 * the link that I left you clocks there are two plugins for the multimedia library
   and since I don’t see you convinced before any modification you make backups 
   of the ftp files and the mysql database in case of error you can return to the
   starting point.

Viewing 15 replies - 406 through 420 (of 706 total)

[←](https://wordpress.org/support/users/autotutorial/replies/page/27/?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)…
[27](https://wordpress.org/support/users/autotutorial/replies/page/27/?output_format=md)
28 [29](https://wordpress.org/support/users/autotutorial/replies/page/29/?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/29/?output_format=md)