Plugin Author
Me
(@cyberws)
Let’s make sure WPAPI is working correctly.
Alter the link below to insert the URL to your PHPBB board and secret key then paste it into your web browser and see if some statistics are generated and report back.
[URL TO YOUR PHPBB INSTALL]/styles/wpapi/wpapi.stats.php?s=[ENTER YOUR SECRET KEY]
Ex:
http://www.mysite.tld/phpbb/styles/wpapi/wpapi.stats.php?s=AS1C2949Zk392898
Thank you for your quick reply! 🙂
I’ve done what you’ve suggested and got this output in my browser
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
a:5:{s:8:"user_cnt";s:3:"496";s:9:"topic_cnt";s:4:"6800";s:8:"post_cnt";s:5:"71529";s:8:"last_mem";s:14:"2223|O'Donovan";s:9:"last_post";a:5:{i:0;s:39:"1|3|10696|105990|Re: Ts due for renewal";i:1;s:40:"1|322|10694|105991|Re: News, News, News!";i:2;s:41:"1|322|10696|105992|Re: Ts due for renewal";i:3;s:39:"1|3|10697|105993|Happy Birthday, Ghost!";i:4;s:38:"1|3|10694|105994|Re: News, News, News!";}}
Does this help you?
Plugin Author
Me
(@cyberws)
Yeah those errors are messing up the plugin. It should only have stats and not Warning.
Okay I updated the WPAPI. So please download and upload them to the WPAPI directory. You don’t need to edit anything as it won’t overwrite your config file.
Alright!
After uploading the files everything worked fine. 🙂
Thank you for your efforts, Jeremy!
Plugin Author
Me
(@cyberws)
Good deal. That was my error and my apologies for the confusion.
I am marking this issue resolved.