Search the website and IRC logs

#TYPO3 IRC log from : Tuesday 1 December 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 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
00:01 kraftb hmm ...
00:06 kraftb if you do a "echo $pastoSearch" below line 49
00:06 kraftb does it output your search word on the first page?
00:06 kraftb I guess it will, cause the search works ...
00:07 uriahheep yes
00:07 uriahheep the search works ;)
00:07 uriahheep i'll see if it can print the session data i just stored before though
00:08 uriahheep it does
00:09 kraftb do a print_r($GLOBALS['TSFE']->fe_user->sesData); at the top of the function
00:09 kraftb does this also print out the session data at the second load ?
00:10 uriahheep Array
00:10 uriahheep oh boy
00:11 uriahheep kraftb: http://uriahheep.pastebin.com/m11b18c74
00:11 uriahheep kraftb: lol
00:12 kraftb ?!?!
00:13 kraftb I don't know where you put the print_r
00:13 kraftb 's
00:14 uriahheep kraftb: at the top of the functio
00:14 uriahheep n
00:14 uriahheep it probably does that because of the ts
00:16 kraftb so have you found the problem?
00:16 uriahheep well
00:16 uriahheep i think so
00:16 kraftb I can't follow your debugging toughts ...
00:16 uriahheep true :P
00:16 kraftb fine. cause I'll leave now ...
00:16 uriahheep i'll see what i can do, give me 15 minutes
00:17 uriahheep or, if you'd rather leave you can ;)
00:17 uriahheep thanks for your help! i'm pretty sure i can figure the rest out
00:17 uriahheep aww
02:16 dokma anyone still on?
02:17 dokma ries: can you give this ext a run and let me know the results: prcheck
02:18 dokma it's a no brainer, just install and run
08:58 randomresult good morning
08:58 randomresult someone awake?
08:58 sorenmalling Morning
08:59 sorenmalling I'm awake :)
09:01 randomresult maybe u can help me :)
09:03 sorenmalling Ask :)
09:04 randomresult damn ... batteriy low
09:04 randomresult i need a new icon (filetype) in the CE filelist... any ideas?
09:05 sorenmalling Do you need to allow a new file format or what do you mean?
09:09 randomresult i have a new fileformat .dwg
09:10 randomresult it is allowed but has no icon
09:10 randomresult now i need to add a new icon
09:10 randomresult but i dunno how
09:11 sorenmalling randomresult: Just had a quick search. Try go to http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/6/1/ and go to the part for "skinImgAutoCfg".
09:11 sorenmalling there's a TBE_STYLES array, try to use that
09:11 randomresult uhh...
09:11 randomresult ok i will
09:12 sorenmalling Please tell if it works :) Ive never used it before, but just Googled my way :)
09:16 Prot0 morning
09:18 PiMB goodmorning!
09:25 sorenmalling Morning
09:33 maholtz|WORK morning
09:43 BejjWrk morning
09:46 Denjerek Morning all!
09:46 Denjerek Can anyone tell me how the hell the recycler is supposed to work ?
09:46 Denjerek When I delete a content element, I am forced to use "unlink"
09:47 Denjerek That doesnt' go near the recycler, it just stuffs the element in the invisible "unused elements" area as usual.
09:47 Denjerek As you can expect, this is not good for the less technical editors...
09:56 PiMB what do you mean with the recycler?
09:56 PiMB can't really follow
09:56 Denjerek Well
09:56 Denjerek 4.3 added a new "Recycler"
09:57 Denjerek Which is supposed to handle deleted records.
09:57 Prot0 i dont think the tool is really meant for editors :]
09:57 Denjerek The irony here is that I can't seem to delete anything! I can unlink content in the same way as before, but that's still as awkward and confusing as it ever was.
09:57 Denjerek It's there for things like template records, then?
09:59 unbob1 Hey, I have 4.3 and a problem. On uncached pages I get a ?> before the output. Like this "?><!DOCTYPE html". When I refresh that page the ?> is gone. If I clear cache it's back again. Anyone know where to start looking?
10:00 Prot0 unbob1
10:00 Prot0 thats a bug in tt_news 3.0
10:00 unbob1 ah, right
10:00 Prot0 :]
10:01 unbob1 tried removing the news, and testing, but must not have done it right
10:01 unbob1 thanks
10:01 Prot0 http://bugs.typo3.org/view.php?id=12808
10:01 dokma Guys can anyone test my very simple ext: prcheck. Just let me know if it works with xajax and without...
10:06 PiMB the recycler is for 'undeleting' and permanetly deleting records right?
10:06 PiMB didn't seem that complicated
10:09 dokma Denjerek: you got a minute for a short test? Extkey: prcheck it just displays Google PageRank graphically...
10:09 Denjerek I'm not at home :/
10:09 Denjerek if you give me 2 minutes...
10:09 Denjerek I just add plugin to page as content element ?
10:09 dokma sure no probs
10:09 dokma yes
10:09 dokma there are 2 plugins
10:10 dokma one just displays the PR of the current domain
10:10 dokma the other displays a form to enter any domain
10:10 Denjerek ok which one you want me to test?
10:10 dokma the one with the form
10:10 dokma it's the first one
10:10 dokma uses the same algo as the second so if it works for you the other should work as well
10:11 Denjerek Evorion.hr Google PageRank display ?
10:11 dokma yes
10:11 dokma no!
10:11 dokma sorry
10:11 dokma that one just shows it for the current domain
10:13 Denjerek dokma PM
10:13 dokma ok
10:14 Denjerek oh rats
10:14 Denjerek I can't register here
10:14 Denjerek join #denyerec
10:14 Denjerek Ignore that
10:14 Denjerek it's working fine
10:14 Denjerek BTW - do you know what the new recycler's for?
10:15 Denjerek For me, content elements still need to be "unlinked" and never appear there.
11:21 mulilo hi there
11:22 mulilo I have a simple question
11:22 Prot0 shoot
11:22 randomresult soremailing: i dont know how to do this "skinImgAutoCfg"
11:22 mulilo is there any function in typo3 to redirect the user to another page? (after doing some stuff)
11:22 sorenmalling randomresult: Define it in ext_localconf would be my gues
11:24 mulilo it was not that simpler :S
11:25 Prot0 depends where youre doing this?
11:25 Prot0 with typoscript or with php?
11:25 mulilo php
11:25 mulilo it's my own extension
11:25 Prot0 generate just a typolink and redirect to in with header() and after that exit()
11:25 Prot0 :]
11:26 mulilo :) thank you i'll try!
11:33 kotelette Hi everybody, maybe you can help me with a security issue reported since the last PHP security update:
11:33 kotelette Dec 1 08:31:52 homer suhosin[4559]: ALERT - canary mismatch on efree() - heap overflow detected (attacker '59.188.107.130', file
11:33 kotelette +'/srv/www/www.j2mepolish.org/typo3_src-4.2.10/t3lib/class.t3lib_htmlmail.php', line 718)
11:53 maholtz|WORK @kotelette: you know that ip?
11:56 Prot0 inetnum: 59.188.0.0 - 59.188.255.255
11:56 Prot0 netname: NWT-NET
11:56 Prot0 descr: New World Telecom Ltd., Hong Kong
11:56 Prot0 country: HK
12:10 kotelette No it seems to be from Hong Kong
12:10 kotelette as I just found out some people claim this is a Suhosin Patch bug
12:10 kotelette but others deny this like http://www.suspekt.org/2008/10/12/suhosin-canary-mismatch-on-efree-heap-overflow-detected/
12:11 kotelette this happen after the last Suhosin update: class.t3lib_htmlmail.php', line 718
13:10 xaver can i send with a typo3 funxtion a smtp mail?
13:18 maholtz|WORK yep, search for htmlmail
13:19 maholtz|WORK t3lib/class.t3lib_htmlmail.php
13:20 xaver thx
13:20 Prot0|away anyone here using lastfm?
13:27 xaver maholtz|WORK: how can i login
13:36 maholtz|WORK @xaver: sorry, i thought you want an API function - but you are looking for an E-Mail Client?
13:43 breastfed hello. I have a Question ref. to Flexible Content Elements. I have to build a Modul in an existing Site, where the Admin as certain pre-defined Fields such as "Text Inputfield or Textarea" - can somebody help me out?
13:43 PiMB sorry mate, got no experience with TV
13:45 bodo_typo3 @breadfed look into manual futuristic template building
13:46 bodo_typo3 sorry, "breastfed" (what a name!)
13:46 breastfed :)
13:47 breastfed always catching props for it
13:47 breastfed :d
13:48 AlexTheGer hi there
13:48 breastfed oi
13:49 AlexTheGer since upgrading to TYPO3 4.3 one css file is not included correctly. Insted the Link is just written as plain text (see http://www.icf-berlin.de/ ).
13:49 AlexTheGer any ideas how to fix this?
14:02 Prot0 are you need to use the default styles?
14:02 AlexTheGer hmm?
14:03 Prot0 otherwise you could disable them
14:04 Prot0 more of a workaround
14:04 Prot0 http://www.icf-berlin.de/typo3temp/stylesheet_dc66e267aa.css
14:05 AlexTheGer well, I want to have that css file included, because otherwise my design gets mest up
14:06 Prot0 where is this CSS generated from
14:07 AlexTheGer I'm not 100% shure, but it should be coming from a custom extention called "ju_icf".
14:08 AlexTheGer did the behavior of including css changed from 4.2.10 to 4.3.0?
14:08 Prot0 dont know
14:08 Prot0 dont know how it is with the default css that typo generates
14:08 Prot0 normal css inclusion has not changed though
14:08 Prot0 at least not my knowledge :]
14:09 Prot0 but as a workaround you could disable this CSS code and add it another file
14:09 Prot0 if it's custom anyway
14:09 Prot0 s
14:09 Prot0 (since the website is live etc :] )
14:10 AlexTheGer well its generated for every page, since the navigation depends on the colours
14:11 Prot0 ah ok :0
14:11 Prot0 than its a little more problematic
14:11 AlexTheGer jepp:-)
14:12 AlexTheGer I'm not really shure where an extention is setting extra css-files. What would be the normal way to do it?
14:16 PiMB using an extension?
14:17 PiMB via some standard files in the extension folder.
14:17 PiMB usually.
14:17 PiMB but if the extension renders it, there is probably another way.
14:17 PiMB no error messages?
14:17 PiMB maybe in php log?
14:17 AlexTheGer not on the webpage directly. Are there other placed, where errors would be reported?
14:20 AlexTheGer it is actully a TEMPLAVOILÀ template
14:20 Prot0 lol
14:20 lindbergh hallo chan
14:20 Prot0 TV + 4.3.. another one ;]
14:21 Prot0 hello
14:21 lindbergh I want add cron folder into my extension
14:21 lindbergh is there any specific procedure for that or that is simple folder creation
14:22 AlexTheGer Prot0: Are there known Problems with TV and 4.3?
14:22 Prot0 yes
14:23 Prot0 well
14:23 Prot0 ive seen some come by here over the past few days
14:23 Prot0 :]
14:23 AlexTheGer what do you recommend? Switching back to 4.2.10?
14:25 PiMB I've heard a couple of people having problems with it
14:26 PiMB maybe it's a good idea to switch to 4.2.10 and set up a test environment.
14:41 bodo_typo3 @alextheger: remove TV at all LOL :-D
14:41 AlexTheGer tired that, but than my page looks quite empty:-)
14:41 AlexTheGer tired=tried
14:42 bodo_typo3 letÄs argue that it's a clean, fresh approache
14:43 AlexTheGer well .... months of work puting to the trash ... let me thing ... NO.
14:43 bodo_typo3 back to the basics
14:43 bodo_typo3 page = PAGE
14:43 bodo_typo3 page.10 < styles.content.get
14:44 bodo_typo3 but beside that
14:44 Prot0 i love basics ;]
14:45 bodo_typo3 there are only few cases where TV makes sense
14:45 bodo_typo3 I always got good exp with template selector + automaketemplate
14:45 bodo_typo3 for years
14:46 bodo_typo3 many years
14:46 bodo_typo3 do you use FCE ?
14:47 AlexTheGer yes, I do
14:47 bodo_typo3 OK, so you can't without TV :-(
14:48 AlexTheGer and honstely, I just want to spend maybe an hour to fix this and not days!
14:49 bodo_typo3 sorry can't help you, anyone here?
14:49 PiMB nope sorry.
14:49 Prot0 nap
14:50 PiMB try the development mailing list.
14:50 PiMB maybe Dmitry has a good idea.
14:50 AlexTheGer I try to switch back to typo3 4.2.10 and see, how TEMPLAVOILÀ develops
14:53 bodo_typo3 dimitry said on the TV mailinglist that he will release a new TV EXT Version before 4.3 release
14:54 bodo_typo3 that was on 09.11.2009
14:55 bodo_typo3 some guys said there are many changes in the SVN
14:55 bodo_typo3 to fix these: http://bugs.typo3.org/view.php?id=11997
14:55 bodo_typo3 http://bugs.typo3.org/view.php?id=11532
14:55 bodo_typo3 good luck
14:58 AlexTheGer thanx everyone
15:00 PiMB np
15:22 tf hi @all
15:23 tf i habe some problems with typo3 4.3 and imagemagick
15:23 tf +have
15:25 tf in the install tool under image processing, the command is : ...convert +profile '*' -geometry ....
15:25 tf in typo3 4.2 is was without ... profile '*' ....
15:26 tf now i get an error when i try to execute the image testings
15:26 tf imagemagick 4.2.9 and typo3 4.3
15:34 tf ok. i found the solution... i have to disable im_useStripProfileByDefault
15:36 Denjerek glad we could help :D
15:38 Prot0 thanks for sharing it :]
15:39 bodo_typo3 +1
15:42 xaver how can i use sessions? normal with fe_user->setKey getKey .... StoreData... but the user has no account
15:42 xaver i tried it but it dosent work at all
15:43 Prot0 erm you can manually store as well
15:43 Prot0 perhaps its not written to the session otherwise
15:44 xaver normal if i login it work, if i log out too
15:44 xaver only if no cookie exist for feuser
15:44 xaver if i delete the cookie it dont work
15:46 xaver can i create manuell a session like startSession
15:47 Prot0 xaver do you store the data to the session after setting it with setKey etc?
15:49 xaver Prot0: http://nopaste.chaoz-irc.net/dd439b3683.html
15:49 Prot0 $GLOBALS['TSFE']->storeSessionData();
15:49 Prot0 ok
15:49 Prot0 so yes :]
15:50 xaver i will try it
15:53 mcfly_ hi
15:53 Prot0 hello
15:54 mcfly_ Prot0, dear helpful friend ;)
15:55 mcfly_ i just got back to working on that hook
15:55 Prot0 :]
15:55 xaver ok i delete to $GLOBALS["TSFE"]->storeSessionData();
15:56 mcfly_ Note: When using the hook after INSERT operations, you will only get the temporary NEW... id passed to your hook as $id,
15:56 mcfly_ * but you can easily translate it to the real uid of the inserted record using the $this->substNEWwithIDs array.
15:56 mcfly_ i must be missing something?
15:56 mcfly_ how do i get the new uid?
15:56 mcfly_ $tce->substNEWwithIDs[$id] is emtpy
15:57 xaver bt it dosent work :(
15:57 Prot0 which hook did u use again?
15:57 mcfly_ processDatamap_afterDatabaseOperations
15:58 xaver Prot0: maybe a other error in IE it work but in firefox not
16:00 xaver Prot0: 1 moment i check all lines again
16:01 xaver fe_sessions is empty fe_sessions_data all keys :(
16:01 mcfly_ ah, nevermind. i got it
16:02 mcfly_ asking here is similar to coffee. the answers just magically appear in front of my eyes... :/
16:04 Bluespuke bye
16:04 pulponair mcfly_: ;>
16:05 mcfly_ heheh
16:05 mcfly_ i hate when that happens
16:05 mcfly_ drive myself crazy for an hour
16:05 mcfly_ then i ask someone and 60secs later it works
16:05 mcfly_ i should just ask right away
16:06 PiMB try using a rubber ducky (got that idea of a colleague)
16:06 PiMB ask him, and it will have somewhat the same result.
16:06 PiMB but more like decafe coffee ;]
16:08 mcfly_ so the ducky is gonna make me puke and curse humanity for inventing such a shameless ripoff of the real deal? ;)
16:09 PiMB kinda..
16:09 PiMB but without the mess..
16:10 mcfly_ oh ok
16:10 mcfly_ that'll work ;)
16:12 menak hi
16:13 menak on all 4.3 site i have an "?>" at the beginning of the page. This bug wasn't there in 4.3 RC2. Any Solutions?
16:14 xaver it dont work at all, the session+
16:15 unbob1 menak, its a bug of tt_news
16:15 Prot0 menak: do you have tt_news 3.0?
16:15 Prot0 :]
16:15 menak Prot0: yep
16:15 menak 3.0.
16:15 unbob1 http://bugs.typo3.org/view.php?id=12808
16:16 unbob1 thanks to Prot0 :)
16:16 menak unbob1: thx
16:17 xaver http://nopaste.chaoz-irc.net/eae823d674.html Prot0 its file, i request it with jquery, maybe i forget something
16:20 pulponair hmmm ter seems to be in trouble ...
16:25 PiMB xaver, probably.
16:25 PiMB because that looks like a normal way of session setting. But the rest on top doesn't seem to good
16:25 PiMB with the custom core inclusion stuff..
16:25 PiMB might not work like expected.
16:25 PiMB why is that necessary?
16:26 menak Prot0: well, then thx! :)
16:31 xaver PiMB: this file only in use by ajax request
16:31 xaver for 1 list/tabel
16:32 menak bye
16:34 Prot0 can you load session data there?
16:38 xaver yes
16:39 xaver if i logt
16:39 xaver logged
16:40 xaver sry i have to go, maybe i find a solution at home
16:49 Palces Hello. Where I can change charset=iso-8859-1 in typo3 to charset=iso-8859-2?
16:52 Prot0 in the HTML output?
16:52 Prot0 config.metaCharset =
16:52 Prot0 with TS
16:52 PiMB ..
16:52 PiMB I was going to say that..
16:55 Palces Prot0 thanks- I try it.
16:56 jbaptiste_j In the BE when I create a HTML table typo3 offers the option of choosing a class "frame with yellow background" but this doesn't cjhange the css class of the rendered html table. Where should I look for info about that ?
16:58 PiMB doesn't it add a class to the table?
16:58 PiMB maybe you've disabled the typo3temp css file, in which these things are taken care off.
16:59 jbaptiste_j PiMB could I have disabled that unbeknowst of myself ?
16:59 PiMB ?
17:00 PiMB unbeknowst?
17:00 Palces Sorry and where is config.metaCharset?
17:00 PiMB unknown you mean?
17:00 jbaptiste_j without doing this intentinally
17:00 PiMB @Palces, config.metaCharset is set in typoscript setup field in your template
17:01 PiMB @ jbaptiste_j, No i don't think you can.
17:01 PiMB do you have a url.
17:01 PiMB let me check it then.
17:01 jbaptiste_j http://www.crdp-lorraine.fr/typo3/index.php?id=798
17:03 jbaptiste_j about unbeknownst my spelling was wrong : http://www.merriam-webster.com/dictionary/UNBEKNOWNST
17:04 jbaptiste_j and it is unbeknownst TO (not OF)
17:04 jbaptiste_j ;)
17:05 PiMB never heard of it actually.
17:05 PiMB but I don't see anything strange on the page.
17:05 PiMB it does actually add a class to the table.
17:05 jbaptiste_j it is an old word now mostly used to create a funny effect
17:05 PiMB but that is regular contenttable class.
17:06 jbaptiste_j it will be contenttable whichever Stylre I pick in the Backend, maybe I have to allow something in the RTE config
17:07 PiMB you know you english for someone that is building french sites.
17:07 PiMB and I'm not sure about the tables in rte.
17:07 PiMB Kinda try to stay away from them.
17:07 jbaptiste_j funny if I switch to HTML in the RTE it does show me a disfferent class
17:08 PiMB so then it's probably not allowed.
17:08 PiMB could you check the DB if the class is still there?
17:09 jbaptiste_j Yet in the BE the html shows different classes for tag <table> but not in frontend
17:09 PiMB and in the DB table?
17:10 jbaptiste_j check the DB ? if I toggle HTMl in the BE i get <table class="csc-frame-frame1" and <table class="csc-frame-frame2"
17:11 Prot0 yes but see whats actually stored in the tt_content table :]
17:12 PiMB you have several places where things happen with content from RTE
17:12 PiMB rte field > inserted in DB > displayed on website.
17:12 PiMB each time it does some magic to it.
17:13 PiMB so if the class is in the RTE and not in the DB (database) then it's something during savind, probably not allowed.
17:13 jbaptiste_j Yes it is NOT stored in DB so I wonder how the classes are back there when I edit in RTE
17:13 PiMB you save, and then edit, and the classes are there?
17:14 jbaptiste_j yes
17:14 jbaptiste_j this is not magick this is SORCERY !!!
17:15 PiMB hmm, better get your ticket for Hogwarts
17:16 PiMB not so strange.
17:17 PiMB you're sure it's not in the DB field?
17:17 PiMB checked with phpmyadmin.
17:17 PiMB or something similar.
17:17 jbaptiste_j I am in PHPmyadmin
17:17 jbaptiste_j in tt_content
17:18 jbaptiste_j wait no
17:19 jbaptiste_j I was looking up the wrong database record
17:20 jbaptiste_j the classes are actuelly well stored in DB
17:20 jbaptiste_j goodbye Hogwarts
17:21 PiMB :)
17:21 PiMB okay, I will call of the guys in the white coats now..
17:21 PiMB but this assumes something goes wrong during rendering to html
17:21 PiMB is it standard tt_content text element?
17:22 jbaptiste_j yes sir
17:22 PiMB damn...
17:22 jbaptiste_j a tt content in which I used "insert table"
17:22 PiMB using css_styles_content?
17:23 jbaptiste_j But i think I use a RTE config not straight "out of the box" I must have chosen the somewhat simplified version without knowing how to fine-tune it
17:23 jbaptiste_j I use css_style content
17:23 jbaptiste_j I'll look up htmlarea in extension manager
17:24 jbaptiste_j my default configuration is "typical"
17:24 PiMB never had a problem with that.
17:24 PiMB but I never tried a bg in my table eiter ;)
17:25 PiMB it seems like something is wrong with the RTE config.
17:25 PiMB not sure what.
17:25 PiMB And I have to go.
17:25 PiMB sorry mate.
17:25 jbaptiste_j have a good evening
17:26 PiMB you to.
17:26 PiMB good luck with the config.
17:33 Palces thanks. Now charset is working
17:33 Prot0 :]
17:50 Alban_ hello everybody
17:53 psp250 Is there any tutorial available showing how to setup a simple site using fluid with 4.3 using the backend?
17:55 Alban_ I am facing an issue doing extension development. i have created an extension with a templavoila flexform for editing the database records. In the flexform there is a link field which stores link data the standard way, such as '81 640x480' if you want to link page 81 in 640x480 sized popup window. My problem is this typolink data can be fairly complex to parse and there should already exist...
17:55 Alban_ ...a function for turning such an entry into a typolink. Does anyone here know of a function that would process this whole string as an entry and generate the typolink ? The typolink functions I know don't...
17:57 Alban_ psp250 : not a tutorial, but a few fluid tips here : http://wiki.typo3.org/index.php/Fluid
18:16 psp250 Alban_, well that is ok, but how can I make a typo template "use" fluid? Using the TS Setup field?
18:17 Alban_ psp250 : sorry I can't help on this. I haven't started studying fluid yet.
18:17 Alban_ was just trying to lehp :-)
19:16 mmccann483 The current username, password or host was not accepted when the connection to the database was attempted to be established!
19:17 mmccann483 ??????
19:17 mmccann483 ????
19:35 bodo_typo3 @mmccann483: Mittwald Server? Then overload on the DB-Server
19:35 bodo_typo3 too many connections
19:52 GeisonQuevedo Hello Everybody, I have been researching a way to implement alias on TT_NEWS, like e.g: www.domain.com/title-news/ and open the news
19:53 GeisonQuevedo someone have some ideia how to implemet something like that
20:00 flurl GeisonQuevedo: don't know about aliases, but iirc you can achieve something like that with realUrl (or perhaps with coolUri too)
20:46 Guest36709 Hello
21:06 schlauch hello can anyone tell me to access the 'uploads' folder within an extensions PHP code?
21:06 schlauch like, is it stored in a variable?
21:10 nature how can I get TemplaVoila to not strip out html comments from a template?
21:13 nature gah... nevermind. wtf?!?
22:03 atmos4 hmm, what trick do you guys use to avoid the home page being a shortcut?
22:03 atmos4 the prob with it beeing a shortcut, is that it can't be statically cached
22:07 atmos4 schlauch: I think there's a var TYPO3_SITE_PATH or similar
22:07 atmos4 it point to the root directory of you typo3 install on the server
22:10 atmos4 although I guess a relative path like 'uploads/some/file.txt' would work aswell, because the main script is index.php in the root dir which inlcudes all other scripts
22:17 schlauch atmos4: thanks for the hint
22:17 schlauch unfortunatly im calling it from a cli script
22:18 schlauch so relative path isnt working
22:18 schlauch after googling what you told me i came up with t3lib_div::getIndpEnv('TYPO3_SITE_PATH') being like exactly what i need
22:18 schlauch but apparently it returns an empty string when used within a cli script :-s
22:19 atmos4 hmm
22:19 atmos4 have you looked at other cli scripts, how they handle it?
22:20 schlauch when i use an absolute path like '/var/www...' it works fine but its crap coding ;)
22:20 schlauch yea i took a look at tt_news
22:20 schlauch it DOEs seem to use relative paths with 'uploads/' but i find this not to work
22:21 schlauch wait but not from a cli script
22:21 schlauch i havent found an extension yet that does call the uploads folder from CLI
22:21 schlauch its as you said, normally in your standard extension class, the relative path will work
22:26 atmos4 hmm
22:26 atmos4 try PATH_site
22:27 atmos4 schlauch: PATH_site is mentioned in class.t3lib_extmgm.php, I'd guess it's available in a global cope
22:28 atmos4 it's a constant so you should be able to just drop it in
22:30 schlauch atmos4: Tried it and it works like a charm ;) Thanks very much there, its been exactly what im lookin for
23:07 ct529 ops! serious problem with the new (430) installer ....
23:08 ct529 it detects a memory limit memory_limit=52428800, that is 52 MB (exctly as configured) but it says Memory limit is below 32M .... not very likely!

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.