autotutorial
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Replace images correctlyI replaced a file, but it didn’t change!
There are two main reasons this would happen.First, make sure you are not viewing a cached version of the file, especially if you replaced an image. Press “Refresh” in your browser to make sure.
Second, if the file really looks unchanged, make sure WordPress has write permissions to the files in your uploads folder. If you have ever moved your WP installation (maybe when you moved it to a new server), the permissions on your uploaded files are commonly reset so that WordPress no longer has permissions to change the files. If you don’t know how to do this, contact your web server operator.
Support here https://wordpress.org/support/plugin/enable-media-replace/
Forum: Fixing WordPress
In reply to: uploading media errorotherwise you have to check if from the wordpress installation folder and all subsequent folders have the same property … in an ftp client it translates into the registered always the same number for the owner.
If all the folders and files have the same number you need larger permissions or you have to change the owner to all the folders or files if php wants to be the owner ..
Surely your hosting company knows how php works and who should be the owner … Ask them for support is not a WordPress problem.in the case of reinstallation, reference is made to what is necessary to complete backup of the files and databases. Then having deleted each folder, files on your server, otherwise not work with true permissions.
Forum: Developing with WordPress
In reply to: Problems with timezone when using new function wp_date()@guido07111975 sorry I had forgotten, that you are using wp_date correctly.
Edit is not recommended to set globally rather use DateTimeZone.Forum: Developing with WordPress
In reply to: Problems with timezone when using new function wp_date()the time function of php returns a timestamp independent of the offeset.
date_format uses the offset of the php script you can solve globally From php 5.1 https://www.php.net/manual/en/function.date-default-timezone-set.php intstead of setting for data_format from PHP 5.2.1 https://www.php.net/manual/en/datetime.format.php
PHP 5.2.0:
For UTC if is timestamp: https://www.php.net/manual/en/datetime.settimezone.php
For all eccept UTC if is timestamp DateTimeZone: https://www.php.net/manual/en/datetime.construct.php
Example:$date = new DateTime($time,new DateTimeZone("UTC"));
$time not timestamp.
if globally imposed, functions like strtotime have the expected results (your scripts or other scripts executed after you).
the real question is WordPress set always as UTC (globally) in the core? I can’t answer because the documentation is missing.you cannot make a request from one domain to another domain ..
Bad:
Request: http://domain.com
To: http://www.domain.comGood:
Request: http://domain.com
To: http://domain.com
I hope you’re fine 🙂
the block does not depend on wordpress but on the browser.
There are plugins that add a header .. just for aesthetics it is not good to add such headers.Forum: Fixing WordPress
In reply to: 5.3 upgrade error@scmsteve try disabling all plugins switch to the default theme clear your cache plugin, clear your hosting cache, empty your cdn cache, clear your browser cache.
Now use the private mode of chrome. does the problem exist now?Forum: Fixing WordPress
In reply to: 5.3 upgrade errorhttps://core.trac.wordpress.org/attachment/ticket/48593/mhshohel-fatalerrorfix.diff
Applying this patch means you have to use this also with WordPress 5.3.
each update can cancel patch changes.
I see that I can answer the ticket: /Forum: Fixing WordPress
In reply to: uploading media errorBackup file and database https://wordpress.org/support/article/wordpress-backups/
Download your WordPress version (default language en) https://wordpress.org/download/releases/
extract the zip file in a folder on your PC. Remove the wordpress folder, copy (not move) the wp-content / uploads or blog.dir folder to the folder you extracted.
Copy your wp-config.php to the folder you extracted, copy your temp folder to the folder you extracted.
copy your themes folder to the folder you extracted.
copy your plugins folder to the folder you extracted.
now create a zip file.
Probably your hosting allows you to install compressed archives and unzip them in your destination folder.
Currently I believe you have problems with file ownership and / or permissions.
If you add them via ftp the owner is the ftp user … set all directories to 775 and file 664 .. if you still have problems indicate the error .. contact your hosting to know if the php files must be owned ftp or created by php .. (in the second case it is possible to create them with php).
Only if you have full back-up.- This reply was modified 6 years, 6 months ago by autotutorial. Reason: Edit
Forum: Networking WordPress
In reply to: Problems with DOMAIN_CURRENT_SITE valueHi guys I hope you are okay, the domain mapping guide is referenced for a clean installation, without secondary sites it is your care to set the domains.
If you want I can tell you how to get rid of your old installation to a new one (it means default language, suitable folder for secondary sites).
Change domain https://wordpress.org/support/topic/howto-domain-mapping-without-a-plugin-instructions/
@bcworkz thank you.Forum: Fixing WordPress
In reply to: Fatal error:From PHP 7.0 https://github.com/WordPress/WordPress/blob/master/wp-includes/wp-db.php#L1673 all the mysql functions are removed, use mysqli instead.
Forum: Networking WordPress
In reply to: Problems with DOMAIN_CURRENT_SITE valuedefine( 'SUNRISE', 'on' );
this was used with a plugin before wordpress 4.5.
WordPress MU Domain Mapping
Short answerUsually plugins are as the name suggests: plug in and go. But with the WordPress MU Domain Mapping plugin, you have to manually install it. You need to put the domain_mapping.php file into the mu-plugins folder, and the sunrise.php file into the wp-content folder. If you don’t have the mu-plugins folder already on your system, simply create it underneath the wp-content folder.
Have you configured the domains with Cname or only ip? did you create the delete site file as indicated on the home page of that plugin?
The code with the years changes is normal if you have problems, you should use the native method in WordPress 4.5 (I don’t know how to indicate how to convert your existing domains).
Bad:
define( 'DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST'] );
Correct
define( 'DOMAIN_CURRENT_SITE', 'domain.tld' );
Only Network here (never ever secondary site).https://wordpress.org/support/topic/howto-domain-mapping-without-a-plugin-instructions/
Then
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']);
Or
define('COOKIE_DOMAIN', '');Forum: Everything else WordPress
In reply to: How to search inside specific plugins support forum?Forum: Everything else WordPress
In reply to: How to search inside specific plugins support forum?Name plugin space problem https://wordpress.org/search/related-posts-by-taxonomy+gallery?forums=1
Forum: Networking WordPress
In reply to: Root domain redirected to wp-signup.php?new=example.comevery wordpress version uses a special type of htaccess, before WordPress 3.5 or later with the multisito and with subdomain or subdirectory.
What version of WordPress did you start with?
You also have to paste the contents of the htaccess file, (we hope the tables are guaranteed).
without information I can’t help.if you find that type of error it means that the update has not been successful.