If you put an image in /etc/apache2/tmp/ms_tmp/<br><br>and your browse to <a href="http://localhost/tmp/ms_tmp" target="_blank">http://localhost/tmp/ms_tmp</a> do you see the image in the web browser. <br><br>Also you have not told us what error message you are receiving when you browse to the fusion application. <br>
<br>Cheers<br><br>Paul D<br><br><div class="gmail_quote">On Tue, Oct 28, 2008 at 12:17 PM, 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;">
Ok, I must be missing the obvious as I still cannot see the demo. &nbsp;I made the changes per Paul D&#39;s suggestions (see below).<br>
<br>
This is what I did:<br>
1. verified that the ServerRoot is &quot;/etc/apache2&quot;<br>
2. verified that the DocumentRoot is set to &quot;/var/www&quot;<br>
3. verified that &quot;/etc/ apache2/tmp&quot; exists and permissions set to 777<br>
4. verfied that &quot;/var/www/tmp/ms_tmp&quot; exists and permissions set to 777<br>
5. Modified Fusions&#39; config.json as shown below<br>
5. Restarted apache2<br>
<br>
<br>
current configuration of config.json:<div class="Ih2E3d"><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></div>
 &nbsp; &nbsp; &nbsp; &quot;temporaryDirectory&quot;: &quot;/etc/apache2/tmp&quot;<div class="Ih2E3d"><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></div>
 &nbsp; &nbsp; &nbsp; &quot;imagePath&quot;: &quot;/var/www/tmp/ms_tmp&quot;,<div class="Ih2E3d"><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></div>
 &nbsp; &nbsp; &nbsp; &quot;legendIconCacheDir&quot;:&quot;/var/www/tmp/ms_tmp&quot;<br>
 &nbsp; }<br>
}<br>
<br>
Any other setting/configurations I should check?<br>
<br>
In a twisted sort of way, I love this debugging stuff!<br>
<br>
~andrew<br>
<br>
<br>
<br>
<br>
Paul Deschamps wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
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; 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_<br>
<br>
 &nbsp; &nbsp;tmp&quot;<br>
<br>
<br>
<br>
Cheers<br>
<br>
Paul D<br>
<br>
<br>
<br></div><div><div></div><div class="Wj3C7c">
On Tue, Oct 28, 2008 at 9:51 AM, Andrew Parker &lt;<a href="mailto:andrew@source3.com" target="_blank">andrew@source3.com</a> &lt;mailto:<a href="mailto:andrew@source3.com" target="_blank">andrew@source3.com</a>&gt;&gt; wrote:<br>

<br>
 &nbsp; &nbsp;I got the Fusion Demo working as discussed in<br>
 &nbsp; &nbsp;<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>.<br>
 &nbsp; &nbsp; The working Demo uses HostLinux offered by HostGIS.<br>
<br>
 &nbsp; &nbsp;When I try to view the Demo using Ubuntu 8.04 server (and Ubuntu<br>
 &nbsp; &nbsp;7.10) I can only see the html layout, no layer tree or toolbars.<br>
 &nbsp; &nbsp; However, I can see the mapfile using<br>
 &nbsp; &nbsp;<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>
 &nbsp; &nbsp;&lt;<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>&gt;.<br>
<br>
 &nbsp; &nbsp;I think the problem is where Fusion and MapServer is storing the<br>
 &nbsp; &nbsp;temporary files. &nbsp;So I started playing around with the paths. &nbsp;The<br>
 &nbsp; &nbsp;config.json file is as follows:<br>
