Your problem is right there in your config. <br><br>
 &nbsp; &nbsp; &nbsp; /* A directory on this system that fusion can use for<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;temporary files. */<br>
 &nbsp; &nbsp; &nbsp; &quot;temporaryDirectory&quot;: &quot;/tmp&quot;<br><br>should be: <br><br>
 &nbsp; &nbsp; &nbsp; &quot;temporaryDirectory&quot;: &quot;/etc/apache2/tmp&quot;<br><br>also look at the image path and imageURL values. <br><br>
 &nbsp; &nbsp; &nbsp; &quot;imagePath&quot;: &quot;/tmp/ms_tmp&quot;,<br>
 &nbsp; &nbsp; &nbsp; /* The URL to the image path configured above. */<br>
 &nbsp; &nbsp; &nbsp; &quot;imageUrl&quot;: &quot;<a href="http://localhost/tmp/ms_tmp" target="_blank">http://localhost/tmp/ms_tmp</a>&quot;,<br>
 &nbsp; &nbsp; &nbsp; /* The file system path to where mapserver should put<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; web-accessible temporary legend images. */<br>
 &nbsp; &nbsp; &nbsp; &quot;legendIconCacheDir&quot;:&quot;/tmp/ms_<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">tmp&quot;</blockquote><br><br>Cheers<br>
<br>Paul D<br><br><br><br><div class="gmail_quote">On Tue, Oct 28, 2008 at 9:51 AM, Andrew Parker <span dir="ltr">&lt;<a href="mailto:andrew@source3.com">andrew@source3.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I got the Fusion Demo working as discussed in <a href="http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html" target="_blank">http://n2.nabble.com/Mapfile-not-displaying-in-Fusion-for-MapServer-td1379147.html</a>. &nbsp;The working Demo uses HostLinux offered by HostGIS.<br>

<br>
When I try to view the Demo using Ubuntu 8.04 server (and Ubuntu 7.10) I can only see the html layout, no layer tree or toolbars. &nbsp;However, I can see the mapfile using <a href="http://localhost/cgi-bin/mapserv?mode=map&amp;map=/var/www/chp2/hello.map" target="_blank">http://localhost/cgi-bin/mapserv?mode=map&amp;map=/var/www/chp2/hello.map</a>. <br>

I think the problem is where Fusion and MapServer is storing the temporary files. &nbsp;So I started playing around with the paths. &nbsp;The config.json file is as follows:<br>
<br>
<br>
/* This is the fusion configuration file. &nbsp;Adjust as necessary. */<br>
{<br>
 &nbsp; /* The general section contains settings that are general to<br>
 &nbsp; &nbsp; &nbsp;fusion as a whole. */<br>
 &nbsp; &quot;general&quot;: {<br>
 &nbsp; &nbsp; &nbsp; /* PHP is the default and only script language supported.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Don&quot;t change this. */<br>
 &nbsp; &nbsp; &nbsp; &quot;scriptLanguage&quot;: &quot;php&quot;,<br>
<br>
 &nbsp; &nbsp; &nbsp; /* A directory on this system that fusion can use for<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;temporary files. */<br>
 &nbsp; &nbsp; &nbsp; &quot;temporaryDirectory&quot;: &quot;/tmp&quot;<br>
 &nbsp; },<br>
 &nbsp; /* The MapGuide section is required if you are installing<br>
 &nbsp; &nbsp; &nbsp;fusion for MapGuide. */<br>
 &nbsp; &quot;mapguide&quot;: {<br>
 &nbsp; &nbsp; &nbsp; /* The WebTierURL is the url to mapguide, it should start<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;with http and end with /mapguide. &nbsp;If you have installed<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fusion inside the www directory of MapGuide, then you can<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;leave this empty as it will be automatically calculated. */<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;webTierUrl&quot;: &quot;&quot;<br>
 &nbsp; },<br>
 &nbsp; /* The MapServer section is required if you are installing fusion<br>
 &nbsp; &nbsp; &nbsp;for MapServer. */<br>
 &nbsp;&quot;mapserver&quot;: {<br>
 &nbsp; &nbsp; &nbsp; /* The URL of the mapserver CGI that you want to use. &nbsp;*/<br>
 &nbsp; &nbsp; &nbsp; &quot;cgi&quot;: &quot;/cgi-bin/mapserv&quot;,<br>
 &nbsp; &nbsp; &nbsp; /* The file system path to where mapserver should put<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; web-accessible temporary images. */<br>
 &nbsp; &nbsp; &nbsp; &quot;imagePath&quot;: &quot;/tmp/ms_tmp&quot;,<br>
 &nbsp; &nbsp; &nbsp; /* The URL to the image path configured above. */<br>
 &nbsp; &nbsp; &nbsp; &quot;imageUrl&quot;: &quot;<a href="http://localhost/tmp/ms_tmp" target="_blank">http://localhost/tmp/ms_tmp</a>&quot;,<br>
 &nbsp; &nbsp; &nbsp; /* The file system path to where mapserver should put<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; web-accessible temporary legend images. */<br>
 &nbsp; &nbsp; &nbsp; &quot;legendIconCacheDir&quot;:&quot;/tmp/ms_tmp&quot;<br>
 &nbsp; }<br>
}<br>
<br>
The ServerRoot in apache2 is /etc/apache2. &nbsp;The apache2 DocumentRoot is /var/www.<br>
<br>
Therefore, I created the directory tmp (/etc/apache2/tmp) and set permission to 777. &nbsp;Restarted apache2 and tested the demo. &nbsp;Same results. &nbsp;Looked in /etc/apache2/tmp and did not see any Fusion session files. &nbsp;I also create the /tmp/ms_tmp directories in /var/www and /var. &nbsp;No temp files were saved in these directories. <br>

Then I decided to change the SeverRoot to /var and /var/www to see what happens. &nbsp;Restarted apache2 and same results, only the html layout.<br>
<br>
Know I am out of ideas. &nbsp;Does anyone have an idea how to fix this. &nbsp;I really want to include how to get Fusion working in Ubuntu in my HowTo I am writing for grad school.<br>
<br>
Thank you very much.<br><font color="#888888">
<br>
-- <br>
Andrew<br>
<br>
_______________________________________________<br>
fusion-users mailing list<br>
<a href="mailto:fusion-users@lists.osgeo.org" target="_blank">fusion-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br> &nbsp; &nbsp;Paul Deschamps<br> &nbsp; &nbsp;Applications Specialist<br> &nbsp; &nbsp;DM Solutions Group Inc.<br><br> &nbsp; &nbsp;Office: (613) 565-5056 x28<br> &nbsp; &nbsp;<a href="mailto:pdeschamps@dmsolutions.ca">pdeschamps@dmsolutions.ca</a><br>
 &nbsp; &nbsp;<a href="http://www.dmsolutions.ca">http://www.dmsolutions.ca</a><br> &nbsp; &nbsp;<a href="http://research.dmsolutions.ca">http://research.dmsolutions.ca</a><br> &nbsp; &nbsp;<br><br>