Welcome to Geeklog Sunday, January 23 2022 @ 11:24 am EST

Geeklog Forums

Visitor Stats plugin help needed


Status: offline

T1Pimp

Forum User
Junior
Registered: 20/08/02
Posts: 27
I just upgraded cuz of the security notice posted and was installing the new visitor stats. I can access it from the admin menu, and if I go directly to the page I can access the stats. However, I can't seem to get the block to work. It says it's missing phpblock_statsstats(), and if I copy that from the functions.inc into lib-custom I get an error basically saying I can't redefine the function.

Any input on how to make the block part of the plugin work would be appreciated! Thanx!

T1Pimp
http://www.Huggybeer.com - geek news with attitude
Paul 'T1Pimp' http://www.Huggybeer.com - Geek news with attitude
 Quote

Status: offline

rawdata

Forum User
Full Member
Registered: 17/02/03
Posts: 236
Redeclaration errors occur when the same name function appears twice or if a page tries to load a function twice. phpblock_statsstats is located in functions.inc.php. If you insert it in lib-custom.php, then you have to remove it from the functions.inc.php file. Once you do this, that error will go away.
 Quote

Status: offline

T1Pimp

Forum User
Junior
Registered: 20/08/02
Posts: 27
Thanx for the reply.... I figured it out. It was so dumb and I should have known better. I was including the ()'s on the function call in the block setup. SHEESH!---Paul 'T1Pimp' http://www.Huggybeer.com - Geek news with attitude
Paul 'T1Pimp' http://www.Huggybeer.com - Geek news with attitude
 Quote

empirical

Anonymous
Has anyone successfully installed the Visitor Stats Plugin with the latest (1.3.8-1) version of Geeklog? Thanks.
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/02
Posts: 820
I did it to two sites with no problem.

Sam
 Quote

All times are EST. The time is now 11:24 am.

  • 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