WP_w3all 1.5.0: manual config please read about news on 1.5.0 before update!

User avatar
axew3
w3all User
w3all User
Posts: 2712
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

WP_w3all 1.5.0: manual config please read about news on 1.5.0 before update!

Post by axew3 »

WP_w3all 1.5.0 is going to be released, but after all code added about avatars, and many fixes (many) all around, i've realize thank to a post, that there is a problem if on WP_w3all config admin we have choose to include the file
wp-content/plugins/wp-w3all-phpbb-integration/phpbb/config.php
(as also suggested as best way on WP_w3all config page hint!)

so the follow affect ONLY if WP_w3all path is set to check for manual edited config.php file, and not if it is set to include/check for phpBB root config.php file.

The problem is that on plugin auto update all plugin's files are deleted and replaced by new plugin's files: unfortunately also the edited wp-content/plugins/wp-w3all-phpbb-integration/phpbb/config.php will be deleted on plugin update.

So any time the plugin is updated, if we have choose the manual config, the WP_w3all edited config.php file, will be erased, and will be necessary to rename and re-edit the config.php.off.

I've think to add a a form on WP_w3all config page, so was possible to save data for connection into WP db and avoid this behavior. But due to many implications that this matter would involves, the way to resolve will be: change hints on WP_w3all config page, asking to create a folder inside WP_plugins folder but out of the wp-w3all-phpbb-integration folder, where to put the edited config.php that will not be deleted on plugin update.

All will be clearly (hope) explained on WP_w3all config page, like this:

Note: from 1.5.0> the folder to copy and paste with the two files config.php and .htaccess is on wp-content/plugins/wp-w3all-phpbb-integration/addons/wp-w3all-config.
Three simple steps to update to WP_w3all 1.5.0, if on WP_w3all config page we have choose to use the manual config:

Create a folder and name it wp-w3all-config on wp-content/plugins/
so you'll have:
wp-content/plugins/wp-w3all-config
now open folder:
wp-content/plugins/wp-w3all-phpbb-integration/phpbb
copy the two files (config.php and .htaccess) contained inside
and paste these two files into the previously created
wp-content/plugins/wp-w3all-config

change the path on WP_w3all config page to fit the location of wp-w3all-config folder
(that you could name whatever you like).

Done this one time, it is possible to update WP_w3all without problems on next updates, as the edited manual config.php file, reside outside the wp-w3all-phpbb-integration plugin folder.

There is no hook in WP to avoid entire deletions of plugin files on plugin auto update.
So to be up and running from now on with manual config and WP_w3all auto plugin update, this step (one time more for somebody!) is required. I'm sorry!
User avatar
axew3
w3all User
w3all User
Posts: 2712
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WP_w3all 1.5.0: manual config please read about news on 1.5.0 before update!

Post by axew3 »

REQUIRED for all updates that are using path, to manual edited config.php (manual config) OR new installs that want to use the manual edited config.php:
https://www.axew3.com/w3/2016/09/how-to- ... -and-path/
Post Reply