• ResolvedPlugin Author axew3

    (@axewww)


    As already noticed with a Topic here https://www.axew3.com/w3/forums/viewtopic.php?f=2&t=173
    Please take a look to this BEFORE to update to WP_w3all 1.5.0 if you have setup the manual config on WP_w3all admin config page:

    WP_w3all 1.5.0 is going to be released
    , but after all code added about avatars, and many fixes (many) and code clean-up all around, i’ve realize thank to a support post, that there is a problem if on WP_w3all config admin if 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 following here, 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.

    For this, any time the WP_w3all 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 explained on WP_w3all config page, like this:

    To resume, and correctly update to WP_w3all 1.5.0 if on WP_w3all config page we have choose to use the manual config, three simple steps:

    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 maybe you could name instead whatever you like of course).

    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 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!

    • This topic was modified 8 years, 5 months ago by axew3.
    • This topic was modified 8 years, 5 months ago by axew3.
  • The topic ‘WP_w3all 1.5.0: manual config READ this before update!’ is closed to new replies.