Greg Luker wrote:
Hi Stephen,

At 10:37 AM 11/02/2009, you wrote:
Just move you map file outside the apache root directory.

Thanks for your reply. As far as I know, the .map file is already outside the apache root directory. Attached is the 'View/Source' output - I just noticed error messages in it - does this point to a problem? (I replaced sensitive info with ***)

yes, this is an error message, not your mapfile. Granted it does have mapfile information in it and more specifically it is an error generated by the GDAL libraries from within mapserver.

So, I am reposting this to the list, because there are probably people there that are better able to respond to this issue, which is why it is always good to do a Reply All so the message goes back to the list and it helps other that might have the same problem searching the archives.

-Steve W
<html>
<HEAD>
<TITLE>CHAMP - Query Results - Public</TITLE>
<HR>
</HEAD>
<font size+1>
<b>Layer: pts</b>
</font><p>
<table cellpadding=3 cellspacing=3 border=1>
<tr bgcolor=#FFD0D0>
<th>Code</th>
<th>Name</th>
<th>Description</th>
<th>Comment</th>
<th>Gender Access</th>
<th>Aboriginal Land Council</th>
<th>Date Recorded</th>
</tr>
<br>
<!--msBuildPath(): Unable to access file. 
(/var/mapserver/champ/<OGRVRTDataSource>
                        <OGRVRTLayer name="pexact">
                                
<SrcDataSource>MYSQL:***,user=***,password=***,host=127.0.0.1,port=3306,tables=feature;site;genderaccess;featdesc;lalc</SrcDataSource>
                                <SrcSQL>
                                        SELECT
                                           DISTINCTROW
                                                s.site_id,
                                                s.site_code,
                                                fp.featurePerson_person_id,
                                                fp.featurePerson_task_id,
                                                fd.featdesc_description,
                                                f.feature_recorded_date,
                                                f.feature_comment,
                                                f.feature_other,
                                                f.feature_validation_date,
                                                ga.genderaccess_description,
                                                p.person_firstname,
                                                p.person_surname,
                                                p.person_status,
                                                p.person_gender,
                                                s.site_name,
                                                s.site_easting_other,
                                                s.site_northing_other,
                                                t.task_id,
                                                t.task_code,
                                                l.lalc_id,
                                                l.lalc_name
                                        FROM
                                                site s
                                        INNER JOIN feature f ON s.site_id = 
f.feature_site_id
                                        RIGHT OUTER JOIN featdesc fd ON 
f.feature_featdesc_id = fd.featdesc_id
                                        LEFT OUTER JOIN genderaccess ga ON 
f.feature_genderaccess_id = ga.genderaccess_id
                                        LEFT OUTER JOIN featurePerson fp ON 
f.feature_id = fp.featurePerson_feature_id
                                        LEFT OUTER JOIN person p ON 
fp.featurePerson_person_id = p.person_id
                                        LEFT OUTER JOIN task t ON 
fp.featurePerson_task_id = t.task_id
                                        LEFT OUTER JOIN lalc l ON 
s.site_lalc_id = l.lalc_id
                                        WHERE
                                                (s.site_other = "E")
                                        ORDER BY fd.featdesc_code, t.task_id, 
p.person_surname
                                </SrcSQL>
                                <GeometryType>wkbPoint</GeometryType>
                                <GeometryField encoding="PointFromColumns" 
x="site_easting_other" y="site_northing_other"/>
                        </OGRVRTLayer>
                </OGRVRTDataSource>): path is too long;msBuildPath: Unable to 
access file. ;msBuildPath(): Unable to access file. (./data<OGRVRTDataSource>
                        <OGRVRTLayer name="pexact">
                                
<SrcDataSource>MYSQL:***,user=***,password=***,host=127.0.0.1,port=3306,tables=feature;site;genderaccess;featdesc;lalc</SrcDataSource>
                                <SrcSQL>
                                        SELECT
                                           DISTINCTROW
                                                s.site_id,
                                                s.site_code,
                                                fp.featurePerson_person_id,
                                                fp.featurePerson_task_id,
                                                fd.featdesc_description,
                                                f.feature_recorded_date,
                                                f.feature_comment,
                                                f.feature_other,
                                                f.feature_validation_date,
                                                ga.genderaccess_description,
                                                p.person_firstname,
                                                p.person_surname,
                                                p.person_status,
                                                p.person_gender,
                                                s.site_name,
                                                s.site_easting_other,
                                                s.site_northing_other,
                                                t.task_id,
                                                t.task_code,
                                                l.lalc_id,
                                                l.lalc_name
                                        FROM
                                                site s
                                        INNER JOIN feature f ON s.site_id = 
f.feature_site_id
                                        RIGHT OUTER JOIN featdesc fd ON 
f.feature_featdesc_id = fd.featdesc_id
                                        LEFT OUTER JOIN genderaccess ga ON 
f.feature_genderaccess_id = ga.genderaccess_id
                                        LEFT OUTER JOIN featurePerson fp ON 
f.feature_id = fp.featurePerson_feature_id
                                        LEFT OUTER JOIN person p ON 
fp.featurePerson_person_id = p.person_id
                                        LEFT OUTER JOIN task t ON 
fp.featurePerson_task_id = t.task_id
                                        LEFT OUTER JOIN lalc l ON 
s.site_lalc_id = l.lalc_id
                                        WHERE
                                                (s.site_other = "E")
                                        ORDER BY fd.featdesc_code, t.task_id, 
p.person_surname
                                </SrcSQL>
                                <GeometryType>wkbPoint</GeometryType>
                                <GeometryField encoding="PointFromColumns" 
x="site_easting_other" y="site_northing_other"/>
                        </OGRVRTLayer>
                </OGRVRTDataSource>): path is too long;msBuildPath(): Unable to 
access file. (/var/mapserver/champ/<OGRVRTDataSource>
                        <OGRVRTLayer name="pexact">
                                
<SrcDataSource>MYSQL:***,user=***,password=***,host=127.0.0.1,port=3306,tables=feature;site;genderaccess;featdesc;lalc</SrcDataSource>
                                <SrcSQL>
                                        SELECT
                                           DISTINCTROW
                                                s.site_id,
                                                s.site_code,
                                                fp.featurePerson_person_id,
                                                fp.featurePerson_task_id,
                                                fd.featdesc_description,
                                                f.feature_recorded_date,
                                                f.feature_comment,
                                                f.feature_other,
                                                f.feature_validation_date,
                                                ga.genderaccess_description,
                                                p.person_firstname,
                                                p.person_surname,
                                                p.person_status,
                                                p.person_gender,
                                                s.site_name,
                                                s.site_easting_other,
                                                s.site_northing_other,
                                                t.task_id,
                                                t.task_code,
                                                l.lalc_id,
                                                l.lalc_name
                                        FROM
                                                site s
                                        INNER JOIN feature f ON s.site_id = 
f.feature_site_id
                                        RIGHT OUTER JOIN featdesc fd ON 
f.feature_featdesc_id = fd.featdesc_id
                                        LEFT OUTER JOIN genderaccess ga ON 
f.feature_genderaccess_id = ga.genderaccess_id
                                        LEFT OUTER JOIN featurePerson fp ON 
f.feature_id = fp.featurePerson_feature_id
                                        LEFT OUTER JOIN person p ON 
fp.featurePerson_person_id = p.person_id
                                        LEFT OUTER JOIN task t ON 
fp.featurePerson_task_id = t.task_id
                                        LEFT OUTER JOIN lalc l ON 
s.site_lalc_id = l.lalc_id
                                        WHERE
                                                (s.site_other = "E")
                                        ORDER BY fd.featdesc_code, t.task_id, 
p.person_surname
                                </SrcSQL>
                                <GeometryType>wkbPoint</GeometryType>
                                <GeometryField encoding="PointFromColumns" 
x="site_easting_other" y="site_northing_other"/>
                        </OGRVRTLayer>
                </OGRVRTDataSource>): path is too long;msBuildPath: Unable to 
access file. ;msBuildPath(): Unable to access file. (./data<OGRVRTDataSource>
                        <OGRVRTLayer name="pexact">
                                
<SrcDataSource>MYSQL:***,user=***,password=***,host=127.0.0.1,port=3306,tables=feature;site;genderaccess;featdesc;lalc</SrcDataSource>
                                <SrcSQL>
                                        SELECT
                                           DISTINCTROW
                                                s.site_id,
                                                s.site_code,
                                                fp.featurePerson_person_id,
                                                fp.featurePerson_task_id,
                                                fd.featdesc_description,
                                                f.feature_recorded_date,
                                                f.feature_comment,
                                                f.feature_other,
                                                f.feature_validation_date,
                                                ga.genderaccess_description,
                                                p.person_firstname,
                                                p.person_surname,
                                                p.person_status,
                                                p.person_gender,
                                                s.site_name,
                                                s.site_easting_other,
                                                s.site_northing_other,
                                                t.task_id,
                                                t.task_code,
                                                l.lalc_id,
                                                l.lalc_name
                                        FROM
                                                site s
                                        INNER JOIN feature f ON s.site_id = 
f.feature_site_id
                                        RIGHT OUTER JOIN featdesc fd ON 
f.feature_featdesc_id = fd.featdesc_id
                                        LEFT OUTER JOIN genderaccess ga ON 
f.feature_genderaccess_id = ga.genderaccess_id
                                        LEFT OUTER JOIN featurePerson fp ON 
f.feature_id = fp.featurePerson_feature_id
                                        LEFT OUTER JOIN person p ON 
fp.featurePerson_person_id = p.person_id
                                        LEFT OUTER JOIN task t ON 
fp.featurePerson_task_id = t.task_id
                                        LEFT OUTER JOIN lalc l ON 
s.site_lalc_id = l.lalc_id
                                        WHERE
                                                (s.site_other = "E")
                                        ORDER BY fd.featdesc_code, t.task_id, 
p.person_surname
                                </SrcSQL>
                                <GeometryType>wkbPoint</GeometryType>
                                <GeometryField encoding="PointFromColumns" 
x="site_easting_other" y="site_northing_other"/>
                        </OGRVRTLayer>
                </OGRVRTDataSource>): path is too long;getString(): Symbol 
definition error. Parsing error near (DD):(line 633)-->
<!-- MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE 
SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
SUPPORTS=THREADS SUPPORTS=GEOS INPUT=TIFF INPUT=EPPL7 INPUT=OGR INPUT=GDAL 
INPUT=SHAPEFILE -->
<tr bgcolor=#FFFFD0>
<td>BMP-05-0001</td>
<td>Mount Warning</td>
<td>Stone arrangement</td>
<td>The NPWS Aboriginal Cultural Heritage Study Mt Warning (Wollumbin) NP, 
2001, records information from Elder, John Roberts, that twin stones of 
contrasting colours were once located on the mountains summit. See also 
BMP-05-0082.</td>
<td>Male only access</td>
<td>Tweed Byron</td>
<td>2005/02/14</td>
</tr>
</table>
<FORM><INPUT TYPE="button" VALUE="Back" onClick="history.go(-1);return true;"> 
</FORM>
</body>
</html>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to