not communicating with mapserver!

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

not communicating with mapserver!

avinkg
Hi,

I have installed ms4w and initialized Apache and on execution http://localhost:90/ , I got the MS4W - MapServer 4 Windows - version 3.0.2 message. Then for this url http://localhost:90/cgi-bin/mapserv.exe, I recieved --No query information to decode. QUERY_STRING is set, but empty.

ON compiling the mapfile as given below with Html I am only getting error


MAP
        NAME india
        STATUS ON ` `
        SHAPEFILE 'C:/mapset/'
        IMAGETYPE jpge
        SIZE 80 80
        UNITS DD
        EXTENT -180 -90 180 90
        DEBUG 5
        CONFIG "MS_ERRORFILE" "C:/ms4w/Apache/htdocs/firstapp/tmp/debug.txt"

        WEB
                IMAGEPATH 'C:/ms4w/Apache/htdocs/firstapp/tmp/'
                IMAGEURL '/firstapp/tmp/'
        END

        LAYER
                NAME "india"
                DATA india.shp
                TYPE POLYGON
                OPACITY 100
                STATUS on
                        CLASS
                                NAME Name
                                        STYLE
                                                COLOR 240 240 200
                                                OUTLINECOLOR 150 0 0
                                        END
                        END
        END
END


<html>
        <body>
       
        <title> ANCF</title>
        some error
        </body>
       
               
</html> 

Reply | Threaded
Open this post in threaded view
|

[MS4W-Users] pear, mdb2

Siki Zoltan
Dear List Members,

I've upgraded to ms4w 3.0.2 on a XP box, but I can't find the pear
package manager (go-pear). How can I install pear mdb2?

Thanks,
Zoltan

_______________________________________________
MS4W-Users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users
tr
Reply | Threaded
Open this post in threaded view
|

Re: pear, mdb2

tr
Hi,

1) Download this file: http://pear.php.net/go-pear.phar

2) Execute:
php go-pear.phar

3) install the packages:
pear install MDB2-xxxxxxxxx
pear install MDB2_Driver_xxxxxxx

Le 28/06/2011 18:43, Siki Zoltan a écrit :

> Dear List Members,
>
> I've upgraded to ms4w 3.0.2 on a XP box, but I can't find the pear
> package manager (go-pear). How can I install pear mdb2?
>
> Thanks,
> Zoltan
>
> _______________________________________________
> MS4W-Users mailing list
> [hidden email]
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
>
_______________________________________________
MS4W-Users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users
Reply | Threaded
Open this post in threaded view
|

Re: pear, mdb2

Siki Zoltan
Dear Thomas,

thank your for your answer.

I've tried the go-pear.phar but I got some errors:
Warning: mkdir(): Invalid argument in phar://C:/ms4w/Apache/php/go-pear.phar/Sys
tem.php on line 302
ERROR: file \Console_Getopt-1.3.0\Console\Getopt.php does not exist

Warning: mkdir(): Invalid argument in phar://C:/ms4w/Apache/php/go-pear.phar/Sys
tem.php on line 302
ERROR: file \Structures_Graph-1.0.4\docs\html\media\banner.css does not exist

Warning: mkdir(): Invalid argument in phar://C:/ms4w/Apache/php/go-pear.phar/Sys
tem.php on line 302
ERROR: file \XML_Util-1.2.1\examples\example.php does not exist

Warning: mkdir(): Invalid argument in
phar://C:/ms4w/Apache/php/go-pear.phar/System.php on line 302
ERROR: file \PEAR-1.9.3\OS\Guess.php does not exist

Because I've no pear.bat, I tried pyrus installer to instal archive_tar,
console_getopt, ...
e.g.
php pyrus.phar install pear/Archive_Tar

I get some warnings about removing temperary files.
The packages are installed in \ms4w\Apache\php\php, the
php go-pear.phar is looking for the packages in another folder,
for example  \Archive_Tar-1.3.7\Archive\Tar.php
the path to Tar.php on my system is:
c:\ms4w\Apache\php\php\Archive\Tar.php

Any tipps?

Thanks,
Zoltan

On Wed, 29 Jun 2011, Thomas RAFFIN wrote:

> Hi,
>
> 1) Download this file: http://pear.php.net/go-pear.phar
>
> 2) Execute:
> php go-pear.phar
>
> 3) install the packages:
> pear install MDB2-xxxxxxxxx
> pear install MDB2_Driver_xxxxxxx
>
> Le 28/06/2011 18:43, Siki Zoltan a écrit :
>> Dear List Members,
>>
>> I've upgraded to ms4w 3.0.2 on a XP box, but I can't find the pear
>> package manager (go-pear). How can I install pear mdb2?
>>
>> Thanks,
>> Zoltan
>>
>> _______________________________________________
>> MS4W-Users mailing list
>> [hidden email]
>> http://lists.maptools.org/mailman/listinfo/ms4w-users
>>
>>
> _______________________________________________
> MS4W-Users mailing list
> [hidden email]
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
_______________________________________________
MS4W-Users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users
tr
Reply | Threaded
Open this post in threaded view
|

Re: pear, mdb2

tr
A quick Google search show that some people have the same problem, and
some of them have solved it like there for instance:
http://www.sitepoint.com/forums/php-34/problem-installing-pear-mkdir-invalid-argument-system-php-line-302-a-765342.html

I didn't tested this solution.

Thomas

Le 29/06/2011 17:15, Siki Zoltan a écrit :

> Dear Thomas,
>
> thank your for your answer.
>
> I've tried the go-pear.phar but I got some errors:
> Warning: mkdir(): Invalid argument in
> phar://C:/ms4w/Apache/php/go-pear.phar/Sys
> tem.php on line 302
> ERROR: file \Console_Getopt-1.3.0\Console\Getopt.php does not exist
>
> Warning: mkdir(): Invalid argument in
> phar://C:/ms4w/Apache/php/go-pear.phar/Sys
> tem.php on line 302
> ERROR: file \Structures_Graph-1.0.4\docs\html\media\banner.css does
> not exist
>
> Warning: mkdir(): Invalid argument in
> phar://C:/ms4w/Apache/php/go-pear.phar/Sys
> tem.php on line 302
> ERROR: file \XML_Util-1.2.1\examples\example.php does not exist
>
> Warning: mkdir(): Invalid argument in
> phar://C:/ms4w/Apache/php/go-pear.phar/System.php on line 302
> ERROR: file \PEAR-1.9.3\OS\Guess.php does not exist
>
> Because I've no pear.bat, I tried pyrus installer to instal
> archive_tar, console_getopt, ...
> e.g.
> php pyrus.phar install pear/Archive_Tar
>
> I get some warnings about removing temperary files.
> The packages are installed in \ms4w\Apache\php\php, the
> php go-pear.phar is looking for the packages in another folder,
> for example  \Archive_Tar-1.3.7\Archive\Tar.php
> the path to Tar.php on my system is:
> c:\ms4w\Apache\php\php\Archive\Tar.php
>
> Any tipps?
>
> Thanks,
> Zoltan
>
> On Wed, 29 Jun 2011, Thomas RAFFIN wrote:
>
>> Hi,
>>
>> 1) Download this file: http://pear.php.net/go-pear.phar
>>
>> 2) Execute:
>> php go-pear.phar
>>
>> 3) install the packages:
>> pear install MDB2-xxxxxxxxx
>> pear install MDB2_Driver_xxxxxxx
>>
>> Le 28/06/2011 18:43, Siki Zoltan a écrit :
>>> Dear List Members,
>>>
>>> I've upgraded to ms4w 3.0.2 on a XP box, but I can't find the pear
>>> package manager (go-pear). How can I install pear mdb2?
>>>
>>> Thanks,
>>> Zoltan
>>>
>>> _______________________________________________
>>> MS4W-Users mailing list
>>> [hidden email]
>>> http://lists.maptools.org/mailman/listinfo/ms4w-users
>>>
>>>
>> _______________________________________________
>> MS4W-Users mailing list
>> [hidden email]
>> http://lists.maptools.org/mailman/listinfo/ms4w-users
>>
_______________________________________________
MS4W-Users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users