Your problem is right there in your config. <br><br>
/* A directory on this system that fusion can use for<br>
temporary files. */<br>
"temporaryDirectory": "/tmp"<br><br>should be: <br><br>
"temporaryDirectory": "/etc/apache2/tmp"<br><br>also look at the image path and imageURL values. <br><br>
"imagePath": "/tmp/ms_tmp",<br>
/* The URL to the image path configured above. */<br>
"imageUrl": "<a href="http://localhost/tmp/ms_tmp" target="_blank">http://localhost/tmp/ms_tmp</a>",<br>
/* The file system path to where mapserver should put<br>
web-accessible temporary legend images. */<br>
"legendIconCacheDir":"/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"</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"><<a href="mailto:andrew@source3.com">andrew@source3.com</a>></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>. 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. However, I can see the mapfile using <a href="http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map" target="_blank">http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/chp2/hello.map</a>. <br>
I think the problem is where Fusion and MapServer is storing the temporary files. So I started playing around with the paths. The config.json file is as follows:<br>
<br>
<br>
/* This is the fusion configuration file. Adjust as necessary. */<br>
{<br>
/* The general section contains settings that are general to<br>
fusion as a whole. */<br>
"general": {<br>
/* PHP is the default and only script language supported.<br>
Don"t change this. */<br>
"scriptLanguage": "php",<br>
<br>
/* A directory on this system that fusion can use for<br>
temporary files. */<br>
"temporaryDirectory": "/tmp"<br>
},<br>
/* The MapGuide section is required if you are installing<br>
fusion for MapGuide. */<br>
"mapguide": {<br>
/* The WebTierURL is the url to mapguide, it should start<br>
with http and end with /mapguide. If you have installed<br>
fusion inside the www directory of MapGuide, then you can<br>
leave this empty as it will be automatically calculated. */<br>
"webTierUrl": ""<br>
},<br>
/* The MapServer section is required if you are installing fusion<br>
for MapServer. */<br>
"mapserver": {<br>
/* The URL of the mapserver CGI that you want to use. */<br>
"cgi": "/cgi-bin/mapserv",<br>
/* The file system path to where mapserver should put<br>
web-accessible temporary images. */<br>
"imagePath": "/tmp/ms_tmp",<br>
/* The URL to the image path configured above. */<br>
"imageUrl": "<a href="http://localhost/tmp/ms_tmp" target="_blank">http://localhost/tmp/ms_tmp</a>",<br>
/* The file system path to where mapserver should put<br>
web-accessible temporary legend images. */<br>
"legendIconCacheDir":"/tmp/ms_tmp"<br>
}<br>
}<br>
<br>
The ServerRoot in apache2 is /etc/apache2. The apache2 DocumentRoot is /var/www.<br>
<br>
Therefore, I created the directory tmp (/etc/apache2/tmp) and set permission to 777. Restarted apache2 and tested the demo. Same results. Looked in /etc/apache2/tmp and did not see any Fusion session files. I also create the /tmp/ms_tmp directories in /var/www and /var. 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. Restarted apache2 and same results, only the html layout.<br>
<br>
Know I am out of ideas. Does anyone have an idea how to fix this. 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> Paul Deschamps<br> Applications Specialist<br> DM Solutions Group Inc.<br><br> Office: (613) 565-5056 x28<br> <a href="mailto:pdeschamps@dmsolutions.ca">pdeschamps@dmsolutions.ca</a><br>
<a href="http://www.dmsolutions.ca">http://www.dmsolutions.ca</a><br> <a href="http://research.dmsolutions.ca">http://research.dmsolutions.ca</a><br> <br><br>