• mithrandir

    (@mithrandir786)


    Hello,

    I am unable to get the plugin to work, on every attempt of multiple wordpress and phpbb installs on localhost and online i get the following error:

    “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.”

    I have attempted the solutions offered on similar topics, yet still no luck, could it be related to the fact the board index is only available to registered users?

    I am not very knowledgeable on this matter and I would really appreciate any help, as i was really looking forward to using this plugin.

    Thanking you for your time,

    Sam

    bellow is the text from the error log
    —————————————————————————————————

    [07-Nov-2016 03:01:08 UTC] PHP Warning: require(wpapi.config.php): failed to open stream: No such file or directory in /home/palpa/public_html/test/forums/styles/wpapi/wpapi.stats.php on line 8
    [07-Nov-2016 03:01:08 UTC] PHP Warning: require(wpapi.config.php): failed to open stream: No such file or directory in /home/palpa/public_html/test/forums/styles/wpapi/wpapi.stats.php on line 8
    [07-Nov-2016 03:01:08 UTC] PHP Fatal error: require(): Failed opening required ‘wpapi.config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/palpa/public_html/test/forums/styles/wpapi/wpapi.stats.php on line 8
    [07-Nov-2016 03:19:50 UTC] PHP Warning: require(wpapi.config.php): failed to open stream: No such file or directory in /home/palpa/public_html/test/forums/styles/wpapi/wpapi.stats.php on line 8
    [07-Nov-2016 03:19:50 UTC] PHP Warning: require(wpapi.config.php): failed to open stream: No such file or directory in /home/palpa/public_html/test/forums/styles/wpapi/wpapi.stats.php on line 8
    [07-Nov-2016 03:19:50 UTC] PHP Fatal error: require(): Failed opening required ‘wpapi.config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/palpa/public_html/test/forums/styles/wpapi/wpapi.stats.php on line 8
    [07-Nov-2016 03:21:17 UTC] PHP Warning: require(wpapi.config.php): failed to open stream: No such file or directory in /home/palpa/public_html/test/forums/styles/wpapi/wpapi.stats.php on line 8
    [07-Nov-2016 03:21:17 UTC] PHP Warning: require(wpapi.config.php): failed to open stream: No such file or directory in /home/palpa/public_html/test/forums/styles/wpapi/wpapi.stats.php on line 8
    [07-Nov-2016 03:21:17 UTC] PHP Fatal error: require(): Failed opening required ‘wpapi.config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/palpa/public_html/test/forums/styles/wpapi/wpapi.stats.php on line 8

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mithrandir

    (@mithrandir786)

    hello again,

    With my limited (zero) knowledge of how php works I realized the file in my wpapi folder the wpapi.stats.php was looking for is “wpapi.config.php” and not “wpapi.config.sample.php” which is what was included in the wpapi download.

    yet now i am faced with a new error while testing the wpapi and typing https://localhost/palpabb/styles/wpapi/wpapi.stats.php?s=test in the browser adress bar (test being the password).

    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\palpabb\styles\wpapi\wpapi.stats.php on line 116
    a:5:{s:8:”user_cnt”;s:1:”1″;s:9:”topic_cnt”;s:1:”1″;s:8:”post_cnt”;s:1:”1″;s:8:”last_mem”;s:7:”2|Admin”;s:9:”last_post”;a:0:{}}

    would appreciate any ideas, my website is on hold at the moment trying to get these stats to appear.

    elaurijssens

    (@elaurijssens)

    I had a similar issue, in that wpapi.config.php.sample lacks the ?> at the end of the file…

    Thread Starter mithrandir

    (@mithrandir786)

    Thankyou for replying, I tried your solution earlier on, and still no luck getting the stats to appear. the widget loads fine but all stats are blank. I realized I get an error while activating the plugin something along the lines of “The plugin generated “x” characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication..” This is probably the cause of the issue. I am not familiar with php or programming so would not know where to begin to diagnose the errors. I have tried a few solutions I found from here and there yet still no luck. oh well I tried, guess i can live without the stats, for now that is. Thank you again for your help!

    Plugin Author Me

    (@cyberws)

    You must rename the sample configuration to “wpapi.config.php”. This is done so future updates won’t overwrite and change your important settings.

    I admit this is a complex plugin due to the fact you have two different systems “talking” to each that were never designed to do so.

    It is very possible there is a mysql error with the PHPBB database. It was tested against PHPBB 3.x.

    You are correct in that the first line of troubleshooting comes at checking your WPAPI.

    So https://localhost/palpabb/styles/wpapi/wpapi.stats.php?s=test (using your example) must give you clean results without errors. Until that is worked out issues can and will probably occur.

    Technically speaking ?> shouldn’t matter as that tells PHP to end. The configuration script is called from within another script and thus it is more efficient to NOT end the PHP call. If anything it could be ended in the wpapi.stats.php script.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘error: Board one URL doesn’t seem to be working’ is closed to new replies.