-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLite errors #14
Comments
I'm trying my best to get this also working, git cloned as-stats and as-stats-gui, did all the perl dependencies, and set up nginx. I was not able to find info in manuals, readme. will try to search more. not strong in this web stuff: |
Hi, please give me more details. module sqlite3 for php is enable ? |
Thank you, Nidebr, for the tip, that helped! now the page is "blank", not giving the above
|
for the user above "deg_in", for me its "2_in", I wonder where does the value come from. |
Hi, Copy/paste here you knownlinks file (from asstats install) plz ? ++ |
I've used "-" to comment the names, they are short 3-4 character/few CAPS, I've googled and also found something related to knownlinks, but I didn't have "_" underscore in my config, only dash/hypen. an hour before I tried to rename all the xxx-xxx to just xxxxxx. deleted content of /rrd/*
|
update:
so its related to knownlinks, any tips how to fix or what to read in more detail? Thank you for your time! |
For me, your problem is on third cols (tag col). In ASStats Readme (and knownlink file), tag name : remove all '-' characters from knowlinks files relaunch asstats, and few minutes after your cron for generate aststats file. ++ |
thank you! |
Great, have a good day ;) ++ |
Close |
a bit more info, if someone else reads this: that pointed me back to the another typo I found, I had two equal "interfaces index" for the same "router", fixed that too. the web-page is loading, graphs are empty. will wait for data, to collect. |
[16-Sep-2020 09:46:32 UTC] PHP Warning: SQLite3::query(): Unable to prepare statement: 1, no such column: deg_in in /opt/as-stats/www/func.inc on line 125
[16-Sep-2020 09:46:32 UTC] PHP Fatal error: Uncaught Error: Call to a member function fetchArray() on boolean in /opt/as-stats/www/func.inc:127
Stack trace:
#0 /opt/as-stats/www/index.php(25): getasstats_top(20, '/opt/as-stats/a...', Array)
#1 {main}
thrown in /opt/as-stats/www/func.inc on line 127
Seeing this in my php errors - any ideas?
The text was updated successfully, but these errors were encountered: