Search the website and IRC logs

#TYPO3 IRC log from : Wednesday 18 February 2009

Year: 2007 2008 2009 2010 2011 2012
Month: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Day: 1 2 3 4 5 6 7 8 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
05:21 mathbr Hi. How's the status of the 2nd alpha of Typo3 4.3?
08:40 mathbr How's the status of the 2nd alpha of Typo3 4.3?
09:32 NublaII can you use more than one [else] condition? something like [global]...[else]...[else]...[global]?
09:34 dec__ [elseif] ?
10:16 Rickard Gah. I can't get my frontend plugin to output anything.
10:17 Pirulo Hi all
10:17 Rickard I've made dozens of similar plugins before, but this the first one done in 4.2.
10:17 Pirulo Can anybody help me with the table element? I am trying to do cellspan and colspans but I only find the simbol "|" to separate the columns, nothing more
10:20 Rickard It would appear, the plugin isn't even called at all. If I put exit(); in the main method, nothing happens.
10:23 Pirulo Any idea?
10:28 Pirulo FUCK YOU
10:29 Rickard :)
10:30 Rickard AHA! I forgot to clear the caches.
10:57 NublaII I cant find an [elsif] anywhere...
10:57 NublaII documentation only talks about [else]
11:04 smeringe hey folks
11:19 dokma hey smeringe
11:20 dokma NublaII: I don't think it is constructed as elsif but a series of if like this [case1] ... [case2] ... [case3] ... [end]
11:31 Denyerec mornin all
11:32 HardPhuck hey den
11:52 Denyerec hp - did I ever show you my flickr account?
11:57 smeringe Denyerec: not me :)
11:57 smeringe show me show me :P
11:57 Denyerec http://www.flickr.com/denyerec/
11:57 Denyerec :)
11:58 Denyerec I only use flickr for my photogroup photos, which is why they're all models and not landscapes and stuff, which I keep on my homepage
12:01 smeringe Den, yeah. seen those on your homepage. Nice shootings (flickr). you're good as always!
12:01 Denyerec thanks man
12:02 Denyerec Wish I knew how to make money from it, though.
12:02 smeringe that's the tricky part. with most things :(
12:04 HardPhuck den, love the pics
12:06 NublaII dokma in that example you need to define a default state beforehand then right?
12:21 Denyerec Another nice extension from Just2b...
12:21 Denyerec I wish I was half as productive as he is.
12:21 Denyerec :/
12:22 smeringe hehe. +1.
12:26 HardPhuck +2
12:26 HardPhuck :)
13:38 albytrott hi all, i am trying to install a custom extension, each time I click install the extension I keep getting the message that "the extension is not installed yet" and the option to install again. Is there anyway I can force the install?
13:38 albytrott I get no error messages
13:51 _pedda_ albytrott: take a look in your localconf.php
13:52 _pedda_ there is a list of extensions which are installed
13:52 _pedda_ you can add yours to the list, but i don't think this is the best idea.. something in your extension seems to be messed up
14:10 HardPhuc can i set ALL my pictures to be click enlarge?
14:11 HardPhuc because i have enabled pictures to be added with htmlarea
14:11 HardPhuc but if right click on a picture and set it to be click-enlarge
14:11 HardPhuc nothing happens
14:13 maholtz|WORK right-click? left-click?
14:13 maholtz|WORK javascript disabled?
14:14 HardPhuc in htmlarea when adding an image
14:14 HardPhuc i can right click on that image to get addiitional options for that image
14:15 HardPhuc and in the pop up window there is a click-enlarge option that i can choose
14:15 HardPhuc but when i save, nothing happens
14:15 HardPhuc i mean the image is not click enlarged
14:22 _pedda_ is there some js added to the image? oder a class which would indicate that this image has the click enlarge option in the source of your FE ?
14:26 HardPhuc well it has clickenlarge="1"
14:27 HardPhuc <img width="200" height="150" alt="" style="border-style: solid; border-width: thin;" src="uploads/RTEmagicC_Oddelek02_01.jpg.jpg" clickenlarge="1"/>
14:32 _pedda_ check for js errors in fe then
14:32 HardPhuc firebug does not report any
14:33 _pedda_ do you have webdeveloper toolbar for ff as well ?
14:33 HardPhuc no
14:33 _pedda_ https://addons.mozilla.org/de/firefox/addon/60
14:33 _pedda_ this one
14:34 HardPhuc installing
14:34 _pedda_ the toolbar reports you errors on the webpage in the right corner of the toolbar itself
14:36 _pedda_ so if something like the click enlarge js function seems to fail, you can check whether something causes js errors in fe
14:36 HardPhuc http://www.bf.uni-lj.si/agronomija/o-oddelku/predstavitev-oddelka.html
14:36 HardPhuc no errors
14:36 HardPhuc top two images are clickenlarge
14:38 _pedda_ hmm i have no errors but some warnings..
14:40 HardPhuc yea but none JS related
14:40 _pedda_ 4 js related
14:40 _pedda_ Warnung: variable e redeclares argument
14:40 _pedda_ Quelldatei: http://www.bf.uni-lj.si/fileadmin/template6/js/spry.js
14:40 _pedda_ Zeile: 430, Spalte: 5
14:40 _pedda_ Quelltext:
14:40 _pedda_ var e = e|| event;
14:40 _pedda_ for example
14:41 snoy_ms errors, no erros here
14:41 _pedda_ but i dont think this affects the click enlarge
14:41 HardPhuc spry is for menus
14:41 _pedda_ there is a dynamicimage.js
14:41 _pedda_ which also gives me a warning
14:42 HardPhuc that is for header images
14:44 snoy_ms which images are clickable ?
14:44 _pedda_ the bigger ones
14:44 _pedda_ 2 pcs
14:44 HardPhuc top two in the content
14:45 HardPhuc at least they should be
14:46 snoy_ms on this site ? http://www.bf.uni-lj.si/agronomija/o-oddelku/predstavitev-oddelka.html
14:46 snoy_ms the two images in bodytext ?
14:46 HardPhuc yes
14:47 snoy_ms these aren't clickable....
14:48 HardPhuc i know, that's what i'm asking
14:49 HardPhuc those images are added from inside the HTMLarea
14:49 HardPhuc and then i right click on that image (stlll in the rte) and select 'image properties'
14:50 snoy_ms is it nromal that your images ahve the following name ? RTEmagicC_Oddelek02_01.jpg.jpg
14:50 snoy_ms .jpg.jpg
14:50 HardPhuc hmmm
14:51 HardPhuc those images are added with upload wizards
14:53 snoy_ms all of your images uses this ending
14:53 snoy_ms maybe this could cause an enlarge error
14:53 HardPhuc dunoo why that happens
14:53 snoy_ms ts script or client site
14:57 HardPhuc will check it out
15:00 fred^^ Hmm, I have a TV Flexible Content element, and for this I have a text editor on one of the fields. Is it possible to add some TS to tell this editor to be half the height of what it's now
15:01 fred^^ im looking at the TV DS file right now, and I see a section called <TypoScript>
15:01 _pedda_ you can set this via ts
15:01 _pedda_ into the ds of your fce directly
15:02 _pedda_ TCEFORM.tt_content.bodytext.RTEfullScreenWidth= 80%
15:02 _pedda_ rtefullscreenwidth is wrong.. wait there is another property
15:02 Janoon Hi everyone
15:03 _pedda_ hi
15:04 snoy_ms hy
15:04 _pedda_ hmm can't find this actually
15:04 fred^^ No problem, I'll have a look around
15:04 fred^^ I've been using tinymce_rte for all new sites and have been digging through the TS lately
15:12 fred^^ _pedda_ RTE.default.init.height = 250
15:12 _pedda_ ah ok thx ;)
15:13 _pedda_ fred^^: pn
15:29 mib_fa5ya6 how can i add a field with a private e-mail-address to tt_address?
15:29 mathbr Hi. How is the alpha 2 of TYPO3 4.3 doing?
15:39 [Francesco] Since 2 days the search on the mailing list doesn't work anymore. I reported to the typo3.org mailing list but nobody answered.
15:40 [Francesco] can you confirm that something does'nt work or maybe is only a problem of mine ?
15:47 mib_fa5ya6 which field-type should a e-mail-addres be in kickstarter?
16:02 mib_fa5ya6 okay, i got it by creating a new extension. now i have a new field in tt_address.... but how can i move this up in list-view?
16:04 flowdab hi... i want to have a menu and what every link to have an own image, how is that possible?
16:04 _pedda_ the same image ?
16:05 _pedda_ or individual
16:05 _pedda_ image
16:05 _pedda_ afk
16:05 flowdab individual images
16:07 sugo hi all
16:09 sugo I've a problem with backend of typo3 4.1.2, when I click on the module to see the page tree, it takes a lot of time and often I got an error about php memory exhausted
16:09 sugo (sorry for my english)
16:10 chefan sugo: consider raising the memory limits in php.ini
16:11 sugo it's very high!
16:11 sugo 512M
16:11 chefan taking a lot of time with huge pagetrees is not necessarily unusual with typo3, considering that a scripting language is doing application work here
16:11 chefan oO
16:12 johnson_hh hi
16:13 johnson_hh i want to set up up realurl, the links are generated just fine but on the subpages i always get Segment "miriam-wessels" was not a keyword for a postVarSet as expected!
16:13 johnson_hh can anyone help me out?
16:14 chefan confirm, sugo : you have memory_limit set to 512M and you get memory exhaustion?
16:14 chefan are you trying to mirror the internet on your site?
16:14 flowdab how can i create an individual image menu?
16:15 dec__ maybe he forgot to restart apache after changing the settigns in .ini? would seem the only logical explanation
16:15 dec__ or yes, he's mirroring the internet
16:15 chefan either that, or some extension tries to configure a page tree recursively
16:15 sugo yes, chefan
16:16 sugo no, not a mirror of internet :P
16:16 [Francesco] sugo which's your hosting hardware ?
16:16 [Francesco] i mean, hosting plan
16:16 sugo it's a shared server
16:16 sugo 1giga RAM
16:16 [Francesco] VPS ?
16:16 sugo model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
16:16 [Francesco] no no
16:17 sugo I'm migratin this site from a server PIII, 64M of ram
16:17 sugo :|
16:17 [Francesco] is it a vps ?
16:17 sugo and on the original server, backend it's very quickly
16:17 sugo no, "real server"
16:19 [Francesco] if you really have 512 MB of memory from this shared server and you really already checked that in php.ini the mem limit is 512Mb then is very strange. Do you run other sites or script on your shared server ?
16:19 chefan ok, so the site worked on 64M of physical ram
16:19 chefan what was the memory limit setting you had on the old server?
16:19 sugo one moment
16:19 johnson_hh can anyone help me with my realurl problem?
16:20 sugo memory_limit = 128M
16:20 sugo (on the original server)
16:21 sugo [Francesco]: yes, it's a shared server with a lot of virtual host
16:22 chefan try using the same on the new server first
16:22 flowdab how can i create an individual image menu?
16:23 chefan i have a suspicion there, but it should have caused trouble on the old configuration as well, though vps often have burstable memory available, which could change stuff
16:25 chefan you are working with a very high memory limit there, and i am not sure if apache will try to preallocate that for a thread. if so, you might be hitting swap very early, which could explain sluggish page buildup
16:26 maholtz|WORK @flowdab: you could use page-field "media" to put in image in your page where do you want to link to. then use TMENU and use allWrap.cObject to override normal menu rendering and use IMAGE which is filled via page:media listNum=0 and linked via stdWrap.typolink.field = uid
16:26 chefan anyhow, it is usually a good idea to work yourself upwards with memory limit, i haven't had a site yet that needed more than 64M
16:27 flowdab maholtz|WORK: i do not understand anything :( don't you have a link for an example?
16:27 sugo I've tried the same on different server, also with one single vhost (typo3)
16:27 chefan sometimes typo3 has huge memory consumption in the backend, for instance when imporing huge extensions, but to my mind the proper solution would rather be to scp them to where they belong and import them locally
16:28 sugo Maybe the problem is the database?
16:28 chefan might be a lot of things, since the page tree is kept in the database, yes, that could be a problem too
16:29 maholtz|WORK @flowdab: nope - but its just typoscript
16:29 sugo ok, I'll try to dump/import again and retry. thankyou very much
16:29 maholtz|WORK you could use image object instead - put into your images and add the likns
16:29 chefan did you copy the temp files too when migrating?
16:29 maholtz|WORK you can use more than one link
16:29 sugo_away chefan: yes
16:29 sugo_away :\
16:29 chefan the ones in typo3conf?
16:29 sugo_away but I've deleted the cache
16:30 sugo_away trought the backend interface
16:30 sugo_away It was a mistake?
16:30 chefan well, just for the fun of it you could check typo3conf for temp files and delete them manually
16:31 chefan no, clearing the cache is always a good idea after all significant modifications on a site
16:31 sugo_away ok
16:31 chefan if you dragged temporary files along from another server, that could be a reason for problems
16:31 chefan try to give the migrated site a new start, as clean as possible
17:03 johnson_hh can anyone tell me how to set up a background image in templavoila that is in the files section of the page?
17:04 johnson_hh basicly i only need to get that filepath into an style=background-image: path of the template
17:05 mib_683cws oh my god... i've deleted the content of typo3temp.... now my FE is looking very crazy!
17:07 mib_683cws there are content-elements which are only displayed half, text is missing... thats curious... what should i do?
17:08 mib_683cws i thought the content of typo3temp is temporary and will be created new when he was deleted
17:10 mib_683cws who can help me?
17:34 mib_683cws This is how the FE looks http://rgh-heidelberg.de/diergh.0.html after i've deleted the contents of typo3temp. How can i fix this?
17:51 jochke I have made this simple condition: http://paste.phlogi.net/-836e94aa5b/ It's like it is always ignoring line 2 and executing all lines from 6-8..
17:51 jochke Anyone?
17:53 teppi|work jochke, erm .. you must know that typoscript isnt anything else but a configuration array
17:53 teppi|work in line 2 you set this value
17:53 teppi|work array[lib.][pagecontent.].....[wrap] to some value
17:54 teppi|work and in line 6 you overwrite it
17:54 teppi|work line 6 overwrites line 2
17:54 teppi|work i hope this was the question? :-)
17:55 jochke teppi|work: So i can't set conditions?
17:55 teppi|work no .. you can but it depends on what you wanna do
17:56 jochke I just wan't it to execute line 6-8 when the page id = 6, else et should use the markup in line 2.
17:57 teppi|work ah ok
17:57 teppi|work mom
17:57 maholtz|WORK [globalVar = TSFE:id=6]
17:58 teppi|work [globalVar = TSFE:id > 10]
17:58 teppi|work NAAA
17:58 teppi|work always faster
17:58 teppi|work :D
17:58 maholtz|WORK ups, sorry :D
17:59 teppi|work np
17:59 teppi|work hehe
17:59 teppi|work jochke, here you find an overview: http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/
18:00 jochke It still dosn't do it.
18:01 m4rtijn hi all
18:01 maholtz|WORK hi m4rtijn
18:01 maholtz|WORK @jochke: but it works, if you disable the condition?
18:05 jochke maholtz|WORK: It does the same as before. I just replaced [PIDinRootline = 6] with [globalVar = TSFE:id > 10]
18:06 jochke It's like it is ignoring line 2
18:07 jochke And it should only ignore line 2 when page id = 6
18:07 maholtz|WORK well, so test it with TSFE:id = 6 instead > 10 ?
18:11 jochke Then it's like the condition always is false. The line 6-8 is ignored.
18:11 maholtz|WORK what is the page id?
18:13 mib_683cws i've deletet the content of typo3temp and after that the cache in TYPO3-BE. Now my FE is going crazy... text from content-elements is only displayed half... http://rgh-heidelberg.de/diergh.0.html whats going on there?
18:13 jochke It's id is 6: http://www.morbaerhaven.dk/index.php?id=6
18:16 maholtz|WORK check in typoscript objectbrowser what happens - you can set there the condition to check what happens then
18:17 jochke maholtz|WORK: I've found the solution.
18:17 mib_683cws oh damn.. it was sourceopt... i't seems there is something buggy
18:17 maholtz|WORK @jochke: what was it?
18:20 jochke Page id 6 is the ID of the shortcut to page id 48. Even the id 6 is shown at the url, it should be id 48 that it is shortcutting to.
18:22 jochke Thanks for your help. Know I learned a new condition in typo3. :)
18:22 maholtz|WORK np - there are much more:)
18:33 mib_683cws I've created an extension with kickstartet. in ext_tables.php I've this line:
18:33 mib_683cws t3lib_extMgm::addToAllTCAtypes('tt_address','tx_ttaddressextrafields_private_email;;;;1-1-1');
18:35 mib_683cws now I need to know, where I have to write the position "after:email" into this line.
18:40 maholtz|WORK afaik third parameter?
18:41 maholtz|WORK you could check it in the api
18:43 mib_683cws maholtz|WORK: http://typo3.org/fileadmin/typo3api-4.0.0/db/d23/classt3lib__extMgm.html#65c4e9eb4a9bc69868f8a9449640bd10
18:44 mib_683cws maholtz|WORK: the 4th
18:44 mib_683cws maholtz|WORK: but the line, i've posted includes only two parameters, right?
18:45 maholtz|WORK yep, so third would be '' ;)
18:45 mib_683cws two of this: ' ?
18:46 mib_683cws so i include ,'','after:email' ?
18:46 maholtz|WORK yep
18:47 mib_683cws ok, i will try this
18:49 mib_683cws maholtz|WORK: it works! thanks!
18:49 maholtz|WORK np
18:58 maholtz|WORK have to go bye
19:23 Dragan Hi all. Has anybody have an experience with searching through mm_forum posts using the standard indexed_search?
19:24 Dragan I've set up a proper indexing configuration, and the crawler crawles the pages with the posts, but indexing does not occur. I suppose, mm_forum has disabled caching
19:25 Dragan I've checked mm_forum's typoscript configuration and I see USER_INT set. When I try comment that line, mm_forum extension starts to act weird
19:26 Dragan So my question is .. Is there a way to search through the mm_forum posts using standard indexed_search?
19:36 drindt someone here is interested on how typo3 goes cloud computing?
23:06 Pepelargo Hi all
23:06 Pepelargo I want to know something: Is Typo3 storing in the DB all the pictures, flash movies, and other media used in the content?
23:08 dinsdale07 Pepelargo, usually it only stores a reference to the filename used. Usually you can find the file in uploads/ext-name
23:08 Pepelargo dinsdale07, mmm, so why the DB is so huge?
23:08 Pepelargo dinsdale07, 2 MB just a bunch of pages with no more than 10 lines of text each
23:09 dinsdale07 can have several reasons. One is that typo3 doesn't delete content but just marks it as deleted.
23:09 dinsdale07 my database is 50MB :-)
23:09 Pepelargo dinsdale07, and also, I noticed when I moved the app to another server, and imported the SQL generated by the "export" option in Phpmyadmin, and the pictures are gone!
23:09 Pepelargo dinsdale07, so I thought that that is because I didnt imported the images in blobs?
23:10 dinsdale07 as I said, usually it only stores a reference to the filename. did you make sure you transfered all the directories when you copied across your web?
23:10 dinsdale07 I use rsync for that and I never had problems with missing images.
23:10 Pepelargo dinsdale07, I copied the entire typo3 folder
23:11 Pepelargo dinsdale07, resync?
23:11 dinsdale07 rsync, it's a unix tool to syncronize two directories.
23:11 Pepelargo dinsdale07, even if one is remote?
23:12 dinsdale07 the folder typo3 only holds the typo3 core - usually you don't touch this so you can update in the furutre.
23:12 dinsdale07 sure - works very well even over ssh.
23:12 Pepelargo dinsdale07, one new question..How can I delete the non used content that typo3 maks as deleted?
23:12 dinsdale07 do you read german?
23:13 Pepelargo dinsdale07, no sorry, I am spanish
23:13 Pepelargo dinsdale07, However I speak french
23:14 dinsdale07 hm - I'm just looking for an article in a blog which discussed this.
23:15 Pepelargo dinsdale07, I am new on typo3, just a month working with it, but I had a lot of problems setting the variable for the root folder when I moved the site to a remote server. I am developping the site in my laptopo, so the variable is "localhost" and everything works great, however when moving to the remote server, I tried the IP and worked good for firefox, but IE doesn't fined the CSS style file, images, etc..
23:15 dinsdale07 http://typo3blogger.de/turchen-2-tutorial-typo3-entrumpeln/
23:16 Pepelargo dinsdale07, I am going to take a look to that, thanks
23:16 dinsdale07 I'm sorry it's in German but that's the only only link I have for this topic
23:16 dinsdale07 maybe you can throw it at google or bablefish or so
23:16 Pepelargo dinsdale07, no worries, I will translate it with google :)
23:17 dinsdale07 your problem with the missing CSS sounds like your baseurl might not be correct.
23:17 Pepelargo dinsdale07, yeah, that's right, the baseurl is working for FIrefox, but not for IE, is that possible?
23:17 Pepelargo dinsdale07, in my laptop is "localhost", and when moving to the server it is "X.X.X.X" (the public IP)
23:17 dinsdale07 sounds more like a more fundamentional error.
23:18 dinsdale07 if you leave it our does it work. try to add config.baseurl = in your constants
23:18 Pepelargo dinsdale07, yeah, I have that line, but nothing after the "="
23:18 dinsdale07 for a general setup I used to refer to this document. It's for ispconfig but should work also in general http://www.howtoforge.com/typo3_on_ispconfig
23:19 dinsdale07 yes - to delete the value. Usually you do that with > but I think that doesnt' work with Constants.
23:21 Pepelargo dinsdale07, so I don't know why but when opening the web with firefox, the content is styled, and when opening with IE only black text on white background (like if no style is applied), it is like if the browser is not finidng the CSS file
23:25 dinsdale07 Pepelargo, have you maybe some css specificly which only IE recognizes?
23:26 chefan dinsdale07: never throw german at babelfish, less so if the target is not english oO
23:26 dinsdale07 there are some selectors which only IE understands. If you overwrite something there it would affect only IE.
23:26 Pepelargo dinsdale07, no I don't, but event the simpler thing like body {background-color:#000000;} is not being used by IE, so it is like if the file css was missing
23:26 dinsdale07 hehe - I had a coallegue called "Reinhardt Pfleger". It's a typical German name. Bablefish translated it to "pure male hard nurse"
23:26 chefan the results, apart from most likely not being very helpful, might fuck up the stuff that was working before
23:27 chefan lol
23:27 Pepelargo dinsdale07, and if IE had a tool like Firebug...then I could knwo what is going on... XD
23:27 Pepelargo dinsdale07, but it doesn't so I am blind
23:28 dinsdale07 I think there is something like that - but it costs money.
23:28 dinsdale07 u got a link?
23:28 Pepelargo dinsdale07, not yet, I am sorry,
23:28 Pepelargo dinsdale07, well, no problem, I will find the reason sooner or later..
23:29 Pepelargo dinsdale07, on the other hand, is it normal that when working with typoe editing and adding pages, its behaivour is so slow?
23:29 dinsdale07 hehe - well. good luck.
23:30 chefan pepelargo: german issue again, but you could check the css that is not working out at selfhtml.org
23:30 dinsdale07 TYPO3 is a big boy - takes some ressources and your webserver should be well configured.
23:30 chefan they have conveniently marked which browsers understand what and list the basic browser specific caveats as well
23:30 Pepelargo dinsdale07, I am using the latest Firefox on Ubuntu...what should I do?
23:30 dinsdale07 actually - I had a similar problem like this - on my virtual apache server with only 256 MB RAM, configured for 10 threads.
23:31 dinsdale07 apache would just stop serving css files, I upgraded to 512 and it was fine.
23:31 Pepelargo chefan, I'll check that
23:32 chefan if you want to keep the dev platform lightweight, you could throw your typo3 at lighttpd with php5-cgi
23:32 Pepelargo Well guys, so what should I do to my Firefox in order to boost it with typo?
23:32 chefan saves me a lot of resources on the devmachine
23:33 Pepelargo chefan, lighttpd is a www server?
23:34 chefan PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23:34 chefan yup
23:34 chefan 5739 www-data 20 0 4648 1528 780 S 0 0.1 0:00.52 lighttpd
23:35 Pepelargo CPU: 0 MEM: 0.1... WTF?
23:35 Pepelargo chefan, diferences with Apache?
23:36 chefan base config makes more sense, less footprint, generally faster, especially with static data
23:36 chefan out of the box that is
23:37 Pepelargo chefan, isn't it valid for production enviroments?
23:37 chefan i heard from people that apache can be tweaked to similar performance, but out of the box, apache eats up a lot more resources
23:37 chefan youtube thinks it is ;)
23:38 Pepelargo chefan, what? youtube is using lighttpd?
23:38 Pepelargo chefan, and how about the integration with PHP? ...
23:38 chefan yes, for all static data
23:38 chefan fastcgi
23:38 Pepelargo chefan, what you mean with "static" data?
23:39 chefan serving images, html, css, everything that comes from the file system and is not script or app generated
23:39 Pepelargo chefan, ok, so in that case php scripts will be handled in a bad way, right?
23:40 chefan some people even put a lighttpd in font of the apache for the static stuff. personally i am quite happy with the fastcgi performance, so i thing in that case i would rather leave out the apache altogether
23:40 dinsdale07 Pepelargo, another consideration for your development server might be a virtual machine. I have virtualbox on a server at home (with 6GB RAM) and always map per ssh my projects to my local laptop.
23:40 chefan erm, no, why should they?
23:41 chefan mod_php is just a convenience solution, it is not any better than php-cgi
23:41 dinsdale07 It has the advantage that I can just take the virtual image and copy onto my laptop if I want to take a project with me.
23:41 Pepelargo dinsdale07, I am using VBOX for XP because of some software I can't find in Linux like Solidworks, but I have never thought to use it in that way
23:42 Pepelargo gone for dinner guys
23:42 Pepelargo thanks for the answers
23:42 dinsdale07 bon appetit :-)
23:42 chefan the worst drawback criticized with lighttpd is that development is more or less congested, limited to pure bugfixes
23:43 chefan then again i don't miss anything with lighttpd, so i don't see that as a big problem
23:43 dinsdale07 compared to apache do you think lighttpd give you consiberable more performance?
23:43 chefan in average use cases i would say yes
23:44 chefan plus to my mind, the configuration is easier
23:44 chefan it is always difficult to pinpoint the "best" solution for everything
23:44 dinsdale07 hm - actually sounds interesting since I'm not quite happy with the performance on my server. I have however ispconfig installed which depends on apache.
23:45 chefan hmm, i think the selection should be based on testing with the site you intend to run and a load test
23:46 chefan you might add nginx as a third alternative
23:46 dinsdale07 heard good things about performance as well for nginx.
23:47 dinsdale07 I never see my server going up in CPU usage though and still consider the page loading slow. So it might be more a problem of the HD or Net throughput
23:47 chefan on virtual servers with severe memory restrictions i would always consider lighttpd, php5-cgi and postgresql as alternative to the lampp monster
23:48 dinsdale07 total used free shared buffers cached
23:48 chefan as far as i understood, nginx is aimed at high performance and follows modern design patterns
23:48 dinsdale07 Mem: 512 412 99 0 16 128
23:49 dinsdale07 also memwise looks fine for me.
23:49 chefan there are a couple of os tweaks as well to be considered, especially if you run more than one service per server
23:50 chefan to avoid one service waiting for "his turn" while the others are undercomitted
23:50 dinsdale07 that might be true - I pretty much threw everything on this server. postfix, pop, smtp, clamav
23:51 dinsdale07 average load is nominal though 0 0 0 just now ...
23:51 chefan sometimes the busier services could use a bit more process priority over those that are less mission critical
23:56 dinsdale07 are pageloads between 5 and 10 seconds normal?
23:56 chefan with typo3 well possible on affordable servers
23:57 snoy_ms or on vlinux server how just woke up after a long request brake
23:57 dinsdale07 hm ... I still don't understand where the bottleneck is. I don't think it's the CPU load. I'm watching it with href.
23:57 chefan hook into the frontend rendering process and dump the configuration loaded on every pageview if you want to know why ;)
23:57 chefan could be database access
23:58 dinsdale07 I mean these pages should be also cached by typo3.
23:58 chefan consider that typo3 is nothing but a bloated script after all
23:58 dinsdale07 hehe :-) One huge table definition.
23:58 chefan well, that does not save you the workload of loading the config first to see if the cache can be used ;)
23:59 snoy_ms firebug debug mode ? lol
23:59 chefan for page construction issues, you can use yslow (yahoo tool, firefox plugin) to check for optimization options

Technologies


R. van Twisk 2004-2010 R. van Twisk / Avenida Diego de Almagro No: 22-47 y Juan Severino / Quito Ecuador
callto://r.vanTwisk | Support: +1 (803) 4263350

© 2012 R. van Twisk. All Rights Reserved.