cold-vibes

Loading

Archives June 2025

IT

Comment activer le webservice de Woocommerce ?

– Dans “Réglage > Permaliens”, cocher “Titre de la publication” : 

Création du webservice et de la clé API 

Rendez-vous dans “WooCommerce > Réglage > Avancé > API REST” puis “Ajouter une clé”.

Renseignez les champs et l’utilisateur que vous avez précédemment créé ou choisi d’utiliser, n’oubliez pas de modifier les droits en “Lecture/Écriture”.

Générez la clé API.

Vous avez maintenant votre webservice et vos 2 clés (Client et Secret client) que vous devez fournir à Vaisonet pour la configuration du E-Connecteur.

Félicitation, vous avez activé le webservice de votre WooCommerce.

IT

Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in WordPress

This error means is that your site requires more memory than the default allocated memory provided by your server.

Solve this by increasing the PHP memory limit.

Update WP-Config

Edit the wp-config.php file on your WordPress site.

Copy this to the bottom of the file:

define( 'WP_MEMORY_LIMIT', '256M' );

This tells WordPress to increase the PHP memory limit to 256MB.

Update .HTACCESS

Edit the .htaccess file on your WordPress site.

Paste the following code before the line that says #END WORDPRESS.

php_value memory_limit 256M

This tells WordPress to increase the PHP memory limit to 256MB.

Update PHP.INI

Alternatively you can update PHP.INI to increase the memory limit. Find your PHP.ini file and look for this:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ; Maximum amount of memory a script may consume                                                                                                                                                                                              ; https://php.net/memory-limit                                                                                                                                                                                                               memory_limit = 256M 

After updating, restart Apache.