Title: autotutorial's Replies - page 32 | 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 - 466 through 480 (of 706 total)

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [502 Bad Gateway Error after trying to install SSL](https://wordpress.org/support/topic/502-bad-gateway-error-after-trying-to-install-ssl/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/502-bad-gateway-error-after-trying-to-install-ssl/#post-11650360)
 * NET::ERR_CERT_COMMON_NAME_INVALID this error indicates that you have wrong the
   name for the certificate domain, it had to be without initial www or If you add
   www to the url of your site, the certificate is valid, so it is very likely he
   was wrong for configuration on nginx [https://letsencrypt.org/docs/faq/](https://letsencrypt.org/docs/faq/)
   
   [https://certbot.eff.org/glossary#wildcard-certificate](https://certbot.eff.org/glossary#wildcard-certificate)
   wildcard for all subdomain but not for domain.td
 * If you add www to the url of your site, the certificate is valid, so it is very
   likely that you are mistaken for configuration on ngix
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [localhost/wordpress Not Found while setting up wordpress locally](https://wordpress.org/support/topic/localhost-wordpress-not-found-while-setting-up-wordpress-locally/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/localhost-wordpress-not-found-while-setting-up-wordpress-locally/#post-11644911)
 * If you check the file on your pc info.php inside the var folder and inside the
   www folder exists?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Missing Temporary File and other errors](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/#post-11644279)
 * it depends on the owner of folders and files, via ftp or with my code it shows
   you the numbers that indicate the owner … The second method can be uncertain.
   
   Then check from the root until you get wp-content if the owner number is the 
   same. syntax of the POSIX system UGO. U for owner (user) G for group (group user)
   O for other (other user) If it works, leave it like this .. so you have also 
   changed good owner. [https://en.wikipedia.org/wiki/Chmod#Special_modes](https://en.wikipedia.org/wiki/Chmod#Special_modes)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Troubleshooting multisite media urls](https://wordpress.org/support/topic/troubleshooting-custom-media-urls/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/troubleshooting-custom-media-urls/#post-11643059)
 * [https://wordpress.org/support/topic/blogs-dir-in-wp-above-3-5/#post-11609699](https://wordpress.org/support/topic/blogs-dir-in-wp-above-3-5/#post-11609699)
   
   [https://wordpress.org/support/article/multisite-network-administration/#uploaded-file-path](https://wordpress.org/support/article/multisite-network-administration/#uploaded-file-path)
 * By setting the network it is possible to choose the upload folder, whether to
   use the year-month folders and where to display the images.
    before any action
   a back-up of the files via ftp and the database is required. If you have checked
   that the back-ups are working, you can use one of the plugins to modify the old
   URLs in the new ones, never any changes by hand as the plugins may have serialized
   the paths into wordpress objects. [https://wordpress.org/support/article/moving-wordpress/#changing-your-domain-name-and-urls](https://wordpress.org/support/article/moving-wordpress/#changing-your-domain-name-and-urls)
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Error establishing database connection – how to proceed now](https://wordpress.org/support/topic/error-establishing-database-connection-how-to-proceed-now/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-establishing-database-connection-how-to-proceed-now/#post-11643009)
 * sorry we are creating confusion.
    If you don’t have phpmyadmin installed please
   install it. This is an exhaustive guide to creating the database and the user
   with the privileges suitable for wordpress. In the field host: create the user
   with local and not `ANY HOST`. [https://wordpress.org/support/article/creating-database-for-wordpress/#using-phpmyadmin](https://wordpress.org/support/article/creating-database-for-wordpress/#using-phpmyadmin)
 * Now after selecting a user other than root and clicking your database WordPress,
   repeat the two sql instructions and report the result without a password example
 *     ```
       Grants for root@localhost
       GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*######' WITH GRANT OPTION
       GRANT PROXY ON "@" TO 'root'@'localhost' WITH GRANT OPTION'
       ```
   
 * 😉 … even the port.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [I can not edit my page after i install ssl certificate](https://wordpress.org/support/topic/i-can-not-edit-my-page-after-i-install-ssl-certificate/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/i-can-not-edit-my-page-after-i-install-ssl-certificate/#post-11640957)
 * This error ERR_SPDY_PROTOCOL_ERROR It depends on the type of certificate, if 
   you use http2 and use an outdated browser.
    Update your browser, try chrome’s
   incognito mode if the problem is solved, otherwise open only one page on [http://www.google.com](http://www.google.com)
   and delete your browser’s cookies and cache, close the page, switch off and switch
   on your device. If you still have this problem, talk to your hosting provider
   who offers the certificate. It is not a speech for wordpress since the core WordPress
   uses is_ssl and only if it matches in $_SERVER[‘HTTPS’] // On or 1 Or $_SERVER[‘
   SERVER_PORT’] // 443 is https for WordPress. [SSL SERVER TEST](https://www.ssllabs.com/ssltest/analyze.html?d=nvwolfstore.com)
   [SSL CLIENT TEST](https://www.ssllabs.com/ssltest/viewMyClient.html)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [v5.2.1 Warning RE: mysqli::__construct(): (HY000/1045): Access denied for user ‘](https://wordpress.org/support/topic/v5-2-1-warning-re-mysqli__construct-hy000-1045-access-denied-for-user/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/v5-2-1-warning-re-mysqli__construct-hy000-1045-access-denied-for-user/#post-11639718)
 * did you create your user (for external wordpress) without `any host`? (so only
   the local user).
    What user permissions do you have for that database? You can
   use WordPress debug mode if it works ini_set on your server. Add this before 
   require_once on wp-config.php
 *     ```
       define( 'WP_DEBUG', true );
       define( 'WP_DEBUG_DISPLAY', true );
       define( 'WP_DEBUG_LOG', true );
       ```
   
 * default file log is /wp-content/debug.log
    also if you don’t work with the object
   $wpdp which shows the error info only when WP_DEBUG is enabled and the latter
   works only if you can use ini_set or with external connections to the WordPress
   $wpdb object if you anticipate errors from your php code (as in this case). you
   can check the user who successfully logs in even in sql. `SHOW GRANTS CURRENT_USER;`
 * if the user is with the right permissions and is authorized to access the database
   externally I would activate the debug only after creating the page before clicking
   edit and then click on edit and I immediately go to check the debug log .. customize
   the error from your script so as not to create ambiguity between the user $wpdb
   object wordpress and the external user database. 😉
    [https://www.php.net/manual/en/mysqli.connect-error.php](https://www.php.net/manual/en/mysqli.connect-error.php)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Apache Virtual Hosts file for WP Multisite](https://wordpress.org/support/topic/apache-virtual-hosts-file-for-wp-multisite/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/apache-virtual-hosts-file-for-wp-multisite/#post-11638397)
 * wordpress does nothing more than join the main or secondary site you set in your
   dns
    If you need different error_log or access log for different domains, the
   choice is yours.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Apache Virtual Hosts file for WP Multisite](https://wordpress.org/support/topic/apache-virtual-hosts-file-for-wp-multisite/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/apache-virtual-hosts-file-for-wp-multisite/#post-11635986)
 * Jolly [https://letsencrypt.org/docs/faq/](https://letsencrypt.org/docs/faq/)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Apache Virtual Hosts file for WP Multisite](https://wordpress.org/support/topic/apache-virtual-hosts-file-for-wp-multisite/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/apache-virtual-hosts-file-for-wp-multisite/#post-11635844)
 * If your dns is on a single ip address (for the main domain and subdomain).
    [https://httpd.apache.org/docs/2.4/vhosts/examples.html](https://httpd.apache.org/docs/2.4/vhosts/examples.html)
   For (SSL) load balancing or reverse proxy [https://httpd.apache.org/docs/2.2/mod/core.html#servername](https://httpd.apache.org/docs/2.2/mod/core.html#servername)
   mod_ssl version with SNI support (standard in Apache releases since 2.2.12). 
   Jolly * (ServerAlias) [https://httpd.apache.org/docs/2.2/vhosts/name-based.html#using](https://httpd.apache.org/docs/2.2/vhosts/name-based.html#using)
 *     ```
       Listen 172.20.30.40:80
       Listen 172.20.30.40:443
       <VirtualHost 172.20.30.40:80>
           DocumentRoot "/www/example1-80"
           ServerName http://www.example.com:80
       </VirtualHost>
   
       <VirtualHost 172.20.30.40:443>
           DocumentRoot "/www/example1-443"
           ServerName https://www.example.com:443
       </VirtualHost>
       ```
   
 * request the certificate from the domain [http://www.example.com](http://www.example.com)
   and add *. for any subdomain.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Missing Temporary File and other errors](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/#post-11631561)
 * sorry, I thought you knew the programming, my mistake, forgive me.
 * I’ll give you an example, I install wordpress in a subdirectory named wp.
    my
   absolute local path is `/home/username/www/wp/` then the ABSPATH constant was
   created to avoid ambiguously in the path of where wordpress resides. `define('
   ABSPATH',dirname(__FILE__).'/');` This is the same as the first path I wrote 
   if wp-config.php or wp-settings.php is located in the wp directory.
 * the correct code for the temp directory inside wp-content is
    `define('WP_TEMP_DIR',
   dirname(__FILE__).'/wp-content/temp');` try setting the right permissions:
 * > Read 4 – Allowed to read files
   >  Write 2 – Allowed to write/modify files eXecute1–
   > Read/write/delete/modify/directory
 * > [Changing File Permissions](https://wordpress.org/support/article/changing-file-permissions/)
 * Then try setting the wp-content folder and the temporary folder to 777.
    If it
   works for you we have to do other tests to understand how to limit the permissions
   🙂
 * you must also verify the owner file WordPress (wp-settings.php, /wp-content/ 
   etc..) and therefore request support for your hosting for this.
    Create test.
   php into folder WordPress
 *     ```
       <?php
       $a[] = fileowner(dirname(__FILE__).'/');
       clearstatcache();
       $a[] = fileowner(dirname(__FILE__).'/wp-settings.php');
       clearstatcache();
       $a[] = fileowner(dirname(__FILE__).'/wp-content/');
       clearstatcache();
       print_r($a);
       ```
   
 * This number is equal?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multisite – My sites/Dashboard vs View Site https/http discrepancies](https://wordpress.org/support/topic/multisite-my-sites-dashboard-vs-view-site-https-http-discrepancies/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/multisite-my-sites-dashboard-vs-view-site-https-http-discrepancies/#post-11631000)
 * so if I understand correctly you have a multisite installation on subdomain.
   
   The first thing I would do is check if your hosting actually creates the HTTPS
   variable. Create test.php with this code
 *     ```
       <?php
       if(!isset($_SERVER['HTTPS'])){
       $_SERVER['HTTPS'] = "Don't exists";
       }
       echo $_SERVER['HTTPS'];
       ```
   
 * Run with http and https your main domain or subdomain.
    I don’t know if you encounter
   problems when editing secondary sites from your network.
 * it is likely that the HTTPS variable does not exist on the subdomains and therefore
   you cannot redirect.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Missing Temporary File and other errors](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/#post-11630548)
 * What permissions do you have in the wp-content folder?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Missing Temporary File and other errors](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/#post-11630234)
 * instead you’re wrong the error comes from the plugin not from wordpress core.
   
   It may be that other plugins or themes conflict with plugin Custom Sidebars. 
   Backup your files and your database, then try disabling the plugin Custom Sidebars.
   if everything works and you don’t find errors it means that it is the plugin 
   that creates the defect.
 * Note* From the error list you must first resolve the first error the file is 
   not accessible or non-existent (all other errors are derived from the first error).
 * `define('WP_TEMP_DIR','/home/username/www/wp-content/temp');`
    or `define('WP_TEMP_DIR',
   dirname(__FILE__).'/wp-content/temp');`
 * However this code normally overrides the default folder in one you defined.
    
   because it doesn’t work I don’t know. [https://developer.wordpress.org/reference/functions/get_temp_dir/](https://developer.wordpress.org/reference/functions/get_temp_dir/)
 *     ```
       $temp = WP_CONTENT_DIR . '/';
           if ( is_dir( $temp ) && wp_is_writable( $temp ) ) {
               return $temp;
           }
   
           return '/tmp/';
       ```
   
 * [https://github.com/WordPress/WordPress/blob/master/wp-includes/default-constants.php#L71](https://github.com/WordPress/WordPress/blob/master/wp-includes/default-constants.php#L71)
   
   WP_CONTENT_DIR I read this code will have the value of ABSPATH (root wordpress)
   wp-content for $temp = ABSPATH.’wp-content’.’/’ if it is a directory and writable
   return this otherwise /tmp/
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Missing Temporary File and other errors](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/missing-temporary-file-and-other-errors/#post-11628855)
 * Hi, the error comes from a plugin.
    write in the plugin support area. [https://wordpress.org/support/plugin/custom-sidebars](https://wordpress.org/support/plugin/custom-sidebars)

Viewing 15 replies - 466 through 480 (of 706 total)

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