vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - HIT COUNTER! (Integrated With VB) (https://vborg.vbsupport.ru/showthread.php?t=112998)

wezoo 05-29-2006 08:10 PM

Hi there

must be something im doing wrong here but my counter is going up in multiples of 2

any ideas, thanks

Mr Chad 05-30-2006 12:47 AM

well there must be a something that is calling your global.php twice.

lucky123 06-12-2006 01:58 AM

here's my error

Warning: Unknown(./counter/counter.php): failed to open stream: No such file or directory in /global.php(349) : eval()'d code on line 146

Fatal error: (null)(): Failed opening required './counter/counter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lucky123/public_html/global.php(349) : eval()'d code on line 146

did I miss a step?

I uploaded 3 files to public html then added the plugin
then changed the footer

Andromeda2875 06-12-2006 03:46 AM

I have installed this three times and I am still not able to see anything.

lucky123 06-12-2006 12:09 PM

I'm afraid to try again!!

the other 2 plugins worked just fine (countdown, tic tac toe)

Mr Chad 06-12-2006 08:51 PM

put the file in a folder named counter.

(I will be upgrading this hack to 3.6, when i do ill also let you track your totoal unique page views)

TomasDR 06-15-2006 04:57 AM

I am having a very odd problem.

I setup the corn job to run per your instructions.
Title="Page Views"
Day of the Week=*
Day of the Month=*
Hour=23
Minute=59,-,-,-
Log Entries=Yes
Filename=./counter/counter_daily.php

Note I never see it in the log BUT the next time is always updated in the Scheduled Task Manager view.

So what's the problem, it doesn't update (copy to yesterday_count.txt and reset count.txt to ZERO) with the normal cron job, BUT if I click "Run Now" in the Scheduled Task Manager view it runs just fine and updates the files.

Also note ALL of my other cron jobs work just fine...

Any thoughts?

Mr Chad 06-15-2006 09:07 PM

take a screen shot of your schudled task list (showing the hit counter one)

TomasDR 06-29-2006 01:51 AM

I was out of town, attached is my main manager screen & the Page View job.

noj75 07-01-2006 06:16 PM

Simple and Great.

/me Clicks Install

Thank you.


All times are GMT. The time now is 06:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04088 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete