vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point User Map (https://vborg.vbsupport.ru/showthread.php?t=244236)

addamroy 07-10-2012 05:38 PM

I had it enabled and I'm still recieving the same error... What do I do next?

digitalpoint 07-10-2012 05:46 PM

Well it's either not installed or not installed correctly because your PHP stack doesn't know the function. Does it show if you look at php info via a phpinfo() call?

addamroy 07-11-2012 12:01 AM

Quote:

Originally Posted by digitalpoint (Post 2346736)
Well it's either not installed or not installed correctly because your PHP stack doesn't know the function. Does it show if you look at php info via a phpinfo() call?

How do I do a phpinfo() call?

cjwinternet 07-11-2012 05:58 AM

I've got about 300 of these at the top of usermap.php...

"Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /opt/geoip/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100"

TeknoSounds 07-11-2012 07:54 AM

Quote:

Originally Posted by addamroy (Post 2346839)
How do I do a phpinfo() call?

if you don't know how to create a php file to do this, you can find out in your AdminCP, at the bottom on the left under Maintenance, click View PHP Info then search for geoip

TeknoSounds 07-11-2012 07:54 AM

Quote:

Originally Posted by cjwinternet (Post 2346883)
I've got about 300 of these at the top of usermap.php...

"Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /opt/geoip/share/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100"

It can't find the .dat file for GeoIP.

ywwz 07-11-2012 01:35 PM

I tried, but I am too far from that extension.

Poppet 07-11-2012 11:29 PM

I've got the same problem as Cheryl, mod loads ok, but no map displayed. My hosts installed the GeoIP plugin for me and I've checked the phpinfo and it is installed.

www.trotonline.co.uk/forum/usermap.php

digitalpoint 07-12-2012 04:44 PM

Make a script on your server with just this:

PHP Code:

<?php 
print_r 
(geoip_record_by_name($_SERVER['REMOTE_ADDR']));

What does it output?

Poppet 07-12-2012 06:14 PM

I created a file called ip.php but the code in, uploaded it to the server went to the page and it's blank.


All times are GMT. The time now is 04:01 AM.

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.02371 seconds
  • Memory Usage 1,742KB
  • 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)bbcode_php_printable
  • (3)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