SQLite3 and PHP error

96 views
Skip to first unread message

Овсеп Симонян

unread,
Sep 10, 2021, 9:27:41 AM9/10/21
to AS-Stats users
PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: stats in /opt/asstats/www/func.inc on line 1
25

PHP Fatal error:  Uncaught Error: Call to a member function fetchArray() on bool in /opt/asstats/www/func.inc:127\nStack t
race:\n#0 /opt/asstats/www/index.php(25): getasstats_top()\n#1 {main}\n  thrown in /opt/asstats/www/func.inc on line 127

my knowlinks file - 
10.90.90.91             55                               uplink1                 Uplink 1                A6CEE3  20000

my apache2 conf - 
<VirtualHost *:8080>

       ServerName asstats.example.com
       DocumentRoot /opt/asstats/www/
        <Directory "/opt/asstats/www/">
       AuthType Basic
       AuthName "Restricted Content"
       AuthUserFile /etc/apache2/.htpasswd
       Require valid-user
       DirectoryIndex index.php
       </Directory>
</VirtualHost>

how to solve problems with sqlite and php?
 
Reply all
Reply to author
Forward
0 new messages