[map module] New errors in .5 version

dotnature
dotnature's picture

Joined: 2005-10-26
Posts: 224
Posted: Tue, 2006-02-28 20:25

So I was debugging some other gallery2 errors and some notice errors have popped up. They are debug only errors though not sure if they matter.

This error occurs on the defualt photo page (top album)not the map
wing errors

Quote:
Notice: Undefined property: _entityType in /home/site/public_html/gallery2/modules/map/module.inc on line 266

Notice: Undefined variable: name in /home/site/public_html/gallery2/modules/map/module.inc on line 276

Notice: Undefined property: _entityType in /home/siter/public_html/gallery2/modules/map/module.inc on line 266

Notice: Undefined property: _entityType in /home/site/public_html/gallery2/modules/map/module.inc on line 266

Notice: Undefined property: _entityType in /home/site/public_html/gallery2/modules/map/module.inc on line 266

Notice: Undefined property: _entityType in /home/siter/public_html/gallery2/modules/map/module.inc on line 266

Notice: Undefined property: _entityType in /home/site/public_html/gallery2/modules/map/module.inc on line 266

then on the actual map

Quote:
Notice: Undefined property: _originationTimestamp in /home/site/public_html/gallery2/modules/map/ShowMap.inc on line 576

Notice: Undefined property: _originationTimestamp in /home/site/public_html/gallery2/modules/map/ShowMap.inc on line 576

Notice: Undefined property: _originationTimestamp in /home/site/public_html/gallery2/modules/map/ShowMap.inc on line 576

Have full debug if needed.

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2006-02-28 20:31

Yep that's an error. Can you add this to my list ?

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

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Wed, 2006-03-01 06:59

Attempting to upgrade from 0.4.9c to 0.5.0c produces below error.
Using G2.1

Error (ERROR_STORAGE_FAILURE) : Error trying to run query: ALTER TABLE g2_mapMap DROP INDEX g_itemId, ADD INDEX g2_mapMap_75985(g_itemId)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1519 (gallerycoreapi::error) 
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1295 (gallerystorageextras::_executesql) 
in modules/core/classes/GalleryStorage.class at line 625 (gallerystorageextras::configurestore) 
in modules/map/module.inc at line 419 (mysqlstorage::configurestore) 
in modules/core/classes/GalleryModule.class at line 157 (mapmodule::upgrade) 
in modules/core/AdminModules.inc at line 81 (mapmodule::installorupgrade) 
in main.php at line 199 (adminmodulescontroller::handlerequest) 
in main.php at line 87
in main.php at line 80

System Information:
Gallery version = 2.1-rc-1b
PHP version = 4.4.0-pl1-gentoo apache
Webserver = Apache 1.3.34
Database = mysql 4.0.25
Toolkits = Exif, Ffmpeg, NetPBM, ArchiveUpload, Thumbnail, Gd, Dcraw, ImageMagick
Operating system = Linux digi-archive 2.6.15-gentoo-r1 #1 SMP Sun Feb 5 12:13:48 PST 2006 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2006-03-01 15:03

ooo but of course ... I totally forgot about that. The storage has changed a LOT in galllery 2.1 and I COMPLETLY forgot to change that.

I'll take a look at the all upgrade path and correct some of those bug that are probably evrywhere....

Thanks for the report
-------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Thu, 2006-03-02 22:17
swordfish wrote:
Attempting to upgrade from 0.4.9c to 0.5.0c produces below error.
Using G2.1

Did you manage to upgrade anyway ? From what I see this code that's causing the error is actually needed for Gallery 2.1 and it shouldn't interfeer with the old stuff ....

I kinda wonder why this isn't working ... I'm gonna try on my end to upgrade from 2.0 to 2.1 as well as 0.4.9 to 0.5.0 ... we'll see :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Thu, 2006-03-02 22:42

Well I did a test and I successfully upgarded from Gallery 2.0 / 0.4.9x to the latest 0.5.0d ... I made a small changes in the upgarde path storage area, and it possibly fixed it.

I will let you check when I release 0.5.0d

See you !
-------------------------
The Termite :-)