Page 1 of 1

Statsproblem

PostPosted: Fri May 12, 2006 8:20 am
Author: Max Paint
I have some problems viewing my stats:

Warning: Failed opening './stats_mod/includes/constants.php' for inclusion (include_path='.:/usr/share/php') in /home/mpaint/html/statistics.php on line 30

Warning: Failed opening './stats_mod/includes/lang_functions.php' for inclusion (include_path='.:/usr/share/php') in /home/mpaint/html/statistics.php on line 31

Warning: Failed opening './stats_mod/includes/stat_functions.php' for inclusion (include_path='.:/usr/share/php') in /home/mpaint/html/statistics.php on line 32

Warning: Failed opening './stats_mod/includes/template.php' for inclusion (include_path='.:/usr/share/php') in /home/mpaint/html/statistics.php on line 33

Warning: Cannot add header information - headers already sent by (output started at /home/mpaint/html/statistics.php:30) in /home/mpaint/html/includes/page_header.php on line 958

Warning: Cannot add header information - headers already sent by (output started at /home/mpaint/html/statistics.php:30) in /home/mpaint/html/includes/page_header.php on line 960

Warning: Cannot add header information - headers already sent by (output started at /home/mpaint/html/statistics.php:30) in /home/mpaint/html/includes/page_header.php on line 961

and also:

Could not query statistics config table

DEBUG MODE

SQL Error : 1146 Table 'maxpaint.STATS_CONFIG_TABLE' doesn't exist

SELECT * FROM STATS_CONFIG_TABLE

Line : 48
File : statistics.php


Any idea to solve this? I don't know what to change. CMD of the folders are correct, I think/hope

PostPosted: Fri May 12, 2006 8:54 am
Author: Adrian Rea
This is a wild card, but did you delete your prill_install folder on install?

A

PostPosted: Fri May 12, 2006 9:49 am
Author: Max Paint
yes, it was deleted

Re: Statsproblem

PostPosted: Fri May 12, 2006 2:03 pm
Author: found it
Hi could you check for me please that iyou have this folder includes found here--> root/stats_mod/includes/

lemme know

:mrgreen:

PostPosted: Sat May 13, 2006 3:02 am
Author: Max Paint
Yes! If have this folder

Re: Statsproblem

PostPosted: Sat May 13, 2006 4:59 am
Author: found it
Hi in the same folder is the file constants.php there and if it is can you check that you have this bit of code...

Code: Select all
define('STATS_CONFIG_TABLE', $table_prefix . 'stats_config');


lemme know

:mrgreen:

PostPosted: Sat May 13, 2006 10:02 am
Author: Max Paint
Yes, code is in <img>