vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Referrer Statistics (https://vborg.vbsupport.ru/showthread.php?t=101000)

Annie^.^ 12-01-2005 03:10 PM

Quote:

Originally Posted by ConqSoft
It has a setting already that may help you with that:


Thank you for your reply to my post and sorry for the long reply back to yours....

I didn't noticed that it was there. Ok today I tried it and I set it to 01-12-2005 and if there is no refferal then I get this error on the top of the page.

Quote:

Warning: Invalid argument supplied for foreach() in /referrers.php on line 156

Warning: arsort() expects parameter 1 to be array, null given in /referrers.php on line 162

Warning: Invalid argument supplied for foreach() in /referrers.php on line 163
I will try to update it to the latest version and see if it fix the problem.

Lea Verou 12-01-2005 03:15 PM

Annie (hopefully) that bug is fixed in the last version :)

Annie^.^ 12-01-2005 03:18 PM

Quote:

Originally Posted by Michelle
Annie (hopefully) that bug is fixed in the last version :)


I just installed the newer version and the error doesn't show up anymore. Thank you so much for this hack!!! You have been wonderfull support and a great coder.

Lea Verou 12-01-2005 03:19 PM

Quote:

Originally Posted by Annie^.^
I just installed the newer version and the error doesn't show up anymore. Thank you so much for this hack!!! You have been wonderfull support and a great coder.

Thank you so much Annie!!! :D

Annie^.^ 12-02-2005 07:39 PM

Hi Me again. I know is not your responsibility but you might could help. I thought I give it a try.
I installed an invitation addon to your addon.
https://vborg.vbsupport.ru/showthread.php?t=101801
I get this error if noone has been reffered.

Quote:

Warning: Invalid argument supplied for foreach() in /referrers.php on line 163

Warning: arsort() expects parameter 1 to be array, null given in /referrers.php on line 173

Warning: Invalid argument supplied for foreach() in /referrers.php on line 174
This is my site http://www.bikerstalkonline.com/forum/referrers.php

Lea Verou 12-02-2005 07:48 PM

I merely had noticed the addon listed here, lol.

Psionic Vision will help you better with that since I have never looked at his code. :nervous:

Perhaps adding a @ before each function will supress error messages, although I've never tried this myself, I have only read it in a book :)

akanevsky 12-02-2005 07:51 PM

Uh.. Michelle, I believe that it a problem with your hack.
You need to check whether your referrer array is empty before you do a foreach(). Otherwise PHP will complain that you are working on a non-array.

Quote:

I installed an invitation addon to your addon.
It is not an "addon for addon". It's a separate hack. It's not listed anymore, I removed it.

Lea Verou 12-02-2005 07:55 PM

Psionic Vision that bug with my hack was fixed at the new version, as Annie admitted above. :)

I have no clue of that addon system and I don't understand a thing you ever told me about it to be honest :nervous: :p

akanevsky 12-02-2005 08:04 PM

As you can see, referrer.php still gives out errors. So there is a problem with your hack. I could just assure you that my hack doesn't affect yours in any way.

Quote:

I have no clue of that addon system
When you edit your hack, there is field which says "addon for thread", where you can specify the ID of the original thread. Then your hack will be listed in that thread. It's kind of stupid, because sometimes two hacks are linked by theme, but they are not add-ons, and them being listed as "addons" is a misconception... I am going to post about it in site feedback, too.

Quote:

Perhaps adding a @ before each function will supress error messages
Yes, althought it will, it is recommended that a software would have some kind of error prevention. :)

Lea Verou 12-02-2005 08:10 PM

Yes but Annie said that after installing your hack the problem occured :)

Thanks about the addon thing and I agree with you for the "addon" misconception. :)


All times are GMT. The time now is 10:19 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.01395 seconds
  • Memory Usage 1,744KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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