[Cartoweb-users] Locale / gettext installation problem on Debian Etch

Nils Zierath nils.zierath at uni-bonn.de
Fri Feb 22 04:59:21 EST 2008


Dear list,

I try to install CartoWeb 3.4.0 on Debian Etch.
Gettext (deb-package, version 0.17) is fine (tested with both testscripts). And I 
restarted apache after modifiying /etc/locale.alias and running locale-gen.
PostgreSQL & PostGIS are running.
www-data resides in /srv/www

but when I run the installation script with

php cw3setup.php --install --base-url http://myurl/cartoweb3

I get the following output and error:

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://myurl/cartoweb3/po/test_main/server.fr.po): failed to 
open stream: HTTP request failed! HTTP/1.1 404 Not Found in 
/srv/www/cartoweb3/scripts/po2mo.php on line 176
Warning: Couldn't retrieve server 'fr' file.

Warning: file_get_contents(http://myurl/cartoweb3/po/test_main/server.en.po): failed to 
open stream: HTTP request failed! HTTP/1.1 404 Not Found
  in /srv/www/cartoweb3/scripts/po2mo.php on line 176
Warning: Couldn't retrieve server 'en' file.

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

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

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

Warning: file_get_contents(http://myurl/cartoweb3/po/test_main/server.test.en.po): failed 
to open stream: HTTP request failed! HTTP/1.1 404 Not Found
  in /srv/www/cartoweb3/scripts/po2mo.php on line 176
Warning: Couldn't retrieve server 'en' file.
Installation finished...

After the installation I can run the Cartoweb Demo application 
(http://myurl/cartoweb3/htdocs/demoCW3.php), but get the following error:

An error has occurred. Please press OK to reload this application.


Any help would be appreciated.

Thanx, Nils


More information about the Cartoweb-users mailing list