<br>
<br>
 &nbsp; &nbsp;/* This is the fusion configuration file. &nbsp;Adjust as necessary. */<br>
 &nbsp; &nbsp;{<br>
 &nbsp; &nbsp; &nbsp;/* The general section contains settings that are general to<br>
 &nbsp; &nbsp; &nbsp; &nbsp; fusion as a whole. */<br>
 &nbsp; &nbsp; &nbsp;&quot;general&quot;: {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* PHP is the default and only script language supported.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Don&quot;t change this. */<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;scriptLanguage&quot;: &quot;php&quot;,<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* A directory on this system that fusion can use for<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; temporary files. */<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;temporaryDirectory&quot;: &quot;/tmp&quot;<br>
 &nbsp; &nbsp; &nbsp;},<br>
 &nbsp; &nbsp; &nbsp;/* The MapGuide section is required if you are installing<br>
 &nbsp; &nbsp; &nbsp; &nbsp; fusion for MapGuide. */<br>
 &nbsp; &nbsp; &nbsp;&quot;mapguide&quot;: {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* The WebTierURL is the url to mapguide, it should start<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; with http and end with /mapguide. &nbsp;If you have installed<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fusion inside the www directory of MapGuide, then you can<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; leave this empty as it will be automatically calculated. */<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;webTierUrl&quot;: &quot;&quot;<br>
 &nbsp; &nbsp; &nbsp;},<br>
 &nbsp; &nbsp; &nbsp;/* The MapServer section is required if you are installing fusion<br>
 &nbsp; &nbsp; &nbsp; &nbsp; for MapServer. */<br>
 &nbsp; &nbsp; &quot;mapserver&quot;: {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* The URL of the mapserver CGI that you want to use. &nbsp;*/<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cgi&quot;: &quot;/cgi-bin/mapserv&quot;,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* The file system path to where mapserver should put<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;web-accessible temporary images. */<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;imagePath&quot;: &quot;/tmp/ms_tmp&quot;,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* The URL to the image path configured above. */<br>
 &nbsp; &nbsp; &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; &nbsp; &nbsp;/* The file system path to where mapserver should put<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;web-accessible temporary legend images. */<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;legendIconCacheDir&quot;:&quot;/tmp/ms_tmp&quot;<br>
 &nbsp; &nbsp; &nbsp;}<br>
 &nbsp; &nbsp;}<br>
<br>
 &nbsp; &nbsp;The ServerRoot in apache2 is /etc/apache2. &nbsp;The apache2<br>
 &nbsp; &nbsp;DocumentRoot is /var/www.<br>
<br>
 &nbsp; &nbsp;Therefore, I created the directory tmp (/etc/apache2/tmp) and set<br>
 &nbsp; &nbsp;permission to 777. &nbsp;Restarted apache2 and tested the demo. &nbsp;Same<br>
 &nbsp; &nbsp;results. &nbsp;Looked in /etc/apache2/tmp and did not see any Fusion<br>
 &nbsp; &nbsp;session files. &nbsp;I also create the /tmp/ms_tmp directories in<br>
 &nbsp; &nbsp;/var/www and /var. &nbsp;No temp files were saved in these directories.<br>
 &nbsp; &nbsp;Then I decided to change the SeverRoot to /var and /var/www to see<br>
 &nbsp; &nbsp;what happens. &nbsp;Restarted apache2 and same results, only the html<br>
 &nbsp; &nbsp;layout.<br>
<br>
 &nbsp; &nbsp;Know I am out of ideas. &nbsp;Does anyone have an idea how to fix this.<br>
 &nbsp; &nbsp; I really want to include how to get Fusion working in Ubuntu in<br>
 &nbsp; &nbsp;my HowTo I am writing for grad school.<br>
<br>
 &nbsp; &nbsp;Thank you very much.<br>
<br>
 &nbsp; &nbsp;--  &nbsp; &nbsp;Andrew<br>
<br>
 &nbsp; &nbsp;_______________________________________________<br>
 &nbsp; &nbsp;fusion-users mailing list<br></div></div>
 &nbsp; &nbsp;<a href="mailto:fusion-users@lists.osgeo.org" target="_blank">fusion-users@lists.osgeo.org</a> &lt;mailto:<a href="mailto:fusion-users@lists.osgeo.org" target="_blank">fusion-users@lists.osgeo.org</a>&gt;<div class="Ih2E3d">
<br>
 &nbsp; &nbsp;<a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br>
<br>
<br>
<br>
<br>
-- <br>
 &nbsp; Paul Deschamps<br>
 &nbsp; Applications Specialist<br>
 &nbsp; DM Solutions Group Inc.<br>
<br>
 &nbsp; Office: (613) 565-5056 x28<br></div>
 &nbsp; <a href="mailto:pdeschamps@dmsolutions.ca" target="_blank">pdeschamps@dmsolutions.ca</a> &lt;mailto:<a href="mailto:pdeschamps@dmsolutions.ca" target="_blank">pdeschamps@dmsolutions.ca</a>&gt;<div class="Ih2E3d"><br>
 &nbsp; <a href="http://www.dmsolutions.ca" target="_blank">http://www.dmsolutions.ca</a><br>
 &nbsp; <a href="http://research.dmsolutions.ca" target="_blank">http://research.dmsolutions.ca</a><br>
 &nbsp; <br>
</div></blockquote><div><div></div><div class="Wj3C7c">
_______________________________________________<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>
</div></div></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>