[Cartoweb-users] installing problem on Windows

Oliver Christen oliver.christen at camptocamp.com
Mon Mar 8 02:28:07 EST 2010


Hi

The warning your get during install are not blocking, they only notify you that some language translations files are missing, they are not related to the error you see when you access the application.

By default, Cartoweb is working in SOAP mode (client and server side of Cartoweb were designed to by able to run on different physical servers) and I believe you have not the soap extension enabled in your php.ini, something like extension=php_soap.dll

But if you dont need to run Cartoweb in SOAP mode, I suggest you simply deactivate the SOAP mode by modifying the client.ini.in and client.ini file in the projects/test_main/client_conf folder by setting cartoserverDirectAccess = true

By the way, if you try to run the demoCW3 project instead of the test_main project, it should work directly as soap is disabled in the demoCW3 project by default (be warned that the demoCW3 projet is using sqlite data and you need to enable the sqlit extension in your php.ini)

please see http://www.cartoweb.org/doc/cw3.5/xhtml/user.config.html for configuration details

Also, the latest stable release packaging of Cartoweb for windows is getting old and you may need to get the Cartoweb code from the cvs repository (see download page on Cartoweb website, cvs use port 2401, which may cause problem if you are behind a firewall) to get it to work correctly with the latest version of Mapserver

regards
Oliver
  ----- Original Message ----- 
  From: Kurt Menke 
  To: cartoweb-users at lists.maptools.org 
  Sent: Saturday, March 06, 2010 11:03 PM
  Subject: [Cartoweb-users] installing problem on Windows


  Hello,

  I've never installed Cartoweb 3.5 on Windows and I'm running into an issue.  I want to run Cartoweb as localhost.  

  I have the latest version of OSGeo4W installed including MapServer, PHP, & Apache.  I can run the Mapserver demo applications.

   

  I put the Cartoweb3 folder under C:/OSGeo4W/apache/htdocs/cartoweb3

  When I go to run the basic Cartoweb setup:

  C:\OSGeo4W\apache\htdocs\cartoweb3 c:\OSGeo4W\bin\php.exe cw3setup.php --install --base-url http://localhost/cartoweb3/htdocs 

  I get the following:

   

  ########################################################################################################################

  installing

  Creating directories

  Setting permissions

  Copying .ini.dist files into .ini (if not existing)

  Copying/linking resources into htdocs

  Copied <files>.in into <files> for projects: all

  Launching makemaps script for projects: all

  Launching po2mo script for projects: all

   

  Warning: file_get_contents(http://localhost/cartoweb3/po/test_main/server.en.po): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

   in C:\OSGeo4W\apache\htdocs\cartoweb3\scripts\po2mo.php on line 176 Warning: Couldn't retrieve server 'en' file.

   

  Warning: file_get_contents(http://localhost/cartoweb3/po/test_main/server.fr.po) : failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

   in C:\OSGeo4W\apache\htdocs\cartoweb3\scripts\po2mo.php on line 176 Warning: Couldn't retrieve server 'fr' file.

   

  Warning: file_get_contents(http://localhost/cartoweb3/po/test_main/server.test.en.po): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found  in C:\OSGeo4W\apache\htdocs\cartoweb3\scripts\po2mo.php on line 176 Warning: Couldn't retrieve server 'en' file.

   

  Warning: file_get_contents(http://localhost/cartoweb3/po/test_main/server.test.fr.po): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found  in C:\OSGeo4W\apache\htdocs\cartoweb3\scripts\po2mo.php on line 176 Warning: Couldn't retrieve server 'fr' file.

   

  Warning: file_get_contents(http://localhost/cartoweb3/po/test_main/server.test_postgis.en.po): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found  in C:\OSGeo4W\apache\htdocs\cartoweb3\scripts\po2mo.php on line 176 Warning: Couldn't retrieve server 'en' file.

   

  Warning: file_get_contents(http://localhost/cartoweb3/po/test_main/server.test_postgis.fr.po): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found  in C:\OSGeo4W\apache\htdocs\cartoweb3\scripts\po2mo.php on line 176 Warning: Couldn't retrieve server 'fr' file.

   

  Installation finished...

   

  #####################################################################################################################

   

  Here is the Apache error log:

  [Sat Mar 06 14:39:13 2010] [error] [client 127.0.0.1] File does not exist: C:/OSGeo4W/apache/htdocs/cartoweb3/po/test_main

  [Sat Mar 06 14:39:13 2010] [error] [client 127.0.0.1] File does not exist: C:/OSGeo4W/apache/htdocs/cartoweb3/po/test_main

  [Sat Mar 06 14:39:13 2010] [error] [client 127.0.0.1] File does not exist: C:/OSGeo4W/apache/htdocs/cartoweb3/po/test_main

  [Sat Mar 06 14:39:13 2010] [error] [client 127.0.0.1] File does not exist: C:/OSGeo4W/apache/htdocs/cartoweb3/po/test_main

  [Sat Mar 06 14:39:22 2010] [error] [client 127.0.0.1] File does not exist: C:/OSGeo4W/apache/htdocs/cartoweb3/po/test_main

  [Sat Mar 06 14:39:22 2010] [error] [client 127.0.0.1] File does not exist: C:/OSGeo4W/apache/htdocs/cartoweb3/po/test_main

   

  That directory po/test_main doesn't exist.

   

  When I go to run Cartoweb via http://localhost/cartoweb3/htdocs/client.php

  I get 

  Fatal error: Class 'SoapClient' not found in C:\OSGeo4W\apache\htdocs\cartoweb3\client\CartoserverService.php on line 185

   

  Any help would be greatly appreciated.


  Kurt

   

  **************************

  Kurt Menke, GISP

  Bird's Eye View 

  www.BirdsEyeViewGIS.com 

  Work: 505-265-0243

  Cell: 505-362-1776

   

   



------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100308/6029ef4e/attachment.htm 


More information about the Cartoweb-users mailing list