[mapguide-users] Fusion Save Map Issues

Andrew DeMerchant andrew.demerchant at gemtec.ca
Thu Aug 14 13:17:30 EDT 2008


It may be an incompatibility in Studio that's the problem then - because 
my xml certainly doesn't look anything like that. I'll give it a try in 
Maestro a little later, and then if that doesn't work, I'll edit the xml 
myself...

Andrew


Jason Birch wrote:
>
> What does your AppDef look like for that widget?  This is working in 
> my map (credit to DM Solutions):
>
> <Widget xsi:type="WidgetType">
>
> <Name>SaveDWF</Name>
>
> <Type>SaveMap</Type>
>
> <Extension>
>
> <Format>DWF</Format>
>
> <PrintLayout>
>
> <Name>First</Name>
>
> <ResourceId>Library://Nanaimo/Apps/NanaimoMap/PrintLayouts/NanaimoMapDefault.PrintLayout</ResourceId>
>
> <Scale>10000</Scale>
>
> <PageHeight>8.5</PageHeight>
>
> <PageWidth>11</PageWidth>
>
> <Margins>
>
> <Top>1.5</Top>
>
> <Left>0.5</Left>
>
> <Bottom>0.5</Bottom>
>
> <Right>1.5</Right>
>
> </Margins>
>
> </PrintLayout>
>
> </Extension>
>
> <Label>Save as DWF</Label>
>
> <Tooltip>Click to save the current map as a DWF document</Tooltip>
>
> <StatusText/>
>
> </Widget>
>
> If this doesn't work, all I can suggest is adding a bunch of echo 
> statements to the code to see what state the variables have at 
> different points in execution.
>
> Jason
>
> *From:* mapguide-users-bounces at lists.osgeo.org 
> [mailto:mapguide-users-bounces at lists.osgeo.org] *On Behalf Of *Andrew 
> DeMerchant
> *Sent:* Thursday, August 14, 2008 09:27
> *To:* MapGuide Users Mail List
> *Subject:* Re: [mapguide-users] Fusion Save Map Issues
>
> No idea on the fix, but I can say I have the exact same problem 
> here....I've yet to really look into what might be the problem - in 
> hopes that I might be able to sort it out myself.
>
> Andrew
>
>
> Rock Beans wrote:
>
> I changed the mime type to text and got this output:
>
> <br />
> <b>Fatal error</b>:  Call to a member function Read() on a non-object 
> in <b>C:\Program 
> Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\MapGuide\php\SaveMap.php</b> 
> on line <b>104</b><br />
>
> Any ideas?
>
> The Rock
>
> ---------- Forwarded message ----------
> From: *Rock Beans* <rockbeans at gmail.com <mailto:rockbeans at gmail.com>>
> Date: Thu, Aug 14, 2008 at 10:30 AM
> Subject: Fusion Save Map Issues
> To: MapGuide Users Mail List <mapguide-users at lists.osgeo.org 
> <mailto:mapguide-users at lists.osgeo.org>>
>
> I am on the latest SVN release of Fusion and when I click save map I 
> get a Save/Open dialog now. The problem is the image is only 207 bytes 
> and not readable by any image program. I tried DWF and the DWF viewer 
> said it could not open the DWF files as well. What am I missing 
> please? IS the output buffer or the MIME type not working correctly?
>
> Fusion r1461
>
> The Rock
>
>   
> ------------------------------------------------------------------------
>
>
>    
>   
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org  <mailto:mapguide-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>    
>
> -- 
>
> 	
>
> *Andrew DeMerchant*
> *Computer Technologist*
> ph.1-877-2GEMTEC x.163
> fax 506-453-9470
>
> /GEMTEC Limited <http://www.gemtec.ca>
> /191 Doak Road
> Fredericton, NB, Canada
> E3C 2E6
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>    

-- 
	*Andrew DeMerchant*
*Computer Technologist*
ph.1-877-2GEMTEC x.163
fax 506-453-9470

/GEMTEC Limited <http://www.gemtec.ca>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6

-------------- next part --------------
Skipped content of type multipart/related


More information about the mapguide-users mailing list