[Cartoweb-users] Locale / gettext installation problem on
DebianEtch
Oliver Christen
oliver.christen at camptocamp.com
Mon Feb 25 02:18:14 EST 2008
you seem to be missing the files/folder log4php/*
be sure you have installed correctly the includes libraries needed by
Cartoweb
you can check by looking into the folder /cartoweb3/include/ which should
contain several folders: fpdf, log4php, pear, smarty, ...
your include_path seems correct as it contains "/srv/www/cartoweb3/include/"
regards
Oliver
> Hi Oliver,
> thanks for your reply. In development mode I get:
>
> Warning: require_once(log4php/LoggerManager.php) [function.require-once]:
> failed to open stream: No such file or directory in
> /srv/www/cartoweb3/common/Log4phpInit.php on line 45
>
> Fatal error: require_once() [function.require]: Failed opening required
> 'log4php/LoggerManager.php'
> (include_path='.:/usr/share/php:/usr/share/pear:/srv/www/cartoweb3/include/:/srv/www/cartoweb3/include/pear')
> in /srv/www/cartoweb3/common/Log4phpInit.php on line 45
>
> Looks like there is some php function missing - but I cannot make sense
> out of that message. Do you have an Idea?
>
> Thanks, Nils
>
> Oliver Christen schrieb:
>> Hi
>>
>> Im pretty sure the error when loading the application is not related to
>> the warning returned by po2mo.php
>>
>> In the file cartoweb3/projects/demoCW3/client_conf/client.ini, set
>> temporarily the variable profile = production to profile = development,
>> this will allow to display the error actually returned via Ajax. (the
>> popup message change to "click ok to display the error message" or so and
>> the message is displayed at the bottom of the page)
>>
>> Let me know what you see.
>>
>> regards
>> Oliver
>>
>>
>>> 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
>>> _______________________________________________
>>> Cartoweb-users mailing list
>>> Cartoweb-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
>> From - Fri
>
More information about the Cartoweb-users
mailing list