• Plugin says:

    Please fix the following in order to save settings:

    Board one URL doesn’t seem to be working. Often caused by invalid secret key or slow site

    Tried to check if wpapi works as you described in older topic, opened a link
    /forum/styles/wpapi/wpapi.stats.php?s=

    got an error in log:
    2020/04/17 20:14:10 [error] 2381#2381: *10198 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: securitykey in /var/www/html/forum/styles/wpapi/wpapi.stats.php on line 19" while reading response header from upstream, client: ***.***.***.***, server: *******.ru, request: "GET /forum/styles/wpapi/wpapi.stats.php?s=********************* HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "********.ru"

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Aleksandr

    (@sshurick)

    On a second look I did found a bug myself:

    In WPAPI config sample file you have this contents (short open tad, no close tag):

    <?
    /*
    Designed to work with WordPress Plugin "Cleverwise PHPBB Stats"
    Variable File
    */
    
    ///////	Set the security key to prevent unauthorized access
    ///////	Place your choosen security key between the apostrophes
    
    $securitykey='SET-YOUR-SECRET-KEY-HERE';
    
    ///////	Optional setting:  If you wish to omit (exclude) certain forums
    ///////	from being used when grabbing last post, then list the numbers
    ///////	separate by commas.
    ///////	Ex: 4,8,11
    
    $omitforumlist='';

    After fixing <?php tags everything works.

    Plugin Author Me

    (@cyberws)

    Yeah. Some systems work without the <?php tag and others don’t. I need to add that just to be safe.

    Thank you for the update. I hope the plugin is useful and honest reviews on WordPress help the community.

    Happy WordPressing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Didn’t work with wp 5.4 and bb 3.3’ is closed to new replies.