[Cartoweb-users] failure to open client.php after new project

Oliver Christen oliver.christen at camptocamp.com
Tue Jan 30 09:32:43 EST 2007


Hi Seth

It seems somehow apache can not read (or open in this case) the file 
/var/jails/sschwebs/home/sschwebs/www/cartoweb3/www-data/accounting//test_main.test/client_accounting.log
the file existe so I suspect a problem of rights on the file.

if you do a cw3setup --clean in commandline, what is the result ?

regards
Oliver




> Greetings,
>
> I went through http://www.cartoweb.org/cwiki/HowToCreateANewProject on a 
> new server.  Once I was ready to check my client.php file to see the new 
> project loaded, I got the following:
>
>
>  Failure
>
> CartoWeb version: 3.3.0 [$Revision: 1.2 $]
> class:   CartocommonException
> message:   Error [2, 
> fopen(/var/jails/sschwebs/home/sschwebs/www/cartoweb3/www-data/accounting//test_main.test/client_accounting.log) 
> [function.fopen 
> <http://vitmap.gisalaska.com/cartoweb3/htdocs/function.fopen>]: failed to 
> open stream: Permission denied, 
> /var/jails/sschwebs/home/sschwebs/www/cartoweb3/common/Accounting.php, 
> 164]
> Backtrace:
>
> file: UNKNOWN - UNKNOWN
> call: Common::cartowebErrorHandler(2, 
> "fopen(/var/jails/sschwebs/home/sschwebs/www/cartoweb3/www-data/a...", 
> "/var/jails/sschwebs/home/sschwebs/www/cartoweb3/common/Accountin...", 
> 164, Array(4))
>
> file: 164 - 
> /var/jails/sschwebs/home/sschwebs/www/cartoweb3/common/Accounting.php
> call: 
> fopen("/var/jails/sschwebs/home/sschwebs/www/cartoweb3/www-data/account...", 
> "a")
>
> file: 252 - 
> /var/jails/sschwebs/home/sschwebs/www/cartoweb3/common/Accounting.php
> call: 
> Accounting->saveFile("general.security.user="";general.client_version="1";general.mapi...")
>
> file: 1224 - 
> /var/jails/sschwebs/home/sschwebs/www/cartoweb3/client/Cartoclient.php
> call: Accounting->save()
>
> file: 38 - 
> /var/jails/sschwebs/home/sschwebs/www/cartoweb3/htdocs/client.php
> call: Cartoclient->main()
>
>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list