Bug 780

Summary: [Chameleon-Widget]Broken image in map preview when using query in persistent and highlight mode
Product: Chameleon Reporter: Normand Savard <nsavard@mapgears.com>
Component: WidgetAssignee: Paul Spencer <pspencer@dmsolutions.ca>
Status: RESOLVED INVALID    
Severity: normal CC: chameleon-dev@lists.maptools.org
Priority: P2    
Version: 1.99   
Target Milestone: 1.99 beta 4   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments: sample_enhanced.tgz-sample_enhanced.html,sample_enhanced.phtml,nav_basic.html

Description From 2004-10-28 08:24:26
When executing a query in persistent and highlight mode the map is not redraw. 
A broken image appears instead.  If an update map is done, the map reappears. 
We could see then the selected element highlighted.  If we zoom in the element
is still highlighted.  So this is working as expected.  I used the
"sample_enhanced.phtml" application.


Fedora Core 2 
Chameleon beta 3 20041022
------- Comment #1 From 2004-10-28 08:48:42 -------
Changed target to 1.99 RC 1.
------- Comment #2 From 2004-10-28 11:14:40 -------
I can't reproduce this.  Please put a copy of the widget tag in here, or the
template you are using would be better in case you have made other changes.

Also, when you get a broken map image, please try to get the image source and
view it directly, often you will get mapserver error messages that would be most
helpful.
------- Comment #3 From 2004-10-28 12:14:23 -------
Created an attachment (id=55) [details]
sample_enhanced.tgz-sample_enhanced.html,sample_enhanced.phtml,nav_basic.html
------- Comment #4 From 2004-10-28 12:15:30 -------
Alrigh Paul.  Here is the broken image source.

http://127.0.0.1/nsavard/chameleon_beta/common//wrapper/drawmap.php?
map_session_mode=1&run_query=0&sid=418119ec30fcb&dummy=0.42021700+1098979822&
run_query=1&gszQueryCoords=366,197&gszPersistentQuery=true
------- Comment #5 From 2004-10-28 12:21:51 -------
if you load that url into the address bar, do you see any error messages?
------- Comment #6 From 2004-10-28 12:40:41 -------
Here is the result when I do a view source.  The application is asking for
php_mapscript.so but I configured php_mapscript_42.so in "chameleon.xml".


Warning: dl(): Unable to load dynamic library
'/usr/local/php436/lib/php/extensions/php_mapscript.so' -
/usr/local/php436/lib/php/extensions/php_mapscript.so: cannot open shared object
file: No such file or directory in
/home/nsavard/proj/chameleon_beta/htdocs/common/wrapper/drawmap.php on line 313

Fatal error: Call to undefined function: ms_getversion() in
/home/nsavard/proj/chameleon_beta/htdocs/common/wrapper/drawmap.php on line 314
------- Comment #7 From 2004-11-23 15:39:06 -------
cannot reproduce on gentoo/firefox using attachment.  I have not seen this error
in any other applications either.