RV: Re: [Cartoweb-users] another error installing new projects

Yves Jacolin yjacolin at free.fr
Wed May 17 16:56:49 EDT 2006


I don't think this folder have correct rights !
try:
# chown -R apache htdocs/generated/
The "#" means you are in the shell, with admin rights (root login) !

Y.

Le Mercredi 17 Mai 2006 22:45, daniel jaimes a écrit :
> for the list,    I want to inform that the error of the subject:
>
>  the generated error is:    Class: SoapFaultWrapper  Message: can't find
>
>  > > to layer to raster  Backtrace:    case out: 463 -
>  > > /var/www/html/cartoweb3/coreplugins/layers/common/Layers.php
>
>  it was solved with the following instruction:
>
>  to run php-cgi cw3setup.php --clean --install --base-url
>
>  > http://localhost/cartoweb3/htdocs/ --project nameproject
>
>  Thanks Yves Jacolin
>
>  *** now *****
>
>  I reviewed single folder htdocs/generated is this:
>
>  drwxrwxrwx  3 root root 4096 may 17 15:31 icons
>  drwxrwxrwx  2 root root 4096 may 17 15:30 images
>  drwxrwxrwx  2 root root 4096 may 17 15:30 pdf
>
>  these folders estan empty
>  will be something badly in the file dptons.map?
>
> Yves Jacolin <yjacolin at free.fr> escribió: Well, it can caused by several
> problem. But after trying to create a point with outline function I get an
> error :
> Class : SoapFaultWrapper
> Message : mainmap image not generated yet
> Backtrace:
>
> So, are the rights ok for the htdocs/generated directory ? are maps picture
> present in this directory ? If not check the right, if yes, well ... we wil
> see !
>
> Y.
> PS : send a mail to the list to say that you corrected the errors and how
> you did it! It can be useful for futur users ;-)
>
> Le Mercredi 17 Mai 2006 22:24, vous avez écrit :
> > Thanks,  I executed the instruction and no longer it shows the error to
> > me but it shows to the legend but the map to me no.    that I do?  this
> > is the direction: http://200.75.50.141/cartoweb3/htdocs/dptons.php
> >
> >
> > Yves Jacolin  escribió: ok, so clean the cache doesn't
> > work ... It is really strange ! You didn't have layer called raster, but
> > the script try to find it !
> > Ok, what you can try it is to remove, by hands the temperatura layer
> > first and check if the errors is again there, then canceled the deleting
> > and remove the next layers, one by one, until the message change. Doing
> > this you will know from where the erros came from.
> >
> > You can try to run php-cgi cw3setup.php --clean --install --base-url
> > http://195.195.195.5/cartoweb3/htdocs/ --project dptons
> >
> > I don't know the difference between makemaps.php, clean.php in scripts
> > directory and cw3setup.php, but there are some !
> >
> > Y.
> >
> > Le Mercredi 17 Mai 2006 21:37, vous avez écrit :
> > > hi,
> > >
> > >  the generated error is:    Class: SoapFaultWrapper  Message: can't
> > > find to layer to raster  Backtrace:    case out: 463 -
> > > /var/www/html/cartoweb3/coreplugins/layers/common/Layers.php call:
> > > LayersInit:: getMsLayerById ()
> > >
> > >
> > > Yves Jacolin  escribió: Hi,
> > >
> > > Le Mercredi 17 Mai 2006 21:23, daniel jaimes a écrit :
> > > > as it is the instruction? as Makemaps is used?
> > > >
> > > > Yves Jacolin  escribió: Hello !
> > > >
> > > > Le Mercredi 17 Mai 2006 19:13, daniel jaimes a écrit :
> > > > > demoCW3.map.in to dptons.map.in and democw3.ini.in
> > > >
> > > > Did you run php-cgi scripts/makemap.php after your change ?
> > > > Did you run php-cgi scripts/clean.php 1 to clean old file ?
> > > >
> > > > Y.
> > >
> > > Open a shell,
> > > In your shell ($ means you are in the shell, do not write it) :
> > > $ cd  /var/www/html/cartoweb3/
> > >
> > > $ php-cgi sccripts/clean.php 1
> > > 1 means 1 second, so you will clean (delete) all files 1s old !
> > >
> > > $ php-cgi scripts/makemap.php
> > > will create the mapfile and the ini file from yourProject.map.ini and
> > > yourProject.ini.in
> > >
> > > You may be to change to root to do the last two scripts, before run
> > > them, do: $ su
> > > "password:" appears, enter your root passwrod here.
> > >
> > > I hope I answered to your question.
> > >
> > > Y.

-- 
Yves Jacolin
-------------
http://yjacolin.gloobe.org
http://softlibre.gloobe.org



More information about the Cartoweb-users mailing list