good morning,
I am setting pmapper 5 beta2 and not I display my personal layers. Google and 
OSM are visible but appear pink tiles in place of my shapefile data. I've read 
that some users also same thing happens. I can not find the solution. Working 
windows.
Anyone can help me!

I'm using MS4W - MapServer 4 Windows - version 3.0.3, PHP 5.3.6, CGI MapServer 
6.0.1
This error appears in apache
[Wed February 13 10:58:18 2013] [error] [client 127.0.0.1] Incorrect setting 
for 'error_log' in 'php.ini'. Set to a valid file name.
[Wed February 13 10:58:18 2013] [error] [client 127.0.0.1] Incorrect setting 
for 'error_log' in 'php.ini'. Set to a valid file name.
[Wed February 13 10:58:19 2013] [error] [client 127.0.0.1] Incorrect setting 
for 'error_log' in 'php.ini'. Set to a valid file name., Referer: 
http://localhost/montana_palentina/index.phtml
[Wed February 13 10:58:19 2013] [error] [client 127.0.0.1] Incorrect setting 
for 'error_log' in 'php.ini'. Set to a valid file name., Referer: 
http://localhost/montana_palentina/index.phtml
[Wed February 13 10:58:19 2013] [error] [client 127.0.0.1] Incorrect setting 
for 'error_log' in 'php.ini'. Set to a valid file name., Referer: 
http://localhost/montana_palentina/index.phtml
[Wed February 13 10:58:19 2013] [error] [client 127.0.0.1] PHP Warning: mapObj 
:: setProjection (): failed setProjection, in C: \ \ MS4W \ \ apps \ \ 
pmapper5.0 \ \ pmapper \ \ lib \ \ map \ \ pmap.php on line 81, referer: 
http://localhost/montana_palentina/index.phtml
[Wed February 13 10:58:19 2013] [error] [client 127.0.0.1] Incorrect setting 
for 'error_log' in 'php.ini'. Set to a valid file name., Referer: 
http://localhost/montana_palentina/index.phtml
[Wed February 13 10:58:20 2013] [error] [client 127.0.0.1] PHP Warning: mapObj 
:: setProjection (): failed setProjection, in C: \ \ MS4W \ \ apps \ \ 
pmapper5.0 \ \ pmapper \ \ lib \ \ map \ \ pmap.php on line 81, referer: 
http://localhost/montana_palentina/index.phtml
[Wed February 13 10:58:21 2013] [error] [client 127.0.0.1] PHP Warning: mapObj 
:: setProjection (): failed setProjection, in C: \ \ MS4W \ \ apps \ \ 
pmapper5.0 \ \ pmapper \ \ lib \ \ map \ \ pmap.php on line 81, referer: 
http://localhost/montana_palentina/index.phtml
[Wed February 13 10:58:21 2013] [error] [client 127.0.0.1] PHP Warning: mapObj 
:: setProjection (): failed setProjection, in C: \ \ MS4W \ \ apps \ \ 
pmapper5.0 \ \ pmapper \ \ lib \ \ map \ \ pmap.php on line 81, referer: 
http://localhost/montana_palentina/index.phtml
[Wed February 13 10:58:24 2013] [error] [client 127.0.0.1] File does not exist: 
C :/ ms4w/Apache/htdocs/favicon.ico

Attachment configuration files
<pmapper>
    <ini>
        <pmapper>
            <pmTitle>Montana Palentina</pmTitle>
            <version>5-dev</version>
            <debugLevel>3</debugLevel>
            <metadataPrefix/>
            <plugins>mapselect</plugins>

        </pmapper>
        
        <config>
            <pm_config_location>default</pm_config_location>
            <pm_javascript_location>js/src</pm_javascript_location>
            <pm_print_configfile>common/print.xml</pm_print_configfile>
            <pm_search_configfile>inline</pm_search_configfile>
            <pm_resetsession>ALL</pm_resetsession>
        </config>
        
        <map>
            <mapFile>pmapper_demo.map</mapFile>
            <tplMapFile>common/template.map</tplMapFile>
			<!--<projection>EPSG:900913</projection>  likely not needed... -->
            
            <categories>
				<category name="cat_infra" olTheme="infra"  imgFormat="png8" description="Infrastructure" state="closed" themeType="PMTile">
                    <group>Cuevas_Protegidas</group>
                </category>
                <category name="cat_osm" description="OSM">
                    <group olTheme="osmmapnik" name="osmmapnik" description="OpenStreetMap" themeType="OSM" ></group>
                </category>
                <category name="cat_google" description="Google">
                    <group olTheme="gsat" name="googlesat" description="Google Satellite" themeType="Google" gmapType="SATELLITE"/>
					<group olTheme="gstr" name="googlestr" description="Google Streets" themeType="Google" gmapType="STREETS"/>
					<group olTheme="gtrr" name="googletrr" description="Google Terrain" themeType="Google" gmapType="TERRAIN"/>
					<group olTheme="ghbr" name="googlehbr" description="Google Hybrid" themeType="Google" gmapType="HYBRID"/>
                    <!--  gmapType: SATELLITE | HYBRID | STREETS | TERRAIN  -->
					
                </category>
                 
                <!--
                <group olTheme="bing_test" name="bing" description="bing" themeType="OL"></group>
                -->
            </categories>
            
            <olThemes>
				<theme>gsat</theme>
				<theme>gstr</theme>
                <theme>ghbr</theme>
				<theme>gtrr</theme>
                <theme>osmmapnik</theme>
				<theme>infra</theme>
            </olThemes>

            <!--<defGroups>
                <group>countries</group>
                <group>cities10000eu</group>
                <group>rivers</group>
                <group>osmmapnik</group>
            </defGroups>-->
            
            <layerAutoRefresh>1</layerAutoRefresh>
            <imgFormat>png</imgFormat>
            <altImgFormat>jpeg</altImgFormat>
            <!--
            <altImgFormatLayers>
                <layer>jpl_wms_global_mosaic</layer>
                <layer>dem</layer>
            </altImgFormatLayers>
            -->
            <sliderMax>max</sliderMax>
            <sliderMin>100000</sliderMin>
        </map>
        
        <query>
            <limitResult>300</limitResult>
            <highlightColor>0 255 255</highlightColor>
            <highlight>select</highlight>
            <highlight>search</highlight>
            <autoZoom>search</autoZoom>
            <zoomAll>search</zoomAll>
            <zoomAll>select</zoomAll>
            <infoWin>dynwin</infoWin>
            <alignQueryResults>1</alignQueryResults>
            <pointBuffer>10000</pointBuffer>
            <shapeQueryBuffer>0.01</shapeQueryBuffer>
            <numberFormat>
                <decimals>1</decimals>
                <decimalPoint>,</decimalPoint>
                <thousandsSep>||</thousandsSep> <!-- 2 pipes "||" are used for a blank as separator-->
            </numberFormat>
        </query>
        
        <ui>
            <tocStyle>tree</tocStyle>
            <legendStyle>attached</legendStyle>
            <useCategories>1</useCategories>
            <catWithCheckbox>1</catWithCheckbox>
            <scaleLayers>1</scaleLayers>
            <icoW>18</icoW>
            <icoH>14</icoH> 
			<legendKeyimageRewrite>0</legendKeyimageRewrite>
        </ui>
        
        <locale>
            <defaultLanguage>en</defaultLanguage>
            <defaultCharset>UTF-8</defaultCharset>
            <map2unicode>1</map2unicode>
        </locale>
        
        <print>
            <printImgFormat>png</printImgFormat>
            <printAltImgFormat>jpeg</printAltImgFormat>
            <pdfres>2</pdfres>
        </print>
        
        <download>
            <dpiLevels>150</dpiLevels>
            <dpiLevels>200</dpiLevels>
            <dpiLevels>300</dpiLevels>
        </download>
        
        <php>
            <pearDbClass>MDB2</pearDbClass>
            <defaultTimeZone>Europe/Vienna</defaultTimeZone>
        </php>
        
        <pluginsConfig>
            <export>
                <formats>XLS</formats>
                <formats>CSV</formats>
                <formats>PDF</formats>
            </export>
            
           
        </pluginsConfig>
    </ini>
    
    
    
    <searchlist version="1.0">
        <dataroot>$</dataroot>
        <searchitem name="cities" description="City">
            <layer type="shape" name="cities10000eu">
                <field type="s" name="NAME" description="City"  wildcard="0" />
            </layer>
        </searchitem>
        <searchitem name="countries" description="Country">
            <layer type="shape" name="countries">
                <field type="s" name="ISO_A2" description="Country" wildcard="2">
                    <definition type="options" connectiontype="ms" sort="asc" firstoption="*">
                        <mslayer encoding="ISO-8859-1" keyfield="ISO_A2" showfield="NAME"/>
                    </definition>
                </field>
            </layer>
        </searchitem>
        <!-- Sample for suggest function -->
        <searchitem name="cities_suggest_ms" description="Cities Suggest MS">
            <layer type="ms" name="cities10000eu">
                <field type="s" name="NAME" description="City" wildcard="2">
                    <definition type="suggest" connectiontype="ms" minlength="1" startleft="1" sort="asc">
                        <mslayer encoding="UTF-8"/>
                    </definition>
                </field> 
            </layer>
        </searchitem>
    </searchlist>
    
    
</pmapper>

Attachment: pmapper_demo.map
Description: Binary data

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to