Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:59 pm EST
Geeklog Forums
stats error
Status: offline
druid
Forum User
Junior
Registered: 01/11/04
Posts: 34
Hi all,
Every night after 0.00 hours, 3-4 minutes on homepage I see tghis error
Warning: arsort() expects parameter 1 to be array, null given in /home/spphr/plugins/stats/functions.inc on line 476
Warning: Invalid argument supplied for foreach() in /home/spphr/plugins/stats/functions.inc on line 477
I use stats with php block on index.php.
Any ideas how resolve this bug?
http://www.spph.org/
Every night after 0.00 hours, 3-4 minutes on homepage I see tghis error
Text Formatted Code
Warning: arsort() expects parameter 1 to be array, null given in /home/spphr/plugins/stats/functions.inc on line 476
Warning: Invalid argument supplied for foreach() in /home/spphr/plugins/stats/functions.inc on line 477
I use stats with php block on index.php.
Any ideas how resolve this bug?
http://www.spph.org/
6
11
Quote
Status: offline
druid
Forum User
Junior
Registered: 01/11/04
Posts: 34
When upgrade stats plugin from squatty.com working only stats block. www.domain.com/stats/ dont working. In error.log I see this error message
http://www.spph.org/
Text Formatted Code
<br />Sat Feb 21 13:00:17 2004 - Stats Plugin upgraded to 1.3 <br />Sat Feb 21 13:02:34 2004 - 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ID = '1'' at line 1. SQL in question: SELECT OuterFrame FROM WHERE ID = '1' <br />http://www.spph.org/
21
6
Quote
Status: offline
druid
Forum User
Junior
Registered: 01/11/04
Posts: 34
Warning: array_push(): First argument should be an array in /home/spphr/public_html/admin/plugins/stats/index.php on line 65
Warning: array_push(): First argument should be an array in /home/spphr/public_html/admin/plugins/stats/index.php on line 77
Warning: array_push(): First argument should be an array in /home/spphr/public_html/admin/plugins/stats/index.php on line 89
Template Error: set_root: /home/spphr/plugins//templates is not a directory.
Halted.
http://www.spph.org/
10
7
Quote
tokyoahead
Anonymous
I have the same problem. It seems to be problematic if there is no referrer so far on that day.
I installed the site all-new and also the stats-plugin. Any Idea what could be wrong?
I hacked the plugin by simply encasing the arsort and foreach from line 476 until line 479 into a
if (count(ref)>0) {...}
thanks
Oliver
I installed the site all-new and also the stats-plugin. Any Idea what could be wrong?
I hacked the plugin by simply encasing the arsort and foreach from line 476 until line 479 into a
if (count(ref)>0) {...}
thanks
Oliver
6
6
Quote
All times are EST. The time is now 09:59 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content