#MAPBENDER IRC Log - 2008-06-18

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
03:27:28 Testbaudson: hi larsbeck
03:27:28 Testbaudson: time for a css question?
03:28:07 larsbeck: si, signore
03:32:48 larsbeck: ... seems to be a very comprehensive question ; )
03:33:28 Testbaudson: ;- )
03:33:28 Testbaudson: I have a div tag
03:33:28 Testbaudson: with absolute position
03:33:28 Testbaudson: now I wrap it inside another div
03:33:29 Testbaudson: with relative position
03:33:29 Testbaudson: but the position of the first div also changes...
03:33:31 Testbaudson: although the coordinates are the same
03:33:33 Testbaudson: do you know why?
03:36:14 Testbaudson: I need wrap divs inside other divs...
03:36:14 Testbaudson: in order to make the parent div "draggable"...
03:36:14 Testbaudson: in jQuery
03:36:14 Testbaudson: ( so I need a single parent element )
03:38:23 larsbeck: can you post both the css of the absolute and the relative positioned div?
03:39:36 Testbaudson: the inner div:
03:39:37 Testbaudson: border: 1px solid black; background-color: rgb( 255, 255, 255 ); position: absolute; left: 260px; top: 205px; width: 538px; height: 400px;
03:39:57 Testbaudson: the outer ( parent ) div:
03:39:59 Testbaudson: position: relative;
03:41:00 Testbaudson: it seems like whenever the jQuery plugin adds "position:relative"...
03:41:12 Testbaudson: the inner div moves a few pixels right and down
03:41:34 Testbaudson: without "position:relative" it's fine...
03:41:59 Testbaudson: maybe the inner div inherits something I can override?
03:43:24 larsbeck: any chance to avoid the relative positioning by jquery?
03:44:18 larsbeck: or to position the inner div relative to the outer one?
03:45:49 Testbaudson: no, I can't avoid inner positioning...
03:46:06 Testbaudson: maybe placing the inner div relative is an idea...
03:46:15 : * Testbaudson will try that
03:46:26 Testbaudson: it's not a matter of life and death...
03:46:30 Testbaudson: it's just annoying me
03:52:53 larsbeck: me too -- i never before tried to do something like the above and have no ad-hoc-solution
03:53:18 larsbeck: but i will try to fix this "issue" in my skills asap ; )
03:53:30 Testbaudson: grazie
03:53:59 larsbeck: prego
03:54:39 Testbaudson: but maybe I can show you the application next week
03:54:43 Testbaudson: may be weasier
03:54:47 Testbaudson: may be easier
05:32:55 mandsch: hi astrid
05:33:05 mandsch: äh, hi astroidex
05:33:28 astroidex: huhu
05:33:34 mandsch: do you have a sceond for a i18n question
05:39:48 astroidex: yes - why not
05:39:53 astroidex: hello mandsch
05:40:05 mandsch: yeah
05:40:14 mandsch: ahm, i18n of the print module
05:40:39 mandsch: do you know which steps have to be made, that the module is translated in the application?
05:40:55 mandsch: there is th e.po file in language ressources
05:41:37 mandsch: do i need to tranform it to a .mo file?
05:42:15 astroidex: christoph worked on it when he implemented i18n
05:42:39 astroidex: but unfortunately it is not working at the moment. he was not sure wether it has to be compiled
05:43:25 astroidex: did you have a look at http://www.mapbender.org/Internationalisation#Step_3:_Locale_handling
05:43:26 sigq: Title: Internationalisation - MapbenderWiki ( at www.mapbender.org )
05:44:25 astroidex: and http://www.mapbender.org/Internationalisation#Step_4:_Translation_repositories
05:44:26 sigq: Title: Internationalisation - MapbenderWiki ( at www.mapbender.org )
05:45:31 astroidex: here it says # .mo files may need to be compiled on the system where the application is being used
05:46:29 astroidex: you should install poEdit
05:46:59 mandsch: hmm, i working most of the time remote
05:47:15 mandsch: but no prob, so i need to create the mo file with msgfmt
05:48:29 mandsch: but for the actual translation does the class_locale has to be included in mod_printPDF.php?
05:49:03 mandsch: i got it working on a rc3, but after so many things i changed and the rechanged, hence and forth
05:49:15 mandsch: i'm not sure, which steps are really needed...
05:49:48 astroidex: but maybe it does not work at all at the moment. we did not debug this yet. It was the first step concerning i18n.
05:50:14 astroidex: and maybe it does not make sense to use .mo, as the effort for the mapbender-admin is too big
05:50:29 astroidex: maybe you are the person to find out about this : )
05:51:33 cti: hi, we have a question concerning MS4W and Mapbender. under localhost the browser shows the enviroment of MS4W and we can also find the Mapbender application but the setup-checker and the login function dont work - we only get a "forbidden" message... can anyone help?? thx cti
05:53:32 mandsch: cti: did you install postgres/postgis and install the mapbender database?
05:53:33 astroidex: hi cti - a minute I will have a look.
05:53:47 astroidex: mandsch - good question
05:54:21 cti: yes we've installed postgres and postgis and created a mapbender database!
05:55:27 mandsch: did you configure mapbender.conf
05:55:29 mandsch: ?
05:55:34 astroidex: did you restart apache?
05:55:52 cti: Yes, we did restart apache, we followed the installation guidline from "http://maptools.org/ms4w/index.phtml?page=RELEASE_mapbender.html"
05:55:54 astroidex: mapbender.conf is already included in the ms4w package
05:55:54 sigq: Title: MapTools.org ( at maptools.org )
05:56:46 astroidex: please try the following link: http://localhost/mapbender/
05:56:53 astroidex: what happens ?
05:57:02 astroidex: still permission denied?
05:57:05 cti: not found
05:57:12 mandsch: yes, but you will still have to enter db name and password ...
05:57:44 astroidex: not found - it looks like Apache does not now about mapbender yet. a minute
05:58:40 cti: to mandsch: we changed the db name, the user and the password in the mapbender.conf - before that ms4w did not even recognize the application, now it does but we can't start it
05:58:55 astroidex: there shoule be a file in /ms4w/apps
05:59:27 astroidex: soory - I was wrong.
06:01:22 astroidex: a file ms4w/httpd.d/httpd_mapbender.conf
06:01:51 cti: ok found - whats to do in there?
06:03:03 astroidex: in this file the ALIAS for Apache is defined
06:03:12 astroidex: does it fit to your environment?
06:04:28 cti: one moment please!
06:06:20 cti: thats in the file: Alias /mapbender/ "/ms4w/apps/mapbender/http/" <Directory "/ms4w/apps/mapbender/"> Options MultiViews DirectoryIndex index.php Order allow,deny Allow from all </Directory>
06:07:22 cti: the filesystem looks like in the *.conf - means C:\Program Files\ms4w\mapbender.....
06:08:39 astroidex: you should put the ms4w package at c:/ms4w
06:08:51 astroidex: not at C:\Program Files\ms4w
06:09:27 cti: we will try that - just a moment
06:10:25 astroidex: http://maptools.org/ms4w/index.phtml?page=README_INSTALL.html#table-of-contents
06:10:25 sigq: Title: MS4W.MapTools.orgMapServer for Windows ( MS4W ) ( at maptools.org )
06:10:29 astroidex: and then restart apache
06:10:58 astroidex: mandsch - what about us and i18n
06:11:27 mandsch: well,
06:11:47 mandsch: I will exmine it further
06:11:55 mandsch: it's working in to gui
06:12:02 mandsch: ... in the gui ...
06:12:19 mandsch: but it's not working in mod_printPDf_pdf.php
06:12:33 mandsch: i get a corrupted pdf file
06:12:50 mandsch: ok, that was two steps ahead ...
06:12:55 mandsch: one problem i had
06:13:19 mandsch: was, that in class_locale
06:13:28 mandsch: when setting the textdmoin
06:13:43 mandsch: a constant LOCALE_DIR and LOCALE_DOMAIN are used
06:14:05 mandsch: but they are not defined
06:14:20 mandsch: I think they should be defined in mapbender.conf
06:16:57 mandsch: astroidex: can you think of a place where these constants get defined instead?
06:17:35 astroidex: maybe some code got lost in the last week
06:17:54 astroidex: mapbender.conf would be a good place for sure.
06:18:01 astroidex: just add the variables
06:18:25 astroidex: but maybe we have to get testbaudson in the discussion
06:18:55 mandsch: yeah, maybe ...
06:19:28 mandsch: anyway, i added them in my mapbender.conf and it worked
06:20:13 mandsch: though i am not sure, whether we need to include class_locale in mod_printPDF.php?
06:20:36 mandsch: or better in printPDF.conf -since thats teh place where we actually need php gettext functions
06:21:04 mandsch: maybe i put it on the agenda for next week's irc?
06:22:09 astroidex: it worked - great : )
06:22:14 cti: short question: is it a big problem to install ms4w in "program files" because of the space in the folder name?? can we correct this "error" anyhow withoud re-installing the complete package??
06:22:50 astroidex: good idea. put it on the irc-agendabut did you compile the .mo file?
06:23:16 mandsch: i compiled the .po to the .mo file
06:24:25 mandsch: the .po fille is included in the package
06:24:30 astroidex: cti - you definitely will have less problems when you put ms4w at c:/ms4w
06:24:46 mandsch: cti: is mapserver working?
06:24:50 astroidex: mandsch: ok - so no compilation is nedded : )
06:25:10 mandsch: astroidex: ?? i think it is needed.
06:25:30 mandsch: i thought gettext take sthe translations from the .mo file...
06:25:45 astroidex: sorry: compilation is needed. I did not read well.
06:26:08 astroidex: mandsch: what do you think about this way
06:26:13 cti: ok, than we have to re-install it :( thanks for your support, i think we will contact you again tomorrow.
06:26:30 astroidex: mandsch: is it too much trouble for the mapbender-administrator?
06:26:41 mandsch: cti: i think it not absolutely necessary
06:26:54 mandsch: i think the other packages also work from other locations
06:26:57 astroidex: cti - just wait
06:27:03 astroidex: does anything else works fine?
06:27:16 mandsch: you'll just have to fix the httpd conf files
06:27:34 astroidex: if it is just mapbender that makes problems, just edit the httpd conf files
06:27:49 astroidex: httpd_mapbender.conf
06:28:24 astroidex: Alias /mapbender/ " C:/Program Files/ms4w/apps/mapbender/http/"
06:28:39 astroidex: <Directory "C:/Program Files/ms4w/apps/mapbender/">
06:28:52 cti: sorry to late.... my buddy was to fast with unistalling the programms..... we will try it again tomorrow and let you know how it works!!! thanks again
06:29:14 astroidex: cti: restart apache and test wether tzhe ALIAS is working
06:29:24 astroidex: cti http://localhost/mapbender/
06:30:04 astroidex: mandsch: shall we go on on irc meeting. can you put it on the agenda?
06:30:05 mandsch: astroidex: i18n and gettext: i don't think it is too much trouble for the admin
06:30:14 mandsch: i will
06:30:28 mandsch: we just need a recipe
06:30:59 astroidex: mandsch: we have to discuss, how we can keep all this po files up to date and create new language files
06:31:14 astroidex: mandsch: your are right
06:32:02 mandsch: astroidex: the start is on the i18n / l10n page
06:32:18 mandsch: identify which modules use php gettext functions
06:32:27 mandsch: generate .po files, this is done automatically
06:32:39 astroidex: okay
06:33:32 mandsch: for a next release you can just add new entries to the existing po files
06:33:41 astroidex: mandsch: so it sounds easy. I will have a look at it till monday and we can discussit then.
06:34:12 mandsch: i think testbaudson already did it for most of the files ...
06:34:12 astroidex: mandsch: sure. but we have to get our greek ans ... freinds to edit this files.
06:34:18 astroidex: do you think this will work?
06:34:54 astroidex: okay. so more on monday. I have to go on with my mission. see you
06:35:17 mandsch: astroidex: true, that's the tricky part ...
06:35:35 mandsch: ok, so cu on monday, bye
06:35:41 astroidex: we will find a way : )
06:35:46 astroidex: bye-bye