Advertisement:

Author Topic: Google Member Map  (Read 30552 times)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,977
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Google Member Map
« Reply #120 on: February 05, 2018, 03:50:10 PM »
Don't change that.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #121 on: February 05, 2018, 03:54:56 PM »
[hands suddenly go in the air]

Offline Tonyvic

  • Jr. Member
  • **
  • Posts: 214
  • Gender: Male
Re: Google Member Map
« Reply #122 on: February 05, 2018, 05:24:59 PM »
I have MultiPHP INI Editor in my cPanel and simply changed it there.
I found my problem by looking in the error log in my Forum root directory, at the times the membermap error appeared  were entries starting with
Quote
HP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 79 bytes) in................
Sadly it doesn't seem to be the same problem that you have.

Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #123 on: February 05, 2018, 08:01:59 PM »
I've tried to find a log somewhere that relates and find nothing.  Is there anything I can do to try to record the error?some sort of debugger or something?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,977
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Google Member Map
« Reply #124 on: February 05, 2018, 11:52:54 PM »
Places to check first enable the php error log in the php.ini
 You can set a file for it to write to.

You can also check your apache error log but I would do the php one first.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Google Member Map
« Reply #125 on: February 08, 2018, 07:05:28 PM »
I wanted to try this out but my Load.php has no such lines of code

Code: [Select]
mem.buddy_list, mg.online_color AS member_group_color, IFNULL(mg.group_name, {string:blank_string}) AS member_group,
I can't find part of a query in ./Sources/Load.php that looks like that at all.

any idea why my Load.php is so different ?
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,977
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Google Member Map
« Reply #126 on: February 08, 2018, 07:34:39 PM »
Other mods change it.
I would look at fresh SMF 2.0.15 install and look for that line.
Then find one similar in yours.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Google Member Map
« Reply #127 on: February 08, 2018, 07:40:46 PM »
that is not possible but thanks; it installs fine on my vanilla SMF 2.0.15.

I should've tried it and maybe I can retrofit it down the track but for now, i will leave my mods on.
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #128 on: February 09, 2018, 02:44:22 PM »
Places to check first enable the php error log in the php.ini
 You can set a file for it to write to.

You can also check your apache error log but I would do the php one first.

AHA!  I did as you suggested, Enabled php log in pho.ini  and I found this error occurring:
 snmpd[701]: error on subcontainer 'ia_addr' insert (-1)

Now what to do about it?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,977
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Google Member Map
« Reply #129 on: February 09, 2018, 03:27:41 PM »
Does that occur each time when you try load the member map.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #130 on: February 09, 2018, 04:28:16 PM »
I'm beginning to think that isn't it.  My server when you enable the log in php.ini  writes to the syslog by default.  This could be something else, as I ran tail -f syslog and watched as I tried to load the maps, and it wasn't appearing as expected.

Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #131 on: February 11, 2018, 10:06:51 AM »
I was able to produce errors using firefox's console.

Quote
XML Parsing Error: no root element found
Location: http://mysite/board/index.php?action=googlemap;sa=.xml
Line Number 1, Column 1:
index.php:1:1
TypeError: xmldoc is null
[Learn More]
index.php:146:6
Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required


Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #132 on: February 11, 2018, 10:22:57 AM »
I'm getting somewhere, but not there yet.  I just changed the permissions on my themes folder from 777 to 775 and now that map is loading, and staying loaded, but the pins are not loading on the map.

Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #133 on: February 11, 2018, 10:27:49 AM »
DRAT  Google must have been sleeping. when I went back to try and advance to a solution, I found that I still had the same issue. still the parsing error.

Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #134 on: February 14, 2018, 05:17:31 PM »
Okay, I'm going to offer a reward for figuring this out!

Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #135 on: February 14, 2018, 05:18:58 PM »
Enough to take your significant other out for Dinner on Valentines day!

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,708
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Google Member Map
« Reply #136 on: February 14, 2018, 07:11:28 PM »
Enough to take your significant other out for Dinner on Valentines day!

Not sure if this helps Jeff.

 HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
(XHR)GET - http://forestryforum.com/board/index.php?action=googlemap;sa=.xml

Offline Jeff B

  • Full Member
  • ***
  • Posts: 421
Re: Google Member Map
« Reply #137 on: February 15, 2018, 05:53:13 PM »
Nibogo is the hero on this one. He was able to get my members map working. Hopefully he can fill you in on exactly what was going on, but it had something to do with the member blurbs for the pins breaking it.

On a side note, where could I go edit the code to remove everything in those blurbs other than the username and link to profile?  They never did format well. Stuff on top of stuff.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,708
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Google Member Map
« Reply #138 on: February 15, 2018, 06:55:50 PM »
Nibogo is the hero on this one. He was able to get my members map working. Hopefully he can fill you in on exactly what was going on, but it had something to do with the member blurbs for the pins breaking it.

On a side note, where could I go edit the code to remove everything in those blurbs other than the username and link to profile?  They never did format well. Stuff on top of stuff.

That's great news Jeff, really glad you got this sorted.  I know how frustrating these problems can be.  8)

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 927
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Google Member Map
« Reply #139 on: March 14, 2018, 10:40:25 PM »
I just LOVE this mod. It's one of my favourite enhancements.
Is a 2.1 version likely?

When SMF 2.1 goes final.

Well that is good news.

In the meantime there will obviously be a gap between when I upgrade from 2.0.15 to 2.1 (when final is released) and the time when the member map is reintroduced.

How can I save all the data (location pins for members) so that when I install again in future, it will have all those existing pins?

I hope this makes sense...
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.