News:

Wondering if this will always be free?  See why free is better.

Main Menu

Location Mod

Started by Gobalopper, November 19, 2004, 01:43:12 AM

Previous topic - Next topic

pheasant_plucker

Quote from: Velairon on September 30, 2006, 09:11:05 AM
Hi!

I am using 1.1 RC3 and installed the location mod, but when i try to access the map i get the following error:

You have an error in your SQL syntax near '(smf_location_country AS c, smf_mm_pins AS p) ON (c.c2code = p.country)
WHERE ' at line 4
File: /kunden/74932_97082/Forum/Sources/MemberMap.php
Line: 101


(I used the latest version of location mod)

Any ideas?

I had the same problem after I upgraded to RC3 but it was because the database had been backed up with the whoflags and additional maps but initially I just reinstalled the location mod causing that error. If you reinstall the whoflags and additional maps it works fine.

Gerry

Yngwiedis

Where are the links for additional maps and whoflags ?
Are not in the page of the mod now.
AmityHost.com - The Affordable Host

Gobalopper

I have attached them to the first post. There is a restriction where the mod id has to be the same for all files uploaded however this causes problems when you are installing the mods because it will think they are all installed when just one is.
So to get around that and keep them with separate ID's they are attached to the post now.

Yngwiedis

Sorry but i dont see the files at the time i wrote the previous post.

Thank you very much :)
AmityHost.com - The Affordable Host

Velairon

Quote from: pheasant_plucker on September 30, 2006, 12:31:52 PM

I had the same problem after I upgraded to RC3 but it was because the database had been backed up with the whoflags and additional maps but initially I just reinstalled the location mod causing that error. If you reinstall the whoflags and additional maps it works fine.

Gerry

I tried that, but without success, i still get
You have an error in your SQL syntax near '(smf_location_country AS c, smf_mm_pins AS p) ON (c.c2code = p.country)
WHERE ' at line 4
File: /kunden/74932_97082/Forum/Sources/MemberMap.php
Line: 101


Any ideas?

woolly bugger

1.) when I look at the map the pins are in the wrong locaton, however if i click on the names in the list below the map the 'pins' jump to the correct location and flash...

2.) Is there and easy way for an admin to move incorrectly located user pins?


Thanks...

topdog2k

I can get the base install and the additional maps working ok through the package manager but I get an error when i do the whoflags.  I am using 1.0.8.

An Error Has Occurred!

2: packageinstall(/home/content/M/e/a/Meat/html/forums/Packages/temp/install.php): failed to open stream: No such file or directory
File: /home/content/M/e/a/Meat/html/forums/Sources/Packages.php
Line: 414


I have no idea why, the path looks ok but the files isnt there.  Package Manager creates a temp directory in my Packages directory when its unzipping the file but it doesnt seem to unzip it totally and it then cant find the install.php file. 

DemonicInfluence

Quote from: Gobalopper on October 01, 2006, 12:09:40 AM
I have attached them to the first post. There is a restriction where the mod id has to be the same for all files uploaded however this causes problems when you are installing the mods because it will think they are all installed when just one is.
So to get around that and keep them with separate ID's they are attached to the post now.

ah, thanks :)

Quote from: topdog2k on October 02, 2006, 12:10:19 PM
I can get the base install and the additional maps working ok through the package manager but I get an error when i do the whoflags.  I am using 1.0.8.

An Error Has Occurred!

2: packageinstall(/home/content/M/e/a/Meat/html/forums/Packages/temp/install.php): failed to open stream: No such file or directory
File: /home/content/M/e/a/Meat/html/forums/Sources/Packages.php
Line: 414


I have no idea why, the path looks ok but the files isnt there.  Package Manager creates a temp directory in my Packages directory when its unzipping the file but it doesnt seem to unzip it totally and it then cant find the install.php file. 


try chmodding the packages directory to 777 :)

ganryu

#1048
Quote from: Kindred on November 19, 2004, 04:09:28 PM
And if you have a non-default theme, you will have to insert the 3 lines into Display.template.php in your chosen theme(s).

(which I did, but I prefer my flag to show below the stars)

Globalopper....   very nice mod!!!

one quick question; What determines the colour of the pin to mark your location?

Ok.. another quick question,   any way to have this read (or write to) the location string in the user's profile?

Ähhh??

What three lines do I have to insert in my non-default theme?

Thanks!




Frank

ganryu

Hi!

I always got this messages when I tried to install the location mod

QuoteFatal error: packageinstall(): Failed opening required '/home/htdocs/web31/html/smf/Packages/temp/./install.php' (include_path='.') in /home/htdocs/web31/html/smf/Sources/Packages.php on line 534

Any ideas but to chmod all data on 777?
All data are already on 777!

Thanks!


Frank

Bigguy

Do you have a temp folder in the packages folder and is it chmodded to 777. ??? If not create one and see what happens.

ganryu

Quote from: Bigguy on October 04, 2006, 11:50:01 AM
Do you have a temp folder in the packages folder and is it chmodded to 777. ??? If not create one and see what happens.


Thanks!  That worked!

ganryu

#1052
So, I installed everything;  Location Mod 1.2   Location Mod - Additional Maps 1.2   Location Mod - Who Flags!

I made the entries for the button in my used theme and I got the space and the link shows me "http://www.aks-germany-forum.de/index.php?action=mm"! [nofollow]

But nothing will happen, even I have no possibility to change anything in the admin panel!

There is nothing to see - nothing!!!!!

Who can help me please?

Thanks!

Hier are some off the errors are occured:


Quotehttp://www.aks-germany-forum.de/index.php?action=viewErrorLog;desc;start=0 [nofollow]
8: Use of undefined constant mm - assumed 'mm'
Datei: /home/htdocs/web31/html/smf/Themes/default/languages/index.german.php (eval?)
Zeile: 3

Quotehttp://www.aks-germany-forum.de/index.php?action=viewErrorLog;desc;start=6795 [nofollow]
8: Use of undefined constant mm - assumed 'mm'
Datei: /home/htdocs/web31/html/smf/Themes/default/languages/index.german.php (eval?)
Zeile: 3

Quotehttp://www.aks-germany-forum.de/index.php?action=theme;sa=settings;th=6;sesc [nofollow]
8: Undefined index: custombutton3
Datei: /home/htdocs/web31/html/smf/Themes/helios_multi11rc2/Settings.template.php (eval?)
Zeile: 177

Quotehttp://www.aks-germany-forum.de/index.php?action=theme;sa=settings;th=6;sesc [nofollow]
8: Undefined index: custombutton2
Datei: /home/htdocs/web31/html/smf/Themes/helios_multi11rc2/Settings.template.php (eval?)
Zeile: 157

Quotehttp://www.aks-germany-forum.de/index.php?action=viewErrorLog;desc [nofollow]
8: Use of undefined constant mm - assumed 'mm'
Datei: /home/htdocs/web31/html/smf/Themes/helios_multi11rc2/index.template.php (eval?)
Zeile: 630


.. and there are many more!!!

chinclub

This mod apparently doesn't work with Firefox browsers.  I installed it successfully but when I tried to click on the map to place my pin nothing would happen.  As an after thought I tried in with IE and it works fine.  Also, when you view the map with Firefox all of the pins are on the right hand side of the screen, not on the map.

Just wanted to let you know in case someone reports an error with the Mod and you can't figure out why...it may be thier Internet Browser - not the mod.

Gobalopper

Make sure you haven't cached your javascript file. It should work fine in Firefox and has since it was first released.

chinclub

How do I check that?

Surferbird

#1056
This is solved, IGNORE this message!  ;)


Installed Gopaloppers location mod and now several messages and other functions gives this error when try to read them? My version is rc3
Any idea what to do?

Not unique table/alias: 'pin'
File: /home/xxxxxxx/public_html/xxxxxxxxx/forum/Sources/Load.php
Line: 875
.:: Always something to ask - always grateful for assistance ::.

redwood44

Hi there,

after having upgraded my SMF RC2 to RC3 there are two big errors:

1.) the packet manager doesn't work any more. The installed packages (just location mod and ad management, no more mods installed) aren't shown as installed. It's impossible to delete them (the mods are listed, but they are not marked as installed, just "list files" and "delete" is shown - file listing works, delete doesn't).

Installation of other mods seem to be impossible too.

2.) There is a error message after clicking on the link that used to show the member map site (location mod by gobalopper). This is the message:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND )
AND (p.yPin BETWEEN AND )
AND p.ID_MEMBER = mem.ID_
File: /home/path/html/forum/Sources/MemberMap.php
Line: 101


I removed the mod and tried to install it again. Afterwards the "uninstall" link appeared, but the mod still didn't work (same errormessage as above). It is either impossible to deinstall the mod - this errormessage appears:

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


I've tried, but I can't solve the problem. Are there any suggestions?

Many thanks for your help.

Greetings,
redwood

Surferbird

I'm not sure, i hade similar problems after installing it and removed Dilber MC Theme. I'm just build the board so i installed a new board from scratch and all worked filn after that. Reason is unknown, suspose the database is destroyed in some way because i got many database error messages. This not gonna help you much but it solved my problem. Gopalopper Location mod works fine now, and all other mod installed after this issue. 8)
.:: Always something to ask - always grateful for assistance ::.

char39

Everything installed fine on RC 3 however there is no button on the forum to access the map.  Is there somewhere I can install one manually?

Advertisement: