Google Maps + Gallery

swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Mon, 2005-12-19 03:40

I added my bug on the Wiki under "Current Bugs Discovered (0.4.6)".
If this make sense to everyone then please add yours beneath this section to help out Termite.

Thanks!

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2005-12-19 04:02
Termitenshort wrote:
The tracklog adventure continues

It's amazing that you managed to get -anything- to happen with
that track. I'm willing to bet (not really) that the number of
trackpoints could be reduced considerably while still maintaining
some reasonable representation of the route. I'll see what
I can do using TopoFusion (which is where that track comes from).
I'll make several reductions and see what happens.
By the way, the folks that did that ride write that program.

 
kilativ

Joined: 2005-11-30
Posts: 29
Posted: Mon, 2005-12-19 04:05

I still think there is something wrong with new Google key profile feature. The problem is that the module looks up the google key by the $_SERVER['SERVER_NAME'] variable, while the Google API looks at the URL. Since i didn't transfer my domain to the new host yet, i access my website through the IP address. The PHP thinks that $_SERVER['SERVER_NAME'] is my domain name. So when i had to create a profile i used the domain name, but when i requested the key from Google i used the IP address.

I have a feeling that if you try to access the existing working google map module by IP address instead of the domain name you will get an error message from Google.

 
kilativ

Joined: 2005-11-30
Posts: 29
Posted: Mon, 2005-12-19 04:17
kilativ wrote:
I still think there is something wrong with new Google key profile feature. The problem is that the module looks up the google key by the $_SERVER['SERVER_NAME'] variable, while the Google API looks at the URL. Since i didn't transfer my domain to the new host yet, i access my website through the IP address. The PHP thinks that $_SERVER['SERVER_NAME'] is my domain name. So when i had to create a profile i used the domain name, but when i requested the key from Google i used the IP address.

I have a feeling that if you try to access the existing working google map module by IP address instead of the domain name you will get an error message from Google.

never mind. I take it back. that is the problem since before the profiles were introduced.

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 04:24
kilativ wrote:
I still think there is something wrong with new Google key profile feature. The problem is that the module looks up the google key by the $_SERVER['SERVER_NAME'] variable, while the Google API looks at the URL. Since i didn't transfer my domain to the new host yet, i access my website through the IP address. The PHP thinks that $_SERVER['SERVER_NAME'] is my domain name. So when i had to create a profile i used the domain name, but when i requested the key from Google i used the IP address.

I have a feeling that if you try to access the existing working google map module by IP address instead of the domain name you will get an error message from Google.

Yes that is true.

For example for my tests if I access my map via http://127.0.0.1 or http://localhost I need 2 different key from google.

This is why it comes in handy to create Key profiles (for both) and let the prog searching for the one I need :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 04:26
galmoid wrote:
Quote:
The tracklog adventure continues

It's amazing that you managed to get -anything- to happen with
that track. I'm willing to bet (not really) that the number of
trackpoints could be reduced considerably while still maintaining
some reasonable representation of the route. I'll see what
I can do using TopoFusion (which is where that track comes from).
I'll make several reductions and see what happens.
By the way, the folks that did that ride write that program.

I'm trying some optimization of the code and it seems to work better. The problem seems to come directly from the google API.
IN fact if I create all of the point arrays but do not display the overlays, it's increadibely fast and responsive.

I'm gonna do another tests using XMAPS as it optimize the polyline deal and see how it reacts.

Some optimized tracks would be nice I was looking at a way to reduce the number of points (over 10000) to see how it would look.

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 04:27
swordfish wrote:
I added my bug on the Wiki under "Current Bugs Discovered (0.4.6)".
If this make sense to everyone then please add yours beneath this section to help out Termite.

Thanks!

Thanks greatly swordfish. I do need teh help :)

I need some sleep time now.

Thanks all in advance

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-12-19 06:22

Just tried the new 0.46 (direct ZIP not CVS)

I had the same problems than already reported not getting my Map-Key accepted until I hardcoded in the .inc file directly. Setting the module up went then like a charm - but my map pages fail to be displayed (this was my reason to try the ZIP instead of the CVS). I'm back to 4.4(c I assume) from the CVS ...

CU
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
dotnature
dotnature's picture

Joined: 2005-10-26
Posts: 224
Posted: Mon, 2005-12-19 06:47

Whoa have you guys seen microsofts foray into google maps at http://local.live.com/ , not nearly as nice as google but the directions work quite well and has some decent features (right/left mousclick) but the bird eye view feature is pretty damn cool, zoom into new york or seattle and try it out, pretty crzy they look more like shots from an airplane than a sat, can actually see people in them.

http://www.wwmx.org/WebClient.aspx is also a microsoft thing, loads quite a bit of photo data fast, but dont like interface at all.

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2005-12-19 06:59

I'm sorry that there is confusion with the new map key management
feature. It really does work very well. I'll attempt to write
some documentation on it tomorrow.

 
kilativ

Joined: 2005-11-30
Posts: 29
Posted: Mon, 2005-12-19 09:51
Termitenshort wrote:
Yes that is true.

For example for my tests if I access my map via http://127.0.0.1 or http://localhost I need 2 different key from google.

This is why it comes in handy to create Key profiles (for both) and let the prog searching for the one I need :-)

How do you setup profiles in this case? As far as i understand $_SERVER['SERVER_NAME'] and port number would be the same.

Thanks

 
lond
lond's picture

Joined: 2005-06-27
Posts: 25
Posted: Mon, 2005-12-19 13:09
LFrank wrote:
Just tried the new 0.46 (direct ZIP not CVS)

I had the same problems than already reported not getting my Map-Key accepted until I hardcoded in the .inc file directly. Setting the module up went then like a charm - but my map pages fail to be displayed (this was my reason to try the ZIP instead of the CVS). I'm back to 4.4(c I assume) from the CVS ...

CU
Lutz

I have the same problem with the map-key.

//lond

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 13:26
kilativ wrote:
Quote:
Yes that is true.

For example for my tests if I access my map via http://127.0.0.1 or http://localhost I need 2 different key from google.

This is why it comes in handy to create Key profiles (for both) and let the prog searching for the one I need :-)

How do you setup profiles in this case? As far as i understand $_SERVER['SERVER_NAME'] and port number would be the same.

Thanks

Actually the SERVER_NAME is what you type in the address bar.

For instance if you get to your website via http://127.0.0.1 the server_name will be 127.0.0.1 and the address as well
if you go to your webstie via http://localhost, the server_name will be localhost but the address will be the same (127.0.0.1)

So, if everything works normally, the SERVER_NAME variable would display what's in the URL bar. If it's not the case I will change it completly for some cludge way I had originally that seemed to work better.

For the time being those are the lines to use (in ShowMap.inc around line 767

        //get the key profiles and select the correct one
        $servername = GalleryUtilities::getServerVar('SERVER_NAME');
        $serverport = GalleryUtilities::getServerVar('SERVER_PORT');

After that you create 1 profile for 127.0.0.1 as the server name and the other for localhost (for example)

See you

 
kilativ

Joined: 2005-11-30
Posts: 29
Posted: Mon, 2005-12-19 14:16

that's not the case for me, i access the website by IP address, but the server name is my domain name. Maybe it makes more sense to look at the URL just like Google, so the module and google will always be the same.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2005-12-19 14:51
galmoid wrote:
I'm sorry that there is confusion with the new map key management
feature. It really does work very well. I'll attempt to write
some documentation on it tomorrow.

Great! Can you test from a 'clean' install as well? I got it to work on a upgrade but not a a fresh install.

PS the new controls are almost done and will be posting this week.
I went through a few rewrites as I found various IE/FF stuff.

Dave

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 15:54
kilativ wrote:
that's not the case for me, i access the website by IP address, but the server name is my domain name. Maybe it makes more sense to look at the URL just like Google, so the module and google will always be the same.

Well if the "server name" appear in the variable but not in the address bar it's because it's configured that way in the config file for the server. I know in Apache it can be done easily.

So I guess I'd have to do the URL thing instead ...

 
kilativ

Joined: 2005-11-30
Posts: 29
Posted: Mon, 2005-12-19 16:09

well, that's just a suggestion that would work for me. You should do whatever you think is better for everybody, not just me. :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 16:14
kilativ wrote:
that's not the case for me, i access the website by IP address, but the server name is my domain name. Maybe it makes more sense to look at the URL just like Google, so the module and google will always be the same.

Can you try the following ?

In ShowMap.inc on line 768 replace
$servername = GalleryUtilities::getServerVar('SERVER_NAME');
with
$servername = GalleryUtilities::getServerVar('HTTP_HOST');

Let me know if it works (it will only affect the main map, not the "GET VIA MAP" thing)

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2005-12-19 18:06

The Map Key Management Feature

A new feature has been added to The Module that allows for multiple
map keys to be created (these are called Profiles). The Module will
automatically choose the appropriate key depending on the Server Name
and Server Port number. In it's simplest form, two keys could be created
with the same Server Name; but, different Port numbers (ie: 80 and 443).

Setup
In Site Admin/Google Map/Map Module Settings/General Settings
you will find Google Map Key Profile:. Here you will find a
drop-down box and two buttons, Add Profile and Delete Profile.

Click the Add Profile button and a new page will be displayed
with four entry boxes:

1. Name for the Profile: Type any name you wish (ie: myhost_80 or myhost_443)

2. Server Name (e.g. www.myserver.com): Here you enter you web server's
name. This may or may not be the base URL that you use to access your web
site.
NOTE: A simple way to find out what you should enter here would be to do
the following:

(a) Edit ShowMap.inc
(b) Just after the first line in ShowMap.inc
- First line:
<?php
- Add the following

$serverName = GalleryUtilities::getServerVar('HTTP_HOST');
$serverPort = GalleryUtilities::getServerVar('SERVER_PORT');
print ("serverName = $serverName");
print ("serverPort = $serverPort");

NOTE: Adding this will probably cause some formatting irregularities
in page that is displayed; but, it will not harm anything,

(c) Now access your map. At the top of the page you will see the reported
server name and the server port number. Record this information and then
remove (or comment out by placing two forward slashes // in front of the
added lines) the lines in ShowMap.inc that you added above.

Now add the reported server name in the Server Name (e.g. www.myserver.com):
entry box.

3. Port Number (e.g. 80 , 443, ...): Add the server port number that was
reported (using the method above) here

4. Google Map Key: Add the map key that you obtained from Google ([http://www.google.com/apis/maps/signup.html here])
in this entry box

NOTE: Most would want to obtain a map key for the top level of their
web site.
-For example:
-If your map page URL is:
http://www.mymaphost.com/gallery/main.php?g2_view=map.ShowMap
-get a key for http://www.mymaphost.com/
-this would cover any and all directories/URLs within this web site (including
your map whether or not your map is accessed via /gallery/ or /gallery2/ or ???)

-Now for a confusing map key possibility-
-If your server name is reported using the method above as www.mymaphost.com
but you actually use http://IP_ADDRESS/gallery/main.php?g2_view=map.ShowMap
to access your map, you would need to generate you map key using http://IP_ADDRESS/
and NOT the reported server name. You would -still- use the reported
server name in the 'Server Name (e.g. www.myserver.com):' entry box ( -NOT- the
IP_ADDRESS).

This is because the automatic lookup of the map key is done using the reported
server name (and server port number) and not the URL(IP_ADDRESS) you use to
access your map. The map key is tied to the URL and not the server name.

Also of note here is that, although it is possible to make two entries in
Map Key Management with the same server name under different Profile names,
Only one (I suspect the first one that is found) will be used. So you cannot
have an entry (Profile Name: myhost_domain_name) using a map key that was
generated for a domain name URL -and- an entry (Profile Name: myhost_IP) using
a map key generated for an IP address both using the same server name. Only
one will be used when you access the map and the other will generate a Google Map Key complaint.

An example of all this
Profile Name: myhost_80
Server Name: www.myhost.com
Port Number: 80
Google Map Key: ABCD_EFGHIJKLMNOPQRSTUVWXYZ (Fake key used here)

Profile Name: myhost_443
Server Name: www.myhost.com
Port Number: 443
Google Map Key: DCBA_EFGHIJKLMNOPQRSTUVWXYZ (Fake key used here)

Profile Name: myhost_IP_80
Server Name: myhost
Port Number: 80
Google Map Key: ZYXW_EFGHIJKLMNOPQRSTUVWXYZ (Fake key used here)

Profile Name: myhost_IP_443
Server Name: myhost
Port Number: 443
Google Map Key: WXYZ_EFGHIJKLMNOPQRSTUVWXYZ (Fake key used here)

-- This one will (or the one above with server name=www.myhost.com) be ignored because the server names are identical
Profile Name: myhost_IP_80_dom
Server Name: www.myhost.com
Port Number: 80
Google Map Key: GHIJ_EFGHIJKLMNOPQRSTUVWXYZ (Fake key used here)

Profile Name: anothervirtualhost_80
Server Name: www.virtualhost.com
Port Number: 80
Google Map Key: JKLM_EFGHIJKLMNOPQRSTUVWXYZ (Fake key used here)

Profile Name: anothervirtualhost_443
Server Name: www.virtualhost.com
Port Number: 443
Google Map Key: MNOP_EFGHIJKLMNOPQRSTUVWXYZ (Fake key used here)

Profile Name: yetanothervirtualhost_80
Server Name: www.virtualhost2.com
Port Number: 80
Google Map Key: RSTU_EFGHIJKLMNOPQRSTUVWXYZ (Fake key used here)

Profile Name: yetanothervirtualhost_443
Server Name: www.virtualhost2.com
Port Number: 443
Google Map Key: TUWX_EFGHIJKLMNOPQRSTUVWXYZ (Fake key used here)

I have tried to explain this as best I could; but, my brain does not
necessarily work (and probably does not :-) ) the same as anybody elses,
so please feel free to add/subtract/emphasize any or all parts of this.

I apologize for the length of this post, for anybody that needs it ;-).

This is also added to the WiKi.
Now I've probably confused everybody even more :-)

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-12-19 18:07

BIG problem - after updating vrom 4.4 to 4.6 (CVS) it knows the Map-Key and the admin module works perfect - but trying to open the map page ends in a blank page. Debug Output is below.
Any idea?

2005-12-19 19:14:32 [<no session id>] getParameter permissions.file for core plugin
2005-12-19 19:14:32 [<no session id>] file_exists(F:\g2data\cache\module/core/0/0/0.inc)
2005-12-19 19:14:32 [<no session id>] file_exists(F:\g2data\cache\module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
2005-12-19 19:14:32 [<no session id>] file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../modules/rewrite/classes/RewriteUrlGenerator.class)
2005-12-19 19:14:32 [<no session id>] <hr>
(mysql): 
    	SELECT
    	  g2_RewriteMap.g_match, g2_RewriteMap.g_pattern
    	FROM
    	  g2_RewriteMap
    	WHERE
    	  g2_RewriteMap.g_match &lt;&gt; ''
    	 &nbsp; <code></code>
<hr>

2005-12-19 19:14:32 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\sessions\29629eedab70a921d6b8b979de04de73)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] getParameter session.lifetime for core plugin
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] getParameter session.inactivityTimeout for core plugin
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] stat(F:\g2data\sessions\29629eedab70a921d6b8b979de04de73)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\sessions\29629eedab70a921d6b8b979de04de73)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] getParameter cookie.domain for core plugin
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] getParameter cookie.path for core plugin
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] controller , view map.ShowMap
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] Loading plugin core
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] Class not defined, trying to include it.
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../modules/core/module.inc)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] core plugin successfully instantiated
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\versions.dat)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file(F:\g2data\versions.dat, )
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] [1135016073] can't guarantee 5 -- extending!
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\entity/5/1/51740.inc)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] Loading plugin map
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] Class not defined, trying to include it.
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../modules/map/module.inc)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] realpath(C:\Inetpub\Scripts\GALLERY2\modules\core\classes/../../..)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] Binding text domain: modules_map -> C:\Inetpub\Scripts\GALLERY2/modules/map/locale
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] Loading plugin exif
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] Class not defined, trying to include it.
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../modules/exif/module.inc)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] exif plugin successfully instantiated
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] Check the version of the exif plugin
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] The version of the exif plugin is ok
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] setParameter oldexifversion for map plugin
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): UPDATE g2_PluginParameterMap SET g_parameterValue=0 WHERE g_pluginType='module' AND g_pluginId='map' AND g_itemId=0 AND g_parameterName='oldexifversion' &nbsp; <code></code>
<hr>

2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] is_dir(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] unlink(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:33 [29629eedab70a921d6b8b979de04de73] Plugin parameter oldexifversion for map plugin set successfully
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] Loading plugin imagemagick
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] Class not defined, trying to include it.
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../modules/imagemagick/module.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] imagemagick plugin successfully instantiated
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] Check the version of the imagemagick plugin
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] The version of the imagemagick plugin is ok
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] setParameter noimagemagick for map plugin
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
		  SELECT
		    g2_PluginParameterMap.g_parameterName,
		    g2_PluginParameterMap.g_parameterValue
		  FROM
		    g2_PluginParameterMap
		  WHERE
		    g2_PluginParameterMap.g_pluginType = 'module'
		    AND
		    g2_PluginParameterMap.g_pluginId = 'map'
		    AND
		    g2_PluginParameterMap.g_itemId = 0
		   &nbsp; <code></code>
<hr>

2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/map/0/0)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] is_dir(F:\g2data\cache\module/map/0/0)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] rename(F:\g2data\cache\module/map/0/0\0.i17D.tmp, F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): UPDATE g2_PluginParameterMap SET g_parameterValue=0 WHERE g_pluginType='module' AND g_pluginId='map' AND g_itemId=0 AND g_parameterName='noimagemagick' &nbsp; <code></code>
<hr>

2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] is_dir(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] unlink(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] Plugin parameter noimagemagick for map plugin set successfully
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] map plugin successfully instantiated
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] Check the version of the map plugin
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] The version of the map plugin is ok
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../modules/map/ShowMap.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] getParameter id.rootAlbum for core plugin
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\entity/0/0/6.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] Loading plugin PGtheme
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] Class not defined, trying to include it.
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../themes/PGtheme/theme.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] PGtheme plugin successfully instantiated
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] Check the version of the PGtheme plugin
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] The version of the PGtheme plugin is ok
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\theme/PGtheme/0/0/0.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\theme/PGtheme/0/0/6.inc)
2005-12-19 19:14:34 [29629eedab70a921d6b8b979de04de73] getParameter id.anonymousUser for core plugin
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] getParameter id.adminGroup for core plugin
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
        SELECT
          g2_UserGroupMap.g_userId
        FROM
          g2_UserGroupMap
        WHERE
          g2_UserGroupMap.g_userId = 51740
          AND
          g2_UserGroupMap.g_groupId = '2'
         LIMIT 1 &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
		  SELECT
		    g2_PluginParameterMap.g_parameterName,
		    g2_PluginParameterMap.g_parameterValue
		  FROM
		    g2_PluginParameterMap
		  WHERE
		    g2_PluginParameterMap.g_pluginType = 'module'
		    AND
		    g2_PluginParameterMap.g_pluginId = 'map'
		    AND
		    g2_PluginParameterMap.g_itemId = 0
		   &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/map/0/0)
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] is_dir(F:\g2data\cache\module/map/0/0)
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] rename(F:\g2data\cache\module/map/0/0\0.i17E.tmp, F:\g2data\cache\module/map/0/0/0.inc)
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] getParameter galleryLocation for rewrite plugin
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\module/rewrite/0/0/0.inc)
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
            SELECT g2_mapMap.g_itemId,
                g2_mapMap.g_value
            FROM g2_mapMap
            WHERE g2_mapMap.g_field = 'GPS'
         &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
        SELECT
          g2_ItemAttributesMap.g_parentSequence
        FROM
          g2_ItemAttributesMap
        WHERE
          g2_ItemAttributesMap.g_itemId = '48389'
         &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN ('6','50868') &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): SELECT g2_Entity.g_id, g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId, g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber, g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers, g2_ChildEntity.g_parentId, g2_FileSystemEntity.g_pathComponent, g2_Item.g_canContainChildren, g2_Item.g_description, g2_Item.g_keywords, g2_Item.g_ownerId, g2_Item.g_summary, g2_Item.g_title, g2_Item.g_viewedSinceTimestamp, g2_Item.g_originationTimestamp, g2_AlbumItem.g_theme, g2_AlbumItem.g_orderBy, g2_AlbumItem.g_orderDirection FROM g2_Entity, g2_ChildEntity, g2_FileSystemEntity, g2_Item, g2_AlbumItem WHERE g2_Entity.g_id IN (6,50868) AND g2_ChildEntity.g_id=g2_Entity.g_id AND g2_FileSystemEntity.g_id=g2_Entity.g_id AND g2_Item.g_id=g2_Entity.g_id AND g2_AlbumItem.g_id=g2_Entity.g_id &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\entity/4/8/48389.inc)
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
            SELECT g2_mapMap.g_itemId,g2_mapMap.g_value
            FROM g2_mapMap
            WHERE g2_mapMap.g_field = 'Colors' AND g2_mapMap.g_itemId = '48389'
             &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
            SELECT g2_mapMap.g_itemId,g2_mapMap.g_value
            FROM g2_mapMap
            WHERE g2_mapMap.g_field = 'ZoomLevel' AND g2_mapMap.g_itemId = '48389'
             &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\entity/5/0/50868.inc)
2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
        SELECT
          g2_ItemAttributesMap.g_parentSequence
        FROM
          g2_ItemAttributesMap
        WHERE
          g2_ItemAttributesMap.g_itemId = '48263'
         &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): SELECT g2_Entity.g_id, g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId, g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber, g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers, g2_ChildEntity.g_parentId, g2_FileSystemEntity.g_pathComponent, g2_Item.g_canContainChildren, g2_Item.g_description, g2_Item.g_keywords, g2_Item.g_ownerId, g2_Item.g_summary, g2_Item.g_title, g2_Item.g_viewedSinceTimestamp, g2_Item.g_originationTimestamp, g2_AlbumItem.g_theme, g2_AlbumItem.g_orderBy, g2_AlbumItem.g_orderDirection FROM g2_Entity, g2_ChildEntity, g2_FileSystemEntity, g2_Item, g2_AlbumItem WHERE g2_Entity.g_id IN (6,50868) AND g2_ChildEntity.g_id=g2_Entity.g_id AND g2_FileSystemEntity.g_id=g2_Entity.g_id AND g2_Item.g_id=g2_Entity.g_id AND g2_AlbumItem.g_id=g2_Entity.g_id &nbsp; <code></code>
<hr>

2005-12-19 19:14:35 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\entity/4/8/48263.inc)
2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
            SELECT g2_mapMap.g_itemId,g2_mapMap.g_value
            FROM g2_mapMap
            WHERE g2_mapMap.g_field = 'Colors' AND g2_mapMap.g_itemId = '48263'
             &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
            SELECT g2_mapMap.g_itemId,g2_mapMap.g_value
            FROM g2_mapMap
            WHERE g2_mapMap.g_field = 'ZoomLevel' AND g2_mapMap.g_itemId = '48263'
             &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
        SELECT
          g2_ItemAttributesMap.g_parentSequence
        FROM
          g2_ItemAttributesMap
        WHERE
          g2_ItemAttributesMap.g_itemId = '48142'
         &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): SELECT g2_Entity.g_id, g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId, g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber, g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers, g2_ChildEntity.g_parentId, g2_FileSystemEntity.g_pathComponent, g2_Item.g_canContainChildren, g2_Item.g_description, g2_Item.g_keywords, g2_Item.g_ownerId, g2_Item.g_summary, g2_Item.g_title, g2_Item.g_viewedSinceTimestamp, g2_Item.g_originationTimestamp, g2_AlbumItem.g_theme, g2_AlbumItem.g_orderBy, g2_AlbumItem.g_orderDirection FROM g2_Entity, g2_ChildEntity, g2_FileSystemEntity, g2_Item, g2_AlbumItem WHERE g2_Entity.g_id IN (6,50868) AND g2_ChildEntity.g_id=g2_Entity.g_id AND g2_FileSystemEntity.g_id=g2_Entity.g_id AND g2_Item.g_id=g2_Entity.g_id AND g2_AlbumItem.g_id=g2_Entity.g_id &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\entity/4/8/48142.inc)
2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
            SELECT g2_mapMap.g_itemId,g2_mapMap.g_value
            FROM g2_mapMap
            WHERE g2_mapMap.g_field = 'Colors' AND g2_mapMap.g_itemId = '48142'
             &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
            SELECT g2_mapMap.g_itemId,g2_mapMap.g_value
            FROM g2_mapMap
            WHERE g2_mapMap.g_field = 'ZoomLevel' AND g2_mapMap.g_itemId = '48142'
             &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
        SELECT
          g2_ItemAttributesMap.g_parentSequence
        FROM
          g2_ItemAttributesMap
        WHERE
          g2_ItemAttributesMap.g_itemId = '47682'
         &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): SELECT g2_Entity.g_id, g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId, g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber, g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers, g2_ChildEntity.g_parentId, g2_FileSystemEntity.g_pathComponent, g2_Item.g_canContainChildren, g2_Item.g_description, g2_Item.g_keywords, g2_Item.g_ownerId, g2_Item.g_summary, g2_Item.g_title, g2_Item.g_viewedSinceTimestamp, g2_Item.g_originationTimestamp, g2_AlbumItem.g_theme, g2_AlbumItem.g_orderBy, g2_AlbumItem.g_orderDirection FROM g2_Entity, g2_ChildEntity, g2_FileSystemEntity, g2_Item, g2_AlbumItem WHERE g2_Entity.g_id IN (6,50868) AND g2_ChildEntity.g_id=g2_Entity.g_id AND g2_FileSystemEntity.g_id=g2_Entity.g_id AND g2_Item.g_id=g2_Entity.g_id AND g2_AlbumItem.g_id=g2_Entity.g_id &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] file_exists(F:\g2data\cache\entity/4/7/47682.inc)
2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
            SELECT g2_mapMap.g_itemId,g2_mapMap.g_value
            FROM g2_mapMap
            WHERE g2_mapMap.g_field = 'Colors' AND g2_mapMap.g_itemId = '47682'
             &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
            SELECT g2_mapMap.g_itemId,g2_mapMap.g_value
            FROM g2_mapMap
            WHERE g2_mapMap.g_field = 'ZoomLevel' AND g2_mapMap.g_itemId = '47682'
             &nbsp; <code></code>
<hr>

2005-12-19 19:14:36 [29629eedab70a921d6b8b979de04de73] <hr>
(mysql): 
        SELECT
          g2_ItemAttributesMap.g_parentSequence
        FROM
          g2_ItemAttributesMap
        WHERE
          g2_ItemAttributesMap.g_itemId = '6'
         &nbsp; <code></code>
<hr>


ANy help appreciated,
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-12-19 18:15

Oops - Sorry, just realized I didn't attach BUT paste ...

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
kilativ

Joined: 2005-11-30
Posts: 29
Posted: Mon, 2005-12-19 18:48
Termitenshort wrote:
Can you try the following ?

In ShowMap.inc on line 768 replace
$servername = GalleryUtilities::getServerVar('SERVER_NAME');
with
$servername = GalleryUtilities::getServerVar('HTTP_HOST');

Let me know if it works (it will only affect the main map, not the "GET VIA MAP" thing)

I tried it. it allows me to access my gallery by IP and by host name. I just need to make sure i have profiles for both of them. I'd vote for this solution.

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 19:01
kilativ wrote:
Quote:
Can you try the following ?

In ShowMap.inc on line 768 replace
$servername = GalleryUtilities::getServerVar('SERVER_NAME');
with
$servername = GalleryUtilities::getServerVar('HTTP_HOST');

Let me know if it works (it will only affect the main map, not the "GET VIA MAP" thing)

I tried it. it allows me to access my gallery by IP and by host name. I just need to make sure i have profiles for both of them. I'd vote for this solution.

Sweet. I'll get that added to the files and post it to CVS and here as soon as all is corrected :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 19:10

galmoid,

I don't mean to be annoying or anything (even tho I know I am at times :)) but could you move the Key Management guide to the UserGuide portion that I started on the wiki ?

Maybe under this section: http://codex.gallery2.org/index.php/Gallery2:Modules:Map:UserGuide#Other_general_features

I dunno if everybody (or even anybody) knows about it but I have developping this guide for all users (new and old) to show all of the feature as well as how to use them s if you want to contribute, you all so welcome to do so.

Thanks galmoid for your work and thank you all for the (potential) help :)

-------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 19:13
LFrank wrote:
BIG problem - after updating vrom 4.4 to 4.6 (CVS) it knows the Map-Key and the admin module works perfect - but trying to open the map page ends in a blank page. Debug Output is below.
Any idea?

Did you try deleting the template cache and the database cache ?
Is there anything showing up in the source (view->source) ?

Otherwise ... weird. I would need FTP access to your server to try to troubleshoot that one.

 
joelion

Joined: 2004-11-04
Posts: 19
Posted: Mon, 2005-12-19 19:16

Termitenshort, galmoid - Thanks for the help on my problem on the previous page.
I don't know if I'm crazy or just stupid, but even after Termite logged into my map and entered a profile and said that it worked fine, I still got the error when trying to view any map.

I ended up hardcoding the mapkey into MapHeader.tpl and GPSHeader.tpl and it works great now.
thanks

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-12-19 19:59

Termitenshort,

clearing the caches didnt help much - it only created some addtional cache entries

2005-12-19 21:10:36 [microsoft207469863] <hr>
(mysql): 
	SELECT
	    g2_AccessSubscriberMap.g_itemId,
	    BIT_OR(g2_AccessMap.g_permission)
	FROM
	    g2_AccessMap, g2_AccessSubscriberMap
	WHERE
	    g2_AccessSubscriberMap.g_itemId IN (63097,63104,63110,63116,63123,63129,63135,63165,63177,63183,63189,63195,63201,63219,63225,63231,63237,63243,63249,63255,63261,63267,63273,63279,63285,63291,63303,63309,63315,63321,63327,63333,63339,63345,63351,63357,63363,63369,63375,63381,63387,63393,63411,63417,63423,63429,63435,63441,63447,63472)
	    AND
	    g2_AccessSubscriberMap.g_accessListId = g2_AccessMap.g_accessListId
	    AND
	    (g2_AccessMap.g_userId = 4
	    OR
	    g2_AccessMap.g_groupId IN (3,1))
	GROUP BY
	    g2_AccessSubscriberMap.g_itemId
	 &nbsp; <code></code>
<hr>

2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63097.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63104.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63110.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63116.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63123.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63129.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63135.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63165.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63177.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63183.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63189.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63195.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63201.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63219.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63225.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63231.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63237.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63243.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63249.inc)
2005-12-19 21:10:36 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63255.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63261.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63267.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63273.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63279.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63285.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63291.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63303.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63309.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63315.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63321.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63327.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63333.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63339.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63345.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63351.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63357.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63363.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63369.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63375.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63381.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63387.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63393.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63417.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63423.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63429.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63435.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63441.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63447.inc)
2005-12-19 21:10:37 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63472.inc)
2005-12-19 21:10:38 [microsoft207469863] <hr>
(mysql): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (63097,63104,63110,63116,63123,63129,63135,63165,63177,63183,63189,63195,63201,63219,63225,63231,63237,63243,63249,63255,63261,63267,63273,63279,63285,63291,63303,63309,63315,63321,63327,63333,63339,63345,63351,63357,63363,63369,63375,63381,63387,63393,63417,63423,63429,63435,63441,63447,63472) &nbsp; <code></code>
<hr>

2005-12-19 21:10:38 [microsoft207469863] <hr>
(mysql): SELECT g2_Entity.g_id, g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId, g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber, g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers, g2_ChildEntity.g_parentId, g2_FileSystemEntity.g_pathComponent, g2_Item.g_canContainChildren, g2_Item.g_description, g2_Item.g_keywords, g2_Item.g_ownerId, g2_Item.g_summary, g2_Item.g_title, g2_Item.g_viewedSinceTimestamp, g2_Item.g_originationTimestamp, g2_DataItem.g_mimeType, g2_DataItem.g_size, g2_PhotoItem.g_width, g2_PhotoItem.g_height FROM g2_Entity, g2_ChildEntity, g2_FileSystemEntity, g2_Item, g2_DataItem, g2_PhotoItem WHERE g2_Entity.g_id IN (63097,63104,63110,63116,63123,63129,63135,63165,63177,63183,63189,63195,63201,63225,63231,63237,63243,63249,63255,63261,63267,63273,63279,63285,63291,63303,63309,63315,63321,63327,63333,63339,63345,63351,63357,63363,63369,63375,63381,63387,63393,63417,63423,63429,63435,63441,63447,63472) AND g2_ChildEntity.g_id=g2_Entity.g_id AND g2_FileSystemEntity.g_id=g2_Entity.g_id AND g2_Item.g_id=g2_Entity.g_id AND g2_DataItem.g_id=g2_Entity.g_id AND g2_PhotoItem.g_id=g2_Entity.g_id &nbsp; <code></code>
<hr>

2005-12-19 21:10:38 [microsoft207469863] file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../modules/panorama/classes/PanoramaPhotoItem.class)
2005-12-19 21:10:38 [microsoft207469863] <hr>
(mysql): SELECT g2_Entity.g_id, g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId, g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber, g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers, g2_ChildEntity.g_parentId, g2_FileSystemEntity.g_pathComponent, g2_Item.g_canContainChildren, g2_Item.g_description, g2_Item.g_keywords, g2_Item.g_ownerId, g2_Item.g_summary, g2_Item.g_title, g2_Item.g_viewedSinceTimestamp, g2_Item.g_originationTimestamp, g2_DataItem.g_mimeType, g2_DataItem.g_size, g2_PhotoItem.g_width, g2_PhotoItem.g_height FROM g2_Entity, g2_ChildEntity, g2_FileSystemEntity, g2_Item, g2_DataItem, g2_PhotoItem WHERE g2_Entity.g_id IN (63219) AND g2_ChildEntity.g_id=g2_Entity.g_id AND g2_FileSystemEntity.g_id=g2_Entity.g_id AND g2_Item.g_id=g2_Entity.g_id AND g2_DataItem.g_id=g2_Entity.g_id AND g2_PhotoItem.g_id=g2_Entity.g_id &nbsp; <code></code>
<hr>

2005-12-19 21:10:38 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:38 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:38 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63097.inc)
2005-12-19 21:10:38 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6307AC.tmp, F:\g2data\cache\entity/6/3/63097.inc)
2005-12-19 21:10:38 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:38 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:38 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63104.inc)
2005-12-19 21:10:38 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317AD.tmp, F:\g2data\cache\entity/6/3/63104.inc)
2005-12-19 21:10:38 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:39 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:39 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63110.inc)
2005-12-19 21:10:39 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317AE.tmp, F:\g2data\cache\entity/6/3/63110.inc)
2005-12-19 21:10:39 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:39 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:39 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63116.inc)
2005-12-19 21:10:39 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317AF.tmp, F:\g2data\cache\entity/6/3/63116.inc)
2005-12-19 21:10:39 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:39 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:39 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63123.inc)
2005-12-19 21:10:39 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317B0.tmp, F:\g2data\cache\entity/6/3/63123.inc)
2005-12-19 21:10:39 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:39 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:39 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63129.inc)
2005-12-19 21:10:39 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317B1.tmp, F:\g2data\cache\entity/6/3/63129.inc)
2005-12-19 21:10:39 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:39 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63135.inc)
2005-12-19 21:10:40 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317B2.tmp, F:\g2data\cache\entity/6/3/63135.inc)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63165.inc)
2005-12-19 21:10:40 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317B3.tmp, F:\g2data\cache\entity/6/3/63165.inc)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63177.inc)
2005-12-19 21:10:40 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317B4.tmp, F:\g2data\cache\entity/6/3/63177.inc)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63183.inc)
2005-12-19 21:10:40 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317B5.tmp, F:\g2data\cache\entity/6/3/63183.inc)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63189.inc)
2005-12-19 21:10:40 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317B6.tmp, F:\g2data\cache\entity/6/3/63189.inc)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:40 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63195.inc)
2005-12-19 21:10:41 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6317B7.tmp, F:\g2data\cache\entity/6/3/63195.inc)
2005-12-19 21:10:41 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:41 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:41 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63201.inc)
2005-12-19 21:10:41 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327B8.tmp, F:\g2data\cache\entity/6/3/63201.inc)
2005-12-19 21:10:41 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:41 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:41 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63219.inc)
2005-12-19 21:10:41 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327B9.tmp, F:\g2data\cache\entity/6/3/63219.inc)
2005-12-19 21:10:41 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:41 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:41 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63225.inc)
2005-12-19 21:10:41 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327BA.tmp, F:\g2data\cache\entity/6/3/63225.inc)
2005-12-19 21:10:41 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:41 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:41 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63231.inc)
2005-12-19 21:10:41 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327BB.tmp, F:\g2data\cache\entity/6/3/63231.inc)
2005-12-19 21:10:42 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:42 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:43 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63237.inc)
2005-12-19 21:10:43 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327BC.tmp, F:\g2data\cache\entity/6/3/63237.inc)
2005-12-19 21:10:43 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:43 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:43 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63243.inc)
2005-12-19 21:10:43 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327BD.tmp, F:\g2data\cache\entity/6/3/63243.inc)
2005-12-19 21:10:43 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:43 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:43 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63249.inc)
2005-12-19 21:10:43 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327BE.tmp, F:\g2data\cache\entity/6/3/63249.inc)
2005-12-19 21:10:43 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:43 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:44 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63255.inc)
2005-12-19 21:10:44 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327BF.tmp, F:\g2data\cache\entity/6/3/63255.inc)
2005-12-19 21:10:44 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:44 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:44 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63261.inc)
2005-12-19 21:10:44 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327C0.tmp, F:\g2data\cache\entity/6/3/63261.inc)
2005-12-19 21:10:44 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:44 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:44 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63267.inc)
2005-12-19 21:10:44 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327C1.tmp, F:\g2data\cache\entity/6/3/63267.inc)
2005-12-19 21:10:44 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:44 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:44 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3/63273.inc)
2005-12-19 21:10:44 [microsoft207469863] rename(F:\g2data\cache\entity/6/3\6327C2.tmp, F:\g2data\cache\entity/6/3/63273.inc)
2005-12-19 21:10:44 [microsoft207469863] file_exists(F:\g2data\cache\entity/6/3)
2005-12-19 21:10:44 [microsoft207469863] is_dir(F:\g2data\cache\entity/6/3)

Buffered Debug is giving no info - only logged gives some hints.
Which dir's would you need access to?

Thanks,
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 20:18
joelion wrote:
Termitenshort, galmoid - Thanks for the help on my problem on the previous page.
I don't know if I'm crazy or just stupid, but even after Termite logged into my map and entered a profile and said that it worked fine, I still got the error when trying to view any map.

I ended up hardcoding the mapkey into MapHeader.tpl and GPSHeader.tpl and it works great now.
thanks

hmmm ... there something wacky about that. when i post 0.4.6b let me know if it fixes your problem ...

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 20:21
LFrank wrote:
Termitenshort,

clearing the caches didnt help much - it only created some addtional cache entries

Buffered Debug is giving no info - only logged gives some hints.
Which dir's would you need access to?

I would just need access to the map module dir. there shouldn't be anything else to change. I would also need access to the admin panel (temporarely) if it's possible

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2005-12-19 20:35
Termitenshort wrote:
I don't mean to be annoying or anything

I bet you enjoy it! :-).
OK. Done. Just keep pushing me around . . . until I get it correct.

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2005-12-19 20:40
joelion wrote:
Termitenshort, galmoid - Thanks for the help on my problem on the previous page.
I don't know if I'm crazy or just stupid, but even after Termite logged into my map and entered a profile and said that it worked fine, I still got the error when trying to view any map.

I ended up hardcoding the mapkey into MapHeader.tpl and GPSHeader.tpl and it works great now.
thanks

Take a look at the loooong post I made and see if it helps in
any way. It's here.

It would be nice to hear if it is helpful.

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2005-12-19 20:44
floridave wrote:
Can you test from a 'clean' install as well? I got it to work on a upgrade but not a a fresh install.

Here are some results of a 'clean' install.
----------
NOTE: I did not 'delete template cache' after removal but I did do this after installation before anything else (ie: configuring any map stuff)

I accessed the map without doing any map configuration at all (ie: no key profiles or anything) and this is the result:
-----

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 945

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 945

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 945

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 962

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 962

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 962
--

Google key complaint popup
Clicked OK
--

On first access, where the map would be, a message regarding An attempt to hack the filter (or something like that) appeared.

--

On a second access the hack message no longer appeared; but instead, the following
-
Photo Map
There is no item with GPS coordinates Check the Wiki for more information

-----

Now I configured a profile for the map key

-----

Same result as the second attempt above; but, no Google key complaint

Of course, all of the items that had previously been assigned coordinates no longer had them since the g2_mapMap table had been
removed upon uninstalling the map module
-----

I re-assigned coordinates to the items previously having them

-----

The next access gave me a map (a huge map) that did not appear to have any markers. The 'Warning: array_key_exists(): stuff is still there
I zoomed out the map and eventually go to a point where I found that there were extremely small markers (unrecognizable) that could be clicked

-----

I went back to do more map configuration

-----

I first checked 'Auto Center and Auto Zoom:'
I left 'Map Width:' and 'Map Height:' set to the default 600px x 400px (sure did not appear to respect this first time out)
I checked 'Show Scale:'
I checked 'Show "Zoom in" Links:'
Saved Settings
---
I did nothing with ' GxMagnifier Settings '
---
In ' Theme settings '
I selected 'Stock - Large' for 'Map Control Size / Type:'
Also on the screen was:

Please select a default marker set and save.
No photo marker set selected. Please select one and save!
Please select a default color and save.
Select default album marker set and color:
Please select a default marker set and save.
No album marker set selected. Please select one and save!
Please select a default color and save.

I left everything else be and did a Save Settings

Now only two of the 'Please selects' appeared:

Please select a default color and save.
Select default album marker set and color:
Please select a default color and save.

I did another Save Settings without touching anything

Now the screen was clean with no warnings or anything

Moved on to ' Legend/Filter Management '
'Filter List:' said <<No Filters>>
I did an Add and added one filter with a zoom of zero
Save Settings
Got a complaint here ' Please enter a zoom value between 0 and 17'
Entered a zoom of one instead
Save Settings
The zoom of one was accepted without complaint
I changed 'Legend Position:' to be left instead of right
I left everything else as it was
Save Legend

' Routes Management'
Even though I was using FF I got this on the screen:
Your Theme.tpl file does not contain the right HTML tag, routes will not display in Internet Explorer Refer to "" The map Module Wiki for a workaround

I did not enter or change anything in ' Routes Management'

Now I attempted to access the map as before:
On this attempt everything worked fine. No errors or anything.
The filter also worked. It zoomed into the specified zoom level which was set to 1 in the configuration.

-----

Do not try this at home. You will wipe out all of your hard work of entering coordinates on you items.
floridave - You owe me, man. ;-)

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-12-19 21:03

Termitenshort, you have a PM ;)
Thanks
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 21:03
galmoid wrote:
Quote:
I don't mean to be annoying or anything

I bet you enjoy it! :-).

That's part of the problem :)

galmoid wrote:
OK. Done. Just keep pushing me around . . . until I get it correct.

I'm good at that too :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 22:41
LFrank wrote:
Termitenshort, you have a PM ;)
Thanks
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

I will take a look at that tonight.
I just checked quickly and you are using the PG theme. I know I have encountered problems in the past with that theme so it's possible that they are still existing.

I will also try to install it on my PC to see if it works here :-)

I will let you know if I get somewhere :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-19 23:59
galmoid wrote:
Here are some results of a 'clean' install.

Thanks for all your testing, you are the man :-) Best Tester Award 2005 (if there is one:))

galmoid wrote:
----------
NOTE: I did not 'delete template cache' after removal but I did do this after installation before anything else (ie: configuring any map stuff)

I accessed the map without doing any map configuration at all (ie: no key profiles or anything) and this is the result:
-----

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 945

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 945

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 945

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 962

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 962

Warning: array_key_exists(): The second argument should be either an array or an object in /opt/csw/apache/htdocs/gallery/modules/map/ShowMap.inc on line 962

This is known, I have fixed it for the next release 0.4.6b comming soon.

galmoid wrote:
--

Google key complaint popup
Clicked OK
--

I need to do some validation on that regards, should be farily easy to add

galmoid wrote:
On first access, where the map would be, a message regarding An attempt to hack the filter (or something like that) appeared.

Weird ...

galmoid wrote:
--

On a second access the hack message no longer appeared; but instead, the following
-
Photo Map
There is no item with GPS coordinates Check the Wiki for more information

-----

Normal behaviour, but should first error out because of the key problem.

galmoid wrote:
Now I configured a profile for the map key

-----
Same result as the second attempt above; but, no Google key complaint

Of course, all of the items that had previously been assigned coordinates no longer had them since the g2_mapMap table had been
removed upon uninstalling the map module
-----

I re-assigned coordinates to the items previously having them

-----

The next access gave me a map (a huge map) that did not appear to have any markers.

My mistake, with the "%" thing. I need to look into that :-)

galmoid wrote:
The 'Warning: array_key_exists(): stuff is still there
I zoomed out the map and eventually go to a point where I found that there were extremely small markers (unrecognizable) that could be clicked

probably normal behaviour

galmoid wrote:
-----

I went back to do more map configuration

-----

I first checked 'Auto Center and Auto Zoom:'
I left 'Map Width:' and 'Map Height:' set to the default 600px x 400px (sure did not appear to respect this first time out)

It was probably using 400% and 600% instead :-) I need to do some checking on that as well

galmoid wrote:
I checked 'Show Scale:'
I checked 'Show "Zoom in" Links:'
Saved Settings
---
I did nothing with ' GxMagnifier Settings '
---
In ' Theme settings '
I selected 'Stock - Large' for 'Map Control Size / Type:'
Also on the screen was:

Please select a default marker set and save.
No photo marker set selected. Please select one and save!
Please select a default color and save.
Select default album marker set and color:
Please select a default marker set and save.
No album marker set selected. Please select one and save!
Please select a default color and save.

I left everything else be and did a Save Settings

Now only two of the 'Please selects' appeared:

Please select a default color and save.
Select default album marker set and color:
Please select a default color and save.

Since now everybody has at least 3 marker sets provided with the module, maybe I will set one by default :-)

galmoid wrote:
I did another Save Settings without touching anything

Now the screen was clean with no warnings or anything

Moved on to ' Legend/Filter Management '
'Filter List:' said <<No Filters>>
I did an Add and added one filter with a zoom of zero
Save Settings
Got a complaint here ' Please enter a zoom value between 0 and 17'
Entered a zoom of one instead

I need to solve that - BUG

galmoid wrote:
Save Settings
The zoom of one was accepted without complaint
I changed 'Legend Position:' to be left instead of right
I left everything else as it was
Save Legend

' Routes Management'
Even though I was using FF I got this on the screen:
Your Theme.tpl file does not contain the right HTML tag, routes will not display in Internet Explorer Refer to "" The map Module Wiki for a workaround

Normal behaviour I put that warning message so that user know routes cannot be viewed using IE unless the template is changed.

galmoid wrote:
I did not enter or change anything in ' Routes Management'

Now I attempted to access the map as before:
On this attempt everything worked fine. No errors or anything.
The filter also worked. It zoomed into the specified zoom level which was set to 1 in the configuration.

-----

Do not try this at home. You will wipe out all of your hard work of entering coordinates on you items.
floridave - You owe me, man. ;-)

Lol, I'm glad this is working finally :-)

I guess the outcome is that I need to force the user to setup a Map Key if not there and also I will point to a default marker set and color right from the start 9to avoid further error)

Also I need some more error checking on the ShowMap.

Well ... I'm not yet in my bed tonight ...

See you

 
conorboyd

Joined: 2005-03-29
Posts: 166
Posted: Tue, 2005-12-20 00:01

0.4.6 works okay for me with PG Theme, albeit with the few issues that I'd raised yesterday. My first assumption was also that my issues were probably related to the % support.

Gallery version = 2.0 core 1.0.0
PHP version = 4.4.0 cgi
Webserver = Apache/1.3.33 (Unix) Vortech_PHP/0.1.0-p0 FrontPage/5.0.2.2623 mod_throttle/3.1.2 mod_ssl/2.8.22 OpenSSL/0.9.7d
Database = mysql 4.0.20
Toolkits = Exif, Gd, ImageMagick, NetPBM
Operating system = FreeBSD unix11.hsphere.cc 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Aug i386

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 00:01

Termite,
I also think it would be a good idea to use HTTP_HOST in place of SERVER_NAME
in the Map Key Management. I'm kinda sorry to have gotten this on the path of
using SERVER_NAME instead. I cannot think of any situation where HTTP_HOST
would not work properly.

I guess such a change may wery well render the Key Management doc I posted
null and void (well, at least it would probably require some updating).

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 00:08
galmoid wrote:
Termite,
I also think it would be a good idea to use HTTP_HOST in place of SERVER_NAME
in the Map Key Management. I'm kinda sorry to have gotten this on the path of
using SERVER_NAME instead. I cannot think of any situation where HTTP_HOST
would not work properly.

I guess such a change may wery well render the Key Management doc I posted
null and void (well, at least it would probably require some updating).

I did change SERVER_NAME for HTTP_HOST, works for kilativ now ;)

And I think we need to keep the post/wiki doc about the key management. It's not necessarely obvious to use so it's better to get some details on it. I have not gotten a chance to look into the details so i'm not sure about the need for updating :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 00:21

I have all the problems found and mentiond by galmoid fixed (quicker than I thought ...)

I still need to fix:

The bug with show/hide (tonight - easy)
Add the Edit function for the key management (tonight - medium)

Any other stuff that I forgot on the way ?

Thanks :)
-------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 00:32
LFrank wrote:
Termitenshort, you have a PM ;)
Thanks
Lutz

I was taking another quick look at your gallery and I found some extremly weird stuff ... My guess is that the install did NOT go well (maybe some permission problems or file that could no be overwritten).

For exemple it says in Legend/Filter management that the Legend is "to be implemented" ... it has been for a little bit now. So that means that you have a bad MapSiteAdmin.tpl file .... I would not be surprised that other files are also messed up.

Here is what you can do:

1 - keep the module activated and installed
2 - Delete all the file in the modules/map/ folder (except your markers if you have created new ones)
3 - Download the ZIP again (just to be sure)
4 - Upload all the files to the modules/map folder
5 - Delete the template cache

Everything should work better after that. The root cause is probably some rights issue o something of the sort that prevented some files from being overwritten with the new ones.

The reason I want you yo keep the module activated is so that you don't loose any of your settings in the DB :)

If the problem is still there I will move on to the FTP access and fix it from there.

Let me know
-----------------------
The Termite :-)

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 00:50
Termitenshort wrote:
Any other stuff that I forgot on the way?

Nudge, Nudge :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 00:57
galmoid wrote:
Quote:
Any other stuff that I forgot on the way?

Nudge, Nudge :-)

OuuuuPs almost forgot about that :) I'll take care of it tonight as well

 
dotnature
dotnature's picture

Joined: 2005-10-26
Posts: 224
Posted: Tue, 2005-12-20 01:47

Termitenshort's Donation x-mas fund!:):)

He's been doing a hell of a lot work so I thought id help out since im not even testing maps atm, merry x-mas termitenshort

http://dotnature.com/index.php?option=com_content&task=blogsection&id=4&Itemid=9


*note..my site is under a redesign, maps don't even work yet... it will be up by the end of january but this page will be preserved prob with a diff link, I will add this link to wiki if its ok,

cheers.

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 03:42
dotnature wrote:
Termitenshort's Donation x-mas fund!:):)

He's been doing a hell of a lot work so I thought id help out since im not even testing maps atm, merry x-mas termitenshort

http://dotnature.com/index.php?option=com_content&task=blogsection&id=4&Itemid=9


*note..my site is under a redesign, maps don't even work yet... it will be up by the end of january but this page will be preserved prob with a diff link, I will add this link to wiki if its ok,

cheers.

Well I want to say publicly Thank you very much for this initiative. I'm obviously not doing this for money but it's greatly appreciated and I really enjoy working on the module.

I hope one day it will be stable enought to make it into a version 1.0.0 and also in the gallery directly :-)

Thanks a lot

-------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 04:11

Well, One more thing before I go to bed :

Version 0.4.6b with only bug fixes (many bugs though) some improvement to the interface (more friendly errors) and also an "Edit" button for the Google Map key Management (whou hou) !

CVS is updated (I think, I was having some very strange behaviour there) and for those without CVS, download is below :)

Also, I remove this from the wiki:

* '''Map Key''' - On a new fresh install the map key is not saved. 

Because, It would be impossible to do as the server name and port are not known during the module upgrade

-------------------------
The Termite :-)

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 05:01

Termitenshort,

Thanks for all your work ... did exactly as suggested - still the same behaviour.
Put 4.6b on top - sigh... no success.
...
strange that all admin parts - even selecting new locations works fine - only the Map display breaks...

keeping the ftp open ;)
Thanks,
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Tue, 2005-12-20 05:18

Good work! 0.4.6b fixed the Album Legend bug.

Thanks!

 
joelion

Joined: 2004-11-04
Posts: 19
Posted: Tue, 2005-12-20 09:01
galmoid wrote:
Take a look at the loooong post I made and see if it helps in
any way. It's here.

It would be nice to hear if it is helpful.

Hey - Termitenshort spent quite some time with me on IM yesterday and we got all the problems fixed. I think the changes he made are included in 0.4.6b or whatever the latest version is. So my map is up and working, and now it's just time to populate and tag it!
thanks again and great work. I'll continue to follow progress and use the Wiki for bugs and feature requests.

 
Mozambique

Joined: 2005-11-29
Posts: 108
Posted: Tue, 2005-12-20 13:45

After upgrading from 0.4.4d to 0.4.6b, my filters got messed up. Tried to delete and add new filters, but they dont work. That is; Default map is loaded wich ever filter I choose. If I uncheck the "Show Album filters" they show up anyway....
After deleting all filters, I now got default and a blank as options. In admin menu, I only got a blank (see pics)