Title: autotutorial's Replies - page 43 | 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 - 631 through 645 (of 706 total)

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [mysql PHP7.X Update](https://wordpress.org/support/topic/mysql-php7-x-update/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/mysql-php7-x-update/#post-11519489)
 * Please prove test [https://wordpress.org/support/topic/updated-php-from-5-6-3-to-7-2-18-into-wp-5-1-1/#post-11507026](https://wordpress.org/support/topic/updated-php-from-5-6-3-to-7-2-18-into-wp-5-1-1/#post-11507026)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Uncaught Error: Undefined class constant ‘BUFFER_SIZE’](https://wordpress.org/support/topic/fatal-error-uncaught-error-undefined-class-constant-buffer_size/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-undefined-class-constant-buffer_size/#post-11518250)
 * read all about this guide.
    [https://wordpress.org/support/topic/read-this-first-wordpress-5-2-master-list/](https://wordpress.org/support/topic/read-this-first-wordpress-5-2-master-list/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Wp_recovery_mode() – PHP Fatal Error](https://wordpress.org/support/topic/wp_recovery_mode-php-fatal-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/wp_recovery_mode-php-fatal-error/#post-11518249)
 * read all about this guide.
    [https://wordpress.org/support/topic/read-this-first-wordpress-5-2-master-list/](https://wordpress.org/support/topic/read-this-first-wordpress-5-2-master-list/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Media Folders on the Server](https://wordpress.org/support/topic/media-folders-on-the-server/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/media-folders-on-the-server/#post-11515578)
 * [https://wordpress.org/plugins/media-library-plus/](https://wordpress.org/plugins/media-library-plus/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Uncaught Error: Undefined class constant ‘BUFFER_SIZE’](https://wordpress.org/support/topic/fatal-error-uncaught-error-undefined-class-constant-buffer_size/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-undefined-class-constant-buffer_size/#post-11514684)
 * [https://wordpress.org/about/requirements/](https://wordpress.org/about/requirements/)
   
   Use php 5.6.20+?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [The requested URL /wp-admin/null was not found on this server error](https://wordpress.org/support/topic/the-requested-url-wp-admin-null-was-not-found-on-this-server-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/the-requested-url-wp-admin-null-was-not-found-on-this-server-error/#post-11514650)
 * always make backups of files and databases before any changes are made
    [https://codex.wordpress.org/WordPress_Backups](https://codex.wordpress.org/WordPress_Backups)
 * also changing the scheme the url is modified and consequently it changes in general
   settings and with the help of a plugin you change the url of the posts, articles
   in https
    [https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs](https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs)
   Example old url [http://old_domain.com/](http://old_domain.com/) with plugin 
   search and replace it without end slash [https://old_domain.com](https://old_domain.com)
   the prefix www. it also makes a difference in a url context.
 * Here we are now finished. 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Wp_recovery_mode() – PHP Fatal Error](https://wordpress.org/support/topic/wp_recovery_mode-php-fatal-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/wp_recovery_mode-php-fatal-error/#post-11514415)
 * [@cary42](https://wordpress.org/support/users/cary42/) Sorry can you provide 
   more information? Are you still on some cache? cache plugin, cache your hosting,
   CDN cache? Sometimes disabling or deleting a plugin is not enough, it may be 
   that it is executed by the database and it is a good idea to check the source
   of the page to be sure that there is no reference to the plugin name, in this
   case contact the author of the plugin using the special support channel.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [The requested URL /wp-admin/null was not found on this server error](https://wordpress.org/support/topic/the-requested-url-wp-admin-null-was-not-found-on-this-server-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/the-requested-url-wp-admin-null-was-not-found-on-this-server-error/#post-11514244)
 * This procedure is good for installations from wordpress.org otherwise asking 
   your hosting if the use of the CloudFlare plugin can break the site.
    1a)If you
   have already requested the certificate with Flexible SSL, it will be created 
   within 48 hours, making sure you have selected Flexible SSL. 1b)Download and 
   activate the Cloudflare plugin 2)Set off the automatic rewrites, always use https,
   Create PageRule to exclude WordPress’ dashboard from Cloudflare. 3)Follow the
   steps in “Use Cloudflare’s SSL certificate on your site.” Except for setting 
   the port to 443, Flexible SSL plugin and create a Page Rule to redirect all traffic
   from HTTP to HTTPS 4)
 *     ```
       RewriteEngine On
       RewriteBase /
       RewriteCond %{HTTP:X-Forwarded-Proto} !https
       RewriteRule [^/]? https://yourdomain.com%{REQUEST_URI} [R=301,L]
       ```
   
 * Obviously first you have to change the url in https from general settings.
    Your
   site now use always https.
 * If something goes wrong to go back to http you need to remove the `define('FORCE_SSL_ADMIN',
   true);`
    Add the define of home and site in wp-confing.php and delete the htaccess
   rule for rewriting in https without disable or delete the plugin
 * *Note The universal certificate only works on browsers with SNI support.
    -  This reply was modified 7 years 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_recovery_mode() – PHP Fatal Error](https://wordpress.org/support/topic/wp_recovery_mode-php-fatal-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/wp_recovery_mode-php-fatal-error/#post-11513739)
 * the http 500 error is due to the mentioned function but you have to understand
   why .. Rather than imagine a wrong wordpress code I imagine that there is some
   conflict with theme or plugin.
    You have not disabled all plugins, the site is
   currently served with wp-fastest-cache.
 * [https://wordpress.org/support/plugin/wp-fastest-cache/](https://wordpress.org/support/plugin/wp-fastest-cache/)
   Ask how to clear the cache.
 * now I see wp-admin correctly
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Wp_recovery_mode() – PHP Fatal Error](https://wordpress.org/support/topic/wp_recovery_mode-php-fatal-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/wp_recovery_mode-php-fatal-error/#post-11512583)
 * Backup your files and database [https://codex.wordpress.org/WordPress_Backups](https://codex.wordpress.org/WordPress_Backups)
   
   If the url has changed you have to change the url in the new installation [https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs](https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs)(
   Not touch other except Dashboard, wp-config.php or database [https://codex.wordpress.org/Changing_The_Site_URL](https://codex.wordpress.org/Changing_The_Site_URL)).
   Please only Dashboard, wp-config.php or database. Then, with a plugin, it changes
   the URL of the post,article etc.. follow the link indicated don’t go ahead if
   you can’t do backups.
 * If you use a cache plugin try disabling it from ftp wp-contens/plugin/yuorplugin/,
   or database
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [The requested URL /wp-admin/null was not found on this server error](https://wordpress.org/support/topic/the-requested-url-wp-admin-null-was-not-found-on-this-server-error/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/the-requested-url-wp-admin-null-was-not-found-on-this-server-error/#post-11512159)
 * Ask your hosting for more information on CloudFlare, some even change wordpress
   to match cloudflare. This applies only if you do not download wordpress from 
   wordpress.org. To avoid the loop problem, download the CloudFlare plugin [https://wordpress.org/plugins/cloudflare/](https://wordpress.org/plugins/cloudflare/)
   so you will also have http2/server push if enabled through constant routes in
   the wp-config.php file.
    Cloudflare (if Universal SSL is enable) sends a header
   indicating to use http or https so you can simply set the redirect to .htaccess
   because the cloudflare server can be bypassed
 *     ```
       RewriteEngine On
       RewriteBase /
       RewriteCond %{HTTP:X-Forwarded-Proto} !https
       RewriteRule [^/]? https://yourdomain.com%{REQUEST_URI} [R=301,L]
       ```
   
 * Now set Off Automatic Rules.
    (If you use Flexible SSL your visitors can access
   your site in https but CoudFlare communicates in http with the origin server).
 * I would create a rule of never storing the cache of /wp-admin/
    [https://jetpack.com/support/getting-started-with-jetpack/configure-jetpack-cloudflare/](https://jetpack.com/support/getting-started-with-jetpack/configure-jetpack-cloudflare/)*
   Do not install Cloudflare Flexible SSL because you already use the Cloudflare
   plugin (which creates the variable $_SERVER[‘HTTPS’] = ‘on’; ) , do not add $
   _SERVER[‘SERVER_PORT’] = 443 because the port should be changed only when the
   Cloudflare header is on https.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Getting Turkish alphabet characters in the URL field in webbrowser](https://wordpress.org/support/topic/getting-turkish-alphabet-characters-in-the-url-field-in-webbrowser/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/getting-turkish-alphabet-characters-in-the-url-field-in-webbrowser/#post-11508596)
 * internationalized Domain Name [https://www.php.net/manual/tr/function.idn-to-ascii.php](https://www.php.net/manual/tr/function.idn-to-ascii.php)
   
   internationalized Path [https://en.wikipedia.org/wiki/URL](https://en.wikipedia.org/wiki/URL)
   Any utf-8 character that does not cover the characters available in the path 
   will be converted to %HH percent-enconding.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Updated PHP from 5.6.3 to 7.2.18 into WP 5.1.1](https://wordpress.org/support/topic/updated-php-from-5-6-3-to-7-2-18-into-wp-5-1-1/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/updated-php-from-5-6-3-to-7-2-18-into-wp-5-1-1/#post-11507026)
 * can you create a file called test.php?
 *     ```
       <?php
       if(!function_exists('mysql_connect')){
       echo 'absent or non-enabled mysql library';
       }
       if(!function_exists('mysqli_connect'))(
       echo 'absent or non-enabled mysqli library';
       }
       ?>
       ```
   
 * now you just need to call it from a browser [http://www.yuordomain.com/test.php](http://www.yuordomain.com/test.php)
   
   Check if the mysqli library exists in the path ext/mysqli
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multisite (single database) in subdirectories with different domain names](https://wordpress.org/support/topic/multisite-single-database-in-subdirectories-with-different-domain-names/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/multisite-single-database-in-subdirectories-with-different-domain-names/#post-11506866)
 * [https://domain3.com/wp-login.php?redirect_to=https%3A%2F%2Fdomain3.com%2Fwordpress%2Fwp-admin%2F&reauth=1](https://domain3.com/wp-login.php?redirect_to=https%3A%2F%2Fdomain3.com%2Fwordpress%2Fwp-admin%2F&reauth=1)
   
   Yes this is right. With the variable $_SERVER[‘HTTP_HOST’] it is not safe but
   with the empty value in the define it is safe.
 * I looked at the source code for subdirectory installations the DOMAIN_COOKIE 
   does not seem important for the multisite subdirectory and normal installation
   constants but in the network.php if the www prefix is ​​present. it will be expanded
   to the root of the domain example [http://www.domain.com](http://www.domain.com)
   will be set for .domain.com (it will be visible on any subdomain) therefore it
   is better to set the define also with empty value.
 *     ```
       define( 'WP_ALLOW_MULTISITE', true );
   
       define('MULTISITE', true);
       define('SUBDOMAIN_INSTALL', false);
       define('DOMAIN_CURRENT_SITE', 'www.domain1.com');
       define('PATH_CURRENT_SITE', '/wordpress/');
       define('SITE_ID_CURRENT_SITE', 1);
       define('BLOG_ID_CURRENT_SITE', 1);
       ```
   
 *     ```
       define('COOKIEPATH','');
       define('SITECOOKIEPATH','');
       define('ADMIN_COOKIE_PATH','');
       define('COOKIE_DOMAIN','');
       ```
   
 * The multisite creates other tables in the dababase like wp_x_options where x 
   does not necessarily have to be an incremental number COOKIEPATH should be the
   home, SITECOOKIEPATH site also for non multisite installations obviously the 
   table for the latter is wp_options. I put the empty value on ADMIN_COOKIE_PATH
   should be the value of SITECOOKIEPATH for multisite installations subdirectory
   otherwise it is SITECOOKIEPATHwp-admin.
 * You have the network on the wordpress folder and this cookie should be in the
   wordpress folder while for mapped sites it depends on whether it is in root or
   other folders.I offer no guarantee on direct or indirect malfunctions, these 
   are only reflections of these codes.
    [https://github.com/WordPress/WordPress/blob/master/wp-includes/ms-default-constants.php#L50](https://github.com/WordPress/WordPress/blob/master/wp-includes/ms-default-constants.php#L50)
   [https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-network.php#L299](https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-network.php#L299)
   [https://github.com/WordPress/WordPress/blob/master/wp-includes/default-constants.php#L219](https://github.com/WordPress/WordPress/blob/master/wp-includes/default-constants.php#L219)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multisite (single database) in subdirectories with different domain names](https://wordpress.org/support/topic/multisite-single-database-in-subdirectories-with-different-domain-names/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [7 years ago](https://wordpress.org/support/topic/multisite-single-database-in-subdirectories-with-different-domain-names/#post-11502721)
 * in the network folder, only the super administrator can access, while all other
   roles are considered unreliable and therefore access as if they were not on multisite.
   
   This for Super Admin [https://domain1.com/wordpress/wp-admin/network/site-info.php?id=7](https://domain1.com/wordpress/wp-admin/network/site-info.php?id=7)
   This for Admin for domain3 [https://domain3.com/wp-admin/](https://domain3.com/wp-admin/)(
   without wordpress directory).

Viewing 15 replies - 631 through 645 (of 706 total)

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