autotutorial
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Time zone bug – website isn’t usableI with Italian language and time zone Europe/Berlin from Gutenberg works.
Forum: Fixing WordPress
In reply to: Time zone bug – website isn’t usableif WordPress recognizes the timezone the problem is in the menu has it been added with Elementor or theme? Customers suppor https://oceanwp.org/support/ normal support https://wordpress.org/support/theme/oceanwp/
Please Download 5.2.5 https://de.wordpress.org/download/releases/Forum: Fixing WordPress
In reply to: Time zone bug – website isn’t usableInsert
define('WP_DEBUG',true);wp-config.php
which version of php are you using?
You can create file test.php$mytimezone=timezone_identifiers_list(); // 437 array here :D var_dump($mytimezone);You have Europe/Berlin ?
otherwise you have to set the manual offset and change it twice a year for dayligth saving time and standard timeFrom WordPress 5.3 accept dates in the form YYYY-MM-DD and use DateTime class, if you try installing a lower version your plugin from the customizer does it work?
Forum: Fixing WordPress
In reply to: white screen after WP updateverify your wp-config.php file do not copy the content in this forum or elsewhere but use google search for the ABSPATH constant before require_once wp-settings.php.
Examplehttps://github.com/WordPress/WordPress/blob/master/wp-config-sample.php#L90Forum: Localhost Installs
In reply to: Localhost get error “not allowed to access page”// wp-config.php before require_once define( 'WP_HOME', 'http://localhost' ); define( 'WP_SITEURL', 'http://localhost' ); // never end slashsome commercial themes have limits for the single domain, if you have problems set one of the twenty installable themes and then ask the support of your theme.
Forum: Fixing WordPress
In reply to: WP-Clienthttps://make.wordpress.org/cli/handbook/installing/ read support and contact
Forum: Networking WordPress
In reply to: Single Website and Multi-Domain ConfigurationYou can use a single WordPress installation and map your single page to a domain (if it is mapped for two domains it is a duplicate).
There are several plugins for this, attention does not support multilanguage plugins.
https://wordpress.org/plugins/multiple-domain-mapping-on-single-site/https://developer.wordpress.org/reference/functions/wp_get_referer/
Look at this code look for the variable or the reference added by a WordPress module.
This function performs a redirect with no default value, the false shown below.return wp_validate_redirect( $ref, false );
This function useallowed_redirect_hosts
It is a good example for coding.Forum: Localhost Installs
In reply to: Cannot complete migration on LAMPThis guide shows you where to look, I remind you to use plugins for editing and never directly from the database.
It would be nice if you backup files and backup your database firsthttps://wordpress.org/support/article/changing-the-site-url/#changing-the-url-directly-in-the-databaseForum: Fixing WordPress
In reply to: Low to High Pricing Brokenphp retrieve value for select option default method GET, this example use POST:
<form action="#" method="post"> <select name="Color"> <option value="Red">Red</option> <option value="Green">Green</option> <option value="Blue">Blue</option> <option value="Pink">Pink</option> <option value="Yellow">Yellow</option> </select> <input type="submit" name="send" value="Get Selected Values" /> </form> <?php // $_GET, $_POST, $_REQUEST, $_COOKIE php internally uses urldecode() if(isset($_REQUEST['send'])){ $selected_val = $_REQUEST['Color']; // Storing Selected Value In Variable echo "You have selected :" .$selected_val; // Displaying Selected Value } ?>Add query arg:
https://developer.wordpress.org/reference/functions/add_query_arg/
Jquery select option:
https://api.jquery.com/selected-selector/
this is not related to WordPress but you have to codingForum: Fixing WordPress
In reply to: different WP_SITEURL and WP_HOME – internal requestsfeature requests or bugs you can write here.
If your request is not accepted you must change your coding. https://github.com/WordPress/gutenberg/issuesForum: Fixing WordPress
In reply to: different WP_SITEURL and WP_HOME – internal requestsWhy should I care for CORS?
if your client uses wordpress in a directory but wants a view without a directory how can you solve it?
Please or moderator delete value of cookie 😉
You not have support for$_SERVER['HTTP_ORIGIN']
you can change the function rest_send_cors_headers i have indicated, with the value for $origin http://localhost:8069
Gutenberg uses api rest with WP_HOME
take a good cup of coffee and think if it’s a bug Gtenberg open a pull request in the github gutenberg while if it’s a WordPress bug write on https://core.trac.wordpress.org/Forum: Fixing WordPress
In reply to: different WP_SITEURL and WP_HOME – internal requestsif your server is configured to retrieve the Origin: http://localhost:8069 header that the browser sends, it does so with the variable
$_SERVER['HTTP_ORIGIN'], the api rest has support for CORS but your server must create this variable.
and anyway you have to use WP_HOME for the API rest and if the API takes the header it adds it with its header. usually the path is WP_HOME/wp-jsons/ if pretty permalik is enabled ,many plugins use this coding because from WordPress 3.5 it is possible to give your own directory by modifying WP_HOME.
Endpoints /wp/v2/posts https://developer.wordpress.org/rest-api/reference/
currently if you use http request language but you don’t have php or javascript (for nonce) support inside WordPress from an eye here https://wordpress.org/support/topic/cant-connect-to-wordpress-rest-api-without-a-plugin/Forum: Localhost Installs
In reply to: Cannot complete migration on LAMPIt is important that you have solved the problem and that readers are using php code in wp-config.php. Thanks you don’t have to correct the previous message.
Forum: Fixing WordPress
In reply to: Multiple Fatal Errorsit is not a good idea to change the core because with the update it is restored to the current code.
Obviously you can change the value'256M'to'1024M'also in default_constants.php but a good coding indicates to create the constants before the require_once wp-settings.php of the wp-config.php file.
For other info https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php