Re: [Wms2go-users] Antwort: Re: Antwort: Re: Antwort: Re: wms2go, problems with sending jobs
Brought to you by:
terrestris
From: Daniel K. <ko...@te...> - 2012-03-28 09:22:05
|
Is there an entry in your database (browse table tbl_jobs) after sending a job? What is the response in firebug (should be:|{"response": "INSERT OK"}|)? Case 1: no entry present: - check your db connection string in pgsql.conf.php Case 2: entry present, but no files on filesystem: - setting up a cronjob using this way: In terminal: crontab -e paste the following line: */1 * * * * php /var/www/wms2go-pus-light-1.0/jobhandler.php >> /var/log/wms2go_pus.log (remember to match the paths to your environment!) - after this you should be able to find the log-file Daniel Am 28.03.2012 09:45, schrieb Eri...@dl...: > Changed the variable wms2goInterfaces, seems better.... > > Mh, there's no logfile in var/log > > I've got this in the wms2go-cronjob.sh > > */5 * * * * /var/www/data/wms2go-pus-light-1.0/wms2go-cronjob.sh > > > #!/bin/bash > cd /var/www/data/wms2go-pus-light-1.0/ > date >> /var/log/wms2go_pickup.log > php /var/www/data/wms2go-pus-light-1.0/jobhandler.php >> > /var/log/wms2go_pickup.log > > Don't know where I'm wrong..... :-( > > Mit freundlichen Grüßen > im Auftrag > - - > Erik Heinen > > > DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM > RHEINHESSEN - NAHE - HUNSRÜCK > > Rüdesheimer Str. 60 - 68 > 55545 Bad Kreuznach > Telefon: 0671 / 820 - 431 > Telefax: 0671 / 820 - 400 > > e-mail: Eri...@dl... > Internet: www.dlr-rnh.rlp.de > > > > Von: Daniel Koch <ko...@te...> > An: wms...@li... > Datum: 27.03.2012 16:40 > Betreff: Re: [Wms2go-users] Antwort: Re: Antwort: Re: wms2go, > problems with sending jobs > ------------------------------------------------------------------------ > > > > > Am 27.03.2012 14:27, schrieb _Er...@dl...:_ > <mailto:Eri...@dl...:> > Thx, after installing php5-gd captcha problem is fixed. > > After that I had to rename my wms2go-pus-light-1.0 fiolder to > PickUpScript, to start jobhandler.php. > You can do it this way or change the interface path (variable > wms2goInterfaces) in wms2go-ol-puc-1.0/configs/application.conf.js to > if1 : '../wms2go-pus-light-1.0/jobhandler.php' > Now I get sucess-message after sending the fprm. > "Der Job wurde erfolgreich angelegt und wird bearbeitet. Sie erhalten > eine Email, sobald die Bearbeitung abgeschlossen ist" > > But nothing happens, neither on filesystem nor in database. > > Please have a look at the wms2go logfile wms2go_pus.log in /var/log > (you can use this in terminal to open the last 50 lines only: tail -50 > wms2go_pus.log ). Is this file available? In case: What's the last entry? > > Is the cronjob running? You can either using the cronjob.sh or create > it manual: > > In terminal: crontab -e > paste the following line: > */1 * * * * php /var/www/wms2go-pus-light-sourceforge/jobhandler.php > >> /var/log/wms2go_pus.log > > Daniel > > > Mit freundlichen Grüßen > im Auftrag > - - > Erik Heinen > > > DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM > RHEINHESSEN - NAHE - HUNSRÜCK > > Rüdesheimer Str. 60 - 68 > 55545 Bad Kreuznach > Telefon: 0671 / 820 - 431 > Telefax: 0671 / 820 - 400 > > e-mail: _Er...@dl..._ <mailto:Eri...@dl...> > Internet: _www.dlr-rnh.rlp.de_ > > > > Von: Daniel Koch _<ko...@te...>_ <mailto:ko...@te...> > An: _wm...@li..._ > <mailto:wms...@li...> > Datum: 27.03.2012 13:46 > Betreff: Re: [Wms2go-users] Antwort: Re: wms2go, problems with > sending jobs > ------------------------------------------------------------------------ > > > > The function imagecreate() needs GD-support. Please check if the > package php5-gd is installed, otherwise install it by using: > > apt-get install php5-gd (and restart apache: /etc/init.d/apache2 restart) > > Am 27.03.2012 13:17, schrieb _Er...@dl...:_ > <mailto:Eri...@dl...:> > Hey Daniel, > > thx for reply. > I followed all the steps in "Projekthandbuch". > apache2, the php staff and postgres is installed and seems to work. > Maybe I've done something wrong within konfiguration. > My apacher error log says: > > [Tue Mar 27 12:59:23 2012] [error] [client 127.0.0.1] PHP Fatal error: > Call to undefined function imagecreate() in > /var/www/data/wms2go-ol-puc-1.0/php/captcha/securimage/securimage.php > on line 675, referer: > _http://localhost/data/wms2go-ol-puc-1.0/index_dev.html_ > > Firebug after trying to send the form: > > Ext.getCmp("regcaptchatext") is undefined > [Bei diesem Fehler anhalten] > captch...t.getCmp('regcaptchatext').getValue() > Terres...ndow.js (Zeile 376) > > So it seems to me something wrong with the captcha. > > Mit freundlichen Grüßen > im Auftrag > - - > Erik Heinen > > > DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM > RHEINHESSEN - NAHE - HUNSRÜCK > > Rüdesheimer Str. 60 - 68 > 55545 Bad Kreuznach > Telefon: 0671 / 820 - 431 > Telefax: 0671 / 820 - 400 > > e-mail: _Er...@dl..._ <mailto:Eri...@dl...> > Internet: _www.dlr-rnh.rlp.de_ > > > > Von: Daniel Koch _<ko...@te...>_ <mailto:ko...@te...> > An: _wm...@li..._ > <mailto:wms...@li...> > Datum: 27.03.2012 10:54 > Betreff: Re: [Wms2go-users] wms2go, problems with sending jobs > ------------------------------------------------------------------------ > > > > Hello Erik, > > thank you for your interest in wms2go! > > The captcha formular (and also the sending option) is using php to be > generated. Please check, if php is installed on your machine. Assuming > you are running on linux, type this in terminal: > > dpkg -l | grep php > > The following packages are necessary: php5, php5-cli, php5-psql > > Futhermore you've to install apache and postgresql. See the help files > for more details > (_http://wms2go.svn.sourceforge.net/viewvc/wms2go/wms2go-help-1.0/_). > > Daniel > -- > B.Sc. Geograph Daniel Koch > - Studentischer Mitarbeiter - > > terrestris GmbH & Co. KG > Pützchens Chaussee 56 > 53227 Bonn > > Tel: +49 (0)228 / 96 28 99 -53 > Fax: +49 (0)228 / 96 28 99 -57 > > Email: _k...@te..._ <mailto:ko...@te...> > Web: _http://www.terrestris.de_ <http://www.terrestris.de/> > > Amtsgericht Bonn, HRA 6835 > Komplementärin: terrestris Verwaltungsgesellschaft mbH > vertreten durch: Hinrich Paulsen, Till > Adams------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here _ > __http://p.sf.net/sfu/sfd2d-msazure________________________________________________ > Wms2go-users mailing list_ > __W...@li..._ > <mailto:Wms...@li...>_ > __https://lists.sourceforge.net/lists/listinfo/wms2go-users_ > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here _ > __http://p.sf.net/sfu/sfd2d-msazure_ > > > _______________________________________________ > Wms2go-users mailing list_ > __W...@li..._ > <mailto:Wms...@li...>_ > __https://lists.sourceforge.net/lists/listinfo/wms2go-users_ > > > -- > B.Sc. Geograph Daniel Koch > - Studentischer Mitarbeiter - > > terrestris GmbH & Co. KG > Pützchens Chaussee 56 > 53227 Bonn > > Tel: +49 (0)228 / 96 28 99 -53 > Fax: +49 (0)228 / 96 28 99 -57 > > Email: _k...@te..._ <mailto:ko...@te...> > Web: _http://www.terrestris.de_ <http://www.terrestris.de/> > > Amtsgericht Bonn, HRA 6835 > Komplementärin: terrestris Verwaltungsgesellschaft mbH > vertreten durch: Hinrich Paulsen, Till > Adams------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here _ > __http://p.sf.net/sfu/sfd2d-msazure________________________________________________ > Wms2go-users mailing list_ > __W...@li..._ > <mailto:Wms...@li...>_ > __https://lists.sourceforge.net/lists/listinfo/wms2go-users_ > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > _http://p.sf.net/sfu/sfd2d-msazure_ > > > _______________________________________________ > Wms2go-users mailing list > _Wm...@li..._ > <mailto:Wms...@li...> > _https://lists.sourceforge.net/lists/listinfo/wms2go-users_ > > > -- > B.Sc. Geograph Daniel Koch > - Studentischer Mitarbeiter - > > terrestris GmbH & Co. KG > Pützchens Chaussee 56 > 53227 Bonn > > Tel: +49 (0)228 / 96 28 99 -53 > Fax: +49 (0)228 / 96 28 99 -57 > > Email: _k...@te..._ <mailto:ko...@te...> > Web: _http://www.terrestris.de_ <http://www.terrestris.de/> > > Amtsgericht Bonn, HRA 6835 > Komplementärin: terrestris Verwaltungsgesellschaft mbH > vertreten durch: Hinrich Paulsen, Till > Adams------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure_______________________________________________ > Wms2go-users mailing list > Wms...@li... > https://lists.sourceforge.net/lists/listinfo/wms2go-users > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > > > _______________________________________________ > Wms2go-users mailing list > Wms...@li... > https://lists.sourceforge.net/lists/listinfo/wms2go-users -- B.Sc. Geograph Daniel Koch - Studentischer Mitarbeiter - terrestris GmbH& Co. KG Pützchens Chaussee 56 53227 Bonn Tel: +49 (0)228 / 96 28 99 -53 Fax: +49 (0)228 / 96 28 99 -57 Email: ko...@te... Web: http://www.terrestris.de Amtsgericht Bonn, HRA 6835 Komplementärin: terrestris Verwaltungsgesellschaft mbH vertreten durch: Hinrich Paulsen, Till Adams |