Closed xcme closed 4 years ago
Hi, Try some of the following:
/bl-content/workspaces/simple-stats-plus/
, these contain a line for each count to be displayed on the Admin Dashboard chart.Thank you for answer. My dashboard is below: There is no graph below like you just showed.
Yes, I have files here /bl-content/workspaces/simple-stats-plus/. They have 644 permissions and contain lines with hash and date. I changed the permissions to 755 but it didn't help.
I use the 3.10.0 version on Bludit.
I can add there is no more HTML code after this section: It seems something went wrong and page wasn't constructed properly. In case I turn native plugins back it has following lines with stats and "</body </html" at the end.
Thanks, and sorry for slow reply. May I ask what active plugins you have? I'm thinking that maybe I have something activated that you don't that is finishing the closing tags off, thus making it work for me. I did have an issue at one point where the Search plugin was causing mine to fail.
All my plugins are here:
I noticed when I disable 'Simple Stats Plus' the dashboard page seems correctly and I can see the 'Notification' section. But when I enable 'Simple Stats Plus' it seems something goes wrong ether in the plugin itself or during its inclusion to the site. I tried to enable logs in PHP but I have Centos 7, so I had to use non-typical installation of PHP (rh-php72-php-fpm), so PHP works but I have no idea why logs don't work.
Thanks very much. I'll look into it tonight. I think it is still collecting stats though.
Hello,
I have given the code a review, comparing it back the original and I couldn't see anything obvious.
I made it so I have exactly the same plugins activated as you have and my dashboard still displays OK.
In the code, I use an international format function requiring the "PHP-Intl" module as referenced in issue #6 . You say you have a non-standard installation of PHP; can you see if installing the PHP-Intl module helps.
https://www.php.net/manual/en/intl.installation.php
https://stackoverflow.com/questions/14679990/how-do-i-install-php-intl-extension-on-centos
Below is the generated html:
Yes! When I installed it and restarted the engine, it started to work.
I issued:
yum install rh-php72-php-intl
on Centos 7.
Thank you for help!
That's brilliant, I really pleased 😎👍 Thanks for sticking with it. BTW, I've been doing a little tinkering and am adding individual page counting. Got it doing the data capture; just need to work it into the Contents tab navigation or maybe something to display on an end of page hook.
Hi! I installed this plugin and disabled the native ones but it didn't show any stats. Three week have passes since than. What should I check to fix it?