autotutorial
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: ini_set without init_get check and disabled php functionssome shared hosting prevent the use of some functions for security reasons, even if I disagree it is your care to enable log_errors display_startup_errors display_errors and error_log in development ..
Otherwise inserting controls means slowing down the execution of the code.
from wordpress 5.2 there is the possibility of recovering fatal errors error_get_last ().
I’ve never tried it if it works without enabling the error .. a simple error handler is captured independently of the fact that error_reporting is turned off … From php 7 the errors are transformed into exceptions (if something doesn’t capture them first).
set_error_handler does not make the screen display appear, with php7 it means that error_get_last is always null even if it encounters a fatal error.
debug.log errors generated by the WP_DEBUG constant are all related to wordpress …The server requested authentication method unknown to the client
the php client interfaces to the Mysqlnd C library (connector) which does not support other authentication methods besides the native one … I hope I have been clearer.
For PHP 7.4 have support with caching_sha2_password (that is, besides the native method) https://github.com/php/php-src/commit/4f06e67ad2201390ed35a9ea6288a00c0b04782b#commitcomment-32356655@rodrigorenie currently php can be accessed through libraries and through Mysqlnd you can only use it
mysql_native_password (without plugin) https://mysqlserverteam.com/upgrading-to-mysql-8-0-default-authentication-plugin-considerations/.
https://www.php.net/manual/en/mysqli.requirements.phpthe contents the url are stored in the database, after setting the new url (home and siteurl), with a plugin you have to search for and replace the old url in the new one. (otherwise the post has the old name).
Plugins or script for change urlDiagnosing errors, there is also a link to recover a javascript error.
ErrorForum: Fixing WordPress
In reply to: Fatal errorIt is not a theme present in the wordpress repository I looked at and you are using version 7.6 (with Git-alpha folder but your style.css indicates Git-master means that the your folder should be changed to Git-master) instead the current theme is 12.2 but I believe you use a customized version so you can turn to where you downloaded this theme.
If you can access the panel deactivate and switch to one of the predefined themes otherwise with an ftp client go to wp-content/themes/Git-alpha/ and rename it to wp-content/themes/old_Git_alpha/Forum: Fixing WordPress
In reply to: Why my links show as /?page_id=xx ? my permalinks is set up as postI’m glad you solved it
https://yourdomain.com/wp-admin/post.php?post=1283&action=edit
if you go to edit this id which post/page is it referring to?Forum: Fixing WordPress
In reply to: Why my links show as /?page_id=xx ? my permalinks is set up as post@dragonita :
Go to your homepage (https://yourdomain.com/) choosing the spanish language click on the green card link.
your home link has this value https://yourdomain.com/carta-verde/ (this OK with es language)Go to your homepage (https://yourdomain.com/) choosing the english language click on the green card link.
your home link has this value
https://yourdomain.com/?p=1283 (this error 404 if you have en/ suffiss from your url).Forum: Fixing WordPress
In reply to: Website debug php warning for coblocksthe first warning tells you that it cannot find this file /var/www/wp-content/plugins/coblocks/src/blocks/post-carousel/block.json (/var/www) is your root directory.
This file is with the coblocks plugin, it may be that it must create it but it does not have the right permissions or that file has been deleted.
Contact the support of this plugin.
https://wordpress.org/plugins/coblocks/#installationInstallation
Upload the coblocks folder to your /wp-content/plugins/ directory or alternatively upload the coblocks.zip file via the plugin page of WordPress by clicking ‘Add New’ and selecting the zip from your computer.
Install and activate the Gutenberg WordPress plugin.
Activate the CoBlocks WordPress plugin through the ‘Plugins’ menu in WordPress.
Use CoBlocks blocks on your next page or post.Forum: Fixing WordPress
In reply to: Double URL in every linkPhpmyadmin (for MySQL)
wp_base , wp_blogs, wp_options e wp_2_options.
copy the two url’s (home , siteurl) in this thread.
I see your site or wp-admin correct.
change browser or use chrome’s private mode.Forum: Fixing WordPress
In reply to: Update wordpressServer
Forum: Fixing WordPress
In reply to: Update wordpressyour server cannot communicate to https (ssl) url.
If you not have this file wp-includes/kses.php function wp_kses_normalize_entities not exists.
UpdatingForum: Networking WordPress
In reply to: Root domain redirected to wp-signup.php?new=example.comColumn wp_site, wp_blogs (wp_options and wp_2_options)?
If you created your network from example.com your wp-config.php is correct (currently you use multisite subdomain).
Please your htaccess.Forum: Networking WordPress
In reply to: Complicated Multi-site / Multi-network HelpIt is difficult to recommend something if you do not have all the code you have your eyes on, for example the multinetwork plugin (not updated for a long time) allows you to use more than one network and make multisite variables dynamic (in wp-config.php the plugin indicates not to use COOKIE_DOMAIN constant)
without plugins you can create secondary sites on subdomain (except the www).
The best way is to try
Network1 domain1.tld
secondary site sub1.domain.tld
Metwork2 domain2.tld
secondary site sub2.domain.tldForum: Networking WordPress
In reply to: Complicated Multi-site / Multi-network HelpThe multisite uses url rewriting rules and this indicates a type of htaccess for subdirectories and another type of htaccess for subdomains … at the same time they cannot be used.
With the installation on subdomain or subdirectory the cookie from the network is accessible to all the subdomains.
Different speech when mapping a domain
Network domain.tld
Secondary site (subdomain) ns1.domain.tld
Mapping (secondary site of one network) any.domain.com
If the mapping is different from the network domain, you will encounter a cookie block.
Thisdefine('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']);for mapping from subdirectories anddefine('COOKIE_DOMAIN', '');for mapping subdomain.