Search the website and IRC logs

Search is currently not available.

#TYPO3 IRC log from : Wednesday 12 May 2010

Year: 2007 2008 2009 2010 2011 2012
Month: Jan Feb Mar Apr May Jun Jul 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
09:36 dec__ on the latest 2 real url installations (1.8.0 and 1.8.1), after i installed them i keep getting this error when trying to save stuff like pages or content elements, pretty much everywhere
09:36 dec__ PHP Catchable Fatal Error: Argument 1 passed to tx_realurl::initDevLog() must be an array, boolean given, called in /var/www/web269/web/typo3conf/ext/realurl/class.tx_realurl.php on line 193 and defined in /var/www/web269/web/typo3conf/ext/realurl/class.tx_realurl.php line 202
09:37 dec__ does anyone know what's wrong with that? i've installed and configured real url like i have done on all of my websites so far and they have been working fine
09:38 dec__ when i put config.tx_realurl_enable on 0 it works again obviously :)
09:47 neoneye I have configured my navigation menu in a typoscript file.. how do I hide one of the pages based on the session state ?
09:48 neoneye e.g page with uid 17 to be hidden when the session['my_mode'] is set to 'new'
09:48 neoneye should I insert a user func somewhere in the typoscript
09:49 neoneye or is there a page visibility hook I can use?
09:51 neoneye I use a HMENU
09:52 PiMB is the session available in the url as getvar?
09:53 neoneye $session = unserialize($GLOBALS['TSFE']->fe_user->getKey('ses',$this->extKey));
09:53 neoneye is what I'm using
09:54 neoneye how to access it in typoscript I haven't considered..
09:54 PiMB don't know if it's possible.
09:54 PiMB guess a userfunc is the way to go
09:55 neoneye ok, cool. Thanks.. will try right away
10:02 Prot0 erm
10:03 Prot0 yeah im guessing the same as PiMB, dont know if you can access the session data just like that. Let alone unserialize it hehe
10:04 PiMB TS rules, but not that hard :)
10:05 neoneye haha :-)
10:14 Prot0 PiMB: it does! :P
10:17 neoneye I guess I can use excludeUidList.insertData=1
10:17 neoneye and then insert a pid via a userfunc
10:23 maholtz|WORK morning
10:24 af_ there is any way to change the default language en pid = 0 after install?
10:24 maholtz|WORK pid = page ID - imho you cannot and should not
10:24 maholtz|WORK perhaps you want to change the uid?
10:25 maholtz|WORK but that would make no sense (imho)
10:25 af_ no, want have it instead of en
10:25 af_ italian and not english
10:26 af_ didn't find a way to do so, that choice does not appear somewhere
10:26 af_ oh uid = 0 yes
11:47 HardPhuck http://blog.clientbag.com/2010/05/11/10-very-effective-ways-to-get-kicked-or-banned-from-freenode/ heh
12:30 deblu hi
12:31 deblu using templavoila, how can I specify an content area that can be filled using typo3, but that has only to be filled once, and not for every page?
12:34 deblu do i have to write an extension for that?
12:36 ironm hi SargoDarya :-)
12:37 sorenmalling deblu: Do you wanna reuse the same content on every page?
12:37 deblu sorenmalling: yes
12:37 sorenmalling Have a look at this extension
12:37 sorenmalling http://typo3.org/extensions/repository/view/kb_tv_cont_slide/current/
12:37 ironm Hi guys :) .. hope you are well today - one question about the deprecation_2e10654f06.log
12:38 deblu sorenmalling: great, that's exactly what i've been looking for
12:38 sorenmalling :)
12:41 deblu mhm, currently my root page is a shortcut, thus i cannot insert content
12:41 deblu oh well, using the list view i can
12:45 ironm I run debian squeeze with typo3 4.3.3 and php 5.3 - when using sr_feuser_register I am getting the following error message in deprecation_2e10654f06.log - http://www.phlogi.net/f/t3/tsp/sp/feuser_reg/ - I have modified sr_feuser_regsiter for php 5.3 (changed ereg_replace to preg_replace) .. ANY idea what I am doing wrong? - thank you in advance fo any hints! :-)
12:47 sorenmalling You are not doing anything wrong. The extension is just using a deprecated function and this is the way for TYPO3 to tell it.
12:47 sorenmalling You could open a bug report on this if you would like to help getting rid of such messages
12:49 ironm Another issue is that I can regsiter a new user account using FE but can't confirm it using the email-link like: http://paste.phlogi.net/email_link/
12:50 ironm thank you very much sorenmalling - how can I open a bug report ?
12:50 SargoDarya mornin ironm
12:50 sorenmalling ironm: Find the project on either forge.typo3.org or bugs.typo3.org (i think bugs.typo3.org on this extension) and report it there
12:51 ironm sorenmalling: I would like to try to solve the depraciated issue myself
12:51 ironm moring SargoDarya :-)
12:51 ironm morning ...
12:51 SargoDarya still ill
12:51 sorenmalling Then you have to change the code of the extension, maybe even write it as a patch and provide it with you bug report
12:53 ironm sorenmalling: I hoped this issue has been solved already .. even if I was not able to find any hints on the internet (altavista/google)
12:53 sorenmalling it's not really a critical issue, as the function is kept for backward compatibility but it's not sure it will be in the future
12:54 sorenmalling So I suggest you write a patch and adds it to a bug report
12:55 ironm sorenmalling: if it is a "warning olny" I could ignore it ..
12:55 sorenmalling Or you could contribute to the extension :)
12:57 ironm sorenmalling: do you have any idea how to easy debug typo3 ?
12:57 sorenmalling The deprecation log tells you where the function is used, so go to that line and use the function it suggests instead and you are more or less done :))
13:04 deblu does anybody know how i can alter the position of the templavoila content elements in the backend?
13:04 deblu they are all next to each other, but I want one of them to be above
13:04 sorenmalling deblu: Checkout <beLayout> in the TV manual
13:04 deblu ty
13:05 pmk65 ironm: Install the "cc_debug" extension, and then add your IP in the Install Tool. Then you can use debug($var) and get the debug output in a popup window.
13:05 ironm thanks a lot pmk65 ! :-)
13:06 ironm I will install this cc_debug extension
13:06 dec__ im trying to wrap 1 level per page tree (including subs) in its own <ul>... this peice of code wont do it... http://pastebin.com/v9fJBr02... it puts the 2nd levle outside of the first <ul>.. whats wrong with it?
13:08 ironm pmk65: cc_debug is quite "old" .. 2003 .. Do you think it will work with php 5.3?
13:16 pmk65 ironm: The age of the plugin doesn't matter. It still works perfectly..
13:17 ironm I am just looking where I can set the IP-address
13:18 vormkrijger hello everybody ... someone here with extend knowledge aboute the calendar base extention ?
13:20 pmk65 dec__: The nesting of your menu parts is wrong. You can't put the "2" part inside the "1" part..
13:21 vormkrijger more specific about refreshing the ICS file linked to the .ics file .... and "Calendar: Refresh Interval (Minutes)"
13:21 pmk65 ironm: It's under "All Configuration" (Search for devIPmask)
13:22 ironm pmk65: great .. I have it .. I guess it should be the IP of my client .. not the server
13:24 pmk65 yes . the ip of your client computer. That way you are the only one who sees the debug info, so you can use for debugging live sites too.
13:26 ironm pmk65: I've added my client IP "192.168.1.100" .. where should I put "debug($var)" ? .. somewhere in the php-code of the involved extensions?
13:26 ironm pmk65: does it make sense to activate some debug-logs in typo3/install ?
13:27 ironm pmk65: my test-server is localy .. with 192.168.1.101 ..
13:29 pmk65 you put the debug() command in your PHP script, whenever you need to see the debug output.
13:30 pmk65 If you need to trace the scripts, you'll need a full debugger, like xDebug. -> http://xdebug.org/
13:30 ironm great ... thank you very much pmk65 :)
13:31 pmk65 usually cc_debug is enough if you just need to check the content of a variable/array.
13:32 ironm well .. I will see if I will be able to interpret the output pmk65 ;-)
13:42 dec__ anyone recommend any good guestbook extensions with captcha?
13:44 dahui hi @ll
13:45 dahui did I miss sth about snippets.typo3.org? page always retourns
13:45 dahui Forbidden
13:45 dahui You don't have permission to access / on this server.
13:47 ironm pmk65: well .. I am getting an _empty_ page _now_ in FE when going to the register page .. I put "debug()" in ./ext/sr_feuser_register/model/class.tx_srfeuserregister_data.php .. like: http://www.phlogi.net/f/t3/tsp/sp/classtx_srfeuserregister_data-1/
13:52 ironm dec__: as far as I know some people use "ve_guestbook"
13:52 ironm dec__: with "freecap"
13:52 dec__ hmm ok i'll check that out
13:59 ironm pmk65: well .. I am getting an _empty_ page _now_ in FE when going to the register page .. I put "debug()" in ./ext/sr_feuser_register/model/class.tx_srfeuserregister_data.php .. like: http://www.phlogi.net/f/t3/tsp/sp/classtx_srfeuserregister_data-1/
14:00 Neo I have a problem with my Navigations, when I switch the the language like this www.mydomain/en/mypage.html, the translations works perfectly but the Navigations elements points to www.mydomain/fr/apage.html. What I mean is that the default language is selected even if the language is defined in the global var "L"
14:00 ironm pmk65: I didn't get any pop-window from cc_debug .. any hints? .. tnx in advance :-)
14:01 ironm Neo: I had similar problems when using "realurl" or "realurl" and "https_enforcer"
14:01 Neo I use Real URL
14:02 Neo I believe it is a 'prevar' configuration problem.
14:02 ironm Neo: what version of php? .. 5.2 or 5.3 ?
14:04 dahui can anybody please confirm that snippets.typo3.org doesn't work or is it just me?
14:04 PiMB isn't working for some time now
14:04 dahui I asked in mailing list as well, thx
14:05 dahui nobody knows why ... :(
14:05 dahui or when it will be fixed
14:06 maholtz|WORK hi, someone knows anything about the denic trouble?
14:07 neoneye regarding userFunc conditions .. does the function have to be defined in localconf.php
14:08 neoneye or can it be within my extension?
14:08 neoneye e.g page.includeLibs.menustuff = EXT:myext/menu_func.inc
14:10 neoneye I'm trying to understand why my function isn't invoked.. my error_log code doesn't output anything, so I figure that my code isn't included correct
14:13 pmk65 dahui: You can also find a lot of good TYPO3 snippets at http://www.typo3wizard.com
14:14 pmk65 neoneye: Is your function/class name prefixed with "user_*" or "tx_*" ? If not it won't work.
14:15 neoneye aha.. so it needs the right prefix
14:16 dec__ on the latest 2 real url installations (1.8.0 and 1.8.1), after i installed them i keep getting this error when trying to save stuff like pages or content elements, pretty much everywhere
14:16 dec__ PHP Catchable Fatal Error: Argument 1 passed to tx_realurl::initDevLog() must be an array, boolean given, called in /var/www/web269/web/typo3conf/ext/realurl/class.tx_realurl.php on line 193 and defined in /var/www/web269/web/typo3conf/ext/realurl/class.tx_realurl.php line 202
14:16 dec__ does anyone know what's wrong with that? i've installed and configured real url like i have done on all of my websites so far and they have been working fine
14:20 ironm dec__: I don't have such error messages .. running typo3 4.3.3 / php 5.3
14:20 dec__ weird
14:20 dec__ i might jusy make an is_array check in that function then
14:21 dec__ just*
14:30 ironm pmk65: any idea what would be a good startpoint to place debug() ? http://www.phlogi.net/f/t3/tsp/sp/debugging_of_sr_feuser_registe/
14:31 pmk65 ironm: You could start in the main() function. That is usually the 1st one executed. So if you place it there it should display something.
14:32 ironm ok .. I will try it pmk65 .. merci! :-)
14:33 pmk65 I have had a problem with the popup not showning on one of my sites, but I never found out why.
14:33 pmk65 TYPO3 has a build-in debug function you can call as t3lib_div::debug()
14:34 pmk65 It displays the debuginfo in the same window as the script. (For BE debugging this sucks, that's why I prefer cc_debug)
14:39 JunGle- hello
14:39 Prot0 hola
14:39 JunGle- i have a pb, i want create a extension
14:39 JunGle- but.. i don't see the php error
14:42 ironm pmk65: I am getting up a pop-up window with some reports .. see details in http://www.phlogi.net/f/t3/tsp/sp/debugging_of_sr_feuser_registe-1/
14:43 ironm pmk65: did you activated some debug-logs in typo3/install? .. I had some troubles doing so ..
14:44 Prot0 JunGle-: can you be a bit more specific m8 :)
14:44 pmk65 I rarely use the devlog, as I find it easier to see the debugdata in a popupwindow, rather than having to open up the log file.
14:45 ironm that is right pmk65 .. I will debug a bit more .. going deeper
14:51 ironm pmk65: shoul any debug window pop-up when I open in a new browser window the account email-confirmation link for sr_feuser_register like: http://192.168.1.101/CMST/index.php?id=3D15&tx_srfeuserregister_pi1[regHash]=3D6eb0618b5add6b22201c
14:52 ironm I am not getting such pop-up window
14:53 ironm only when doing the registration from the BE window
14:53 pmk65 the popup is only displayed if the debug() function is triggered, so if you place it in a function that is not executed, you won't see anything.
14:53 ironm I see
14:54 ironm I have to find out what function is "responsible" for email-link confirmation of new accounts and place there "debug()"
14:56 JunGle- sry pmk65 it's ok
15:01 poioop i have a question concerning mtb tutorial. in the section "Reading the selected template (frontend)" the author shows a snippet of the object browser where you see the automake-plugin. how can i reach this browser? if i use the one under "Template", drop down list "TypoScript Object Browser"
15:01 poioop automaketemplate is installed.
15:01 poioop so is the extension for the template selector ive made
15:02 poioop according to the instructions
15:03 JunGle- How it's possible to use Localllang_db.xml in frontend extension ?
15:06 pmk65 JunGle: Usually you have a locallang.xml filre inside the pi1 folder which is used for FE. The locallang_db.xml is used for the BE fields.
15:06 JunGle- yep but my extension have 3 mod and 5 pi
15:06 JunGle- ..
15:07 pmk65 but it is possible to include an extra locallang file manually.
15:07 JunGle- $GLOBALS['LANG']->sL("LLL:EXT:****_jobs/locallang_db.xml:****")
15:07 JunGle- :)
15:07 JunGle- it's good
15:08 pmk65 http://doxygen.frozenkiwi.com/typo3/html/d9/d7e/classlanguage.html
15:08 pmk65 i can't remember exactly which function it is, buty I think it's the includeLLfile()
15:10 pmk65 poioop: Under Template you can select either the "Template Analyzer" or the "Typoscript Object Browser" if you want to look at the setupcode.
15:11 poioop pmk65: thanks! if automaketemplate is not listed therer i missed something, right?
15:12 poioop my estension is listed there
15:14 poioop i mean under "Template Analyzer"
15:14 pmk65 I don't use automaketemplate myself, so I don't know if it's visible in the TSOB (Usually it's only FE extensions that adds TS setup)
15:14 pmk65 There's something similar to the TSOB if you select "Configuration" in the left menu. This one shows TCA and other arrays.
15:19 poioop i would like to use the 2 template types main and sub - wich the user chooses by using the extension. i managed to get 1 tamplet to be selected dynamically for the page according to the settings the author made. i need to get to understand how to implement the content template accordingly...
15:20 ironm pmk65: it looks like I should "downgrade" to php 5.2 .. I am not really successful trying debug(); :-/
15:20 poioop i do this by doing a db query in the ts of the page... but i dont understand how to get and parse the second template so they work in the desired nested fashion.
15:22 poioop i tried this: http://pastebin.com/pDMJiYxG
15:24 poioop afk for 10 mins
15:28 pmk65 ironm: did you try t3lib_div::debug() ? That works without opening a new window. (But cc_debug works with PHP 5.3 - I use it on several 5.3 sites)
15:29 ironm pmk65: I didn't try t3lib_div::debug() until now .. should I place it in the same places as debug()?
15:30 ironm pmk65: my problem is why the confirmation email-link for new accounts doesn't work properly (php 5.3) .. and I am not able to debug it until now :-(
15:41 ironm does somebody successfully use "sr_feuser_register" with php 5.3 ?
15:41 ironm typo 3 4.3.3 ..
15:42 ironm I can create accounts BUT the email confirmation-link doesn't work ..
15:42 ironm I can allowed such accounts as an admin .. and they work correctly ..
15:43 ironm enable ...
15:45 Prot0 ironm: even if you copy the entire URL to the browser?
15:45 Prot0 in some case the link might get cut off if it exceeds a certain amount of characters
15:47 ironm yes Prot0 .. I copy the eintire URL to the browser (another window)
15:47 Neo For some reasons the config.linkVars = L is not attached to my navigation URLs. Does any had similar problems?
15:47 ironm I have to remove one "=" ...
15:47 ironm yes .. I had/have Neo
15:49 Neo Cooolio ;)
16:11 poioop how do i process 2 different templates so that i can merge them int one?
16:11 poioop (main/sub)
16:28 ironm Guys .. is one using currently "sr_feuser_register"? .. maybe with php 5.3 ? .. It would help me bit to see the syntax of the "email confirmation link" .. TNX in advance :)
16:34 ironm if smb runs php 5.3 it can help a bit http://www.phlogi.net/f/t3/tsp/sp/migratephp/
16:39 niceweather hello, im new to typo3, i need some help. thanks
16:40 niceweather hello
16:40 teppi|working lol
16:41 niceweather anyone can help me ?
16:42 niceweather Im new to typo3
16:42 ironm maybe niceweather
16:42 teppi|working *sigh* plz just ask your question ...
16:42 niceweather ok
16:42 niceweather http://www.mcgarrellreilly.ie/mcgarrell-reilly-media/
16:42 niceweather here is my company's url
16:43 niceweather basically it is list of our company logos and designs
16:44 niceweather now we are going to upload some new files
16:44 niceweather but i dont know where they are file's folder located
16:45 niceweather under typo3
16:45 niceweather is that under fileadmin ?
16:46 teppi|working niceweather, normally files will be created under file_admin/user_upload
16:46 teppi|working or /upload/
16:46 niceweather let me check
16:46 teppi|working but this is configureable ..
16:47 ironm I guess fileadmin/user_upload niceweather
16:47 ironm you are faster teppi|working ;-)
16:47 poioop can anybody advise me here. i need to get the 2 templates (filenames from db) parsed... http://pastebin.com/pDMJiYxG
16:47 teppi|working yeah but my path was wrong ;)
16:49 teppi|working poioop, why dont you just use: <INCLUDE_TYPOSCRIPT:source="FILE:your_template_file"> ?
16:50 poioop both the main and the sub template names are stored with the page in the db
16:50 poioop so they may vary
16:52 niceweather hi, i check every folder under file_admin... but they are not there....
16:53 poioop .. besides, is it possible to have a page without an +ext template record, so that it just inherits from the parent?
16:54 teppi|working poioop, of course
16:55 teppi|working this should be the standard case
16:55 teppi|working i think
16:55 poioop i have a templates SysFolder.. inside 1 template
16:55 poioop then the root page of my site, a shortcut to the first child page
16:55 teppi|working niceweather, the files are linked in a subfolder /media/ ..
16:56 poioop in this shortcut ive included the template from my folder.
16:56 poioop the first real content page does not have a template
16:56 teppi|working sense?
16:56 niceweather yeah, the problem is there is no such folder called media
16:56 niceweather ......
16:58 teppi|working niceweather, i think its just rewritten by htaccess or some thin like that
16:59 teppi|working poioop, why dont you just include the template in the root page?
16:59 niceweather ok. thx, is there anything other way to upload a file like that without finding out where is the folder
17:00 teppi|working niceweather, normally you should upload your files directly in the backend
17:00 niceweather ok
17:01 teppi|working there is also a files module available etc.
17:01 niceweather thanks teppi working
17:01 teppi|working the media folder should be shown there
17:03 niceweather ok, i found another alternative
17:03 niceweather thanks
17:03 niceweather thanks ironm as well
17:03 niceweather have a ns day guys :) ))))
17:08 poioop i have.. i guess all is fine. it must be an issue with my ts
17:12 poioop i see the unparsed template... with all markers still in... typo3 strips processed markers, or?
17:14 poioop i need a reference to these {page:uid} or {GPvar:myuid} vars, where should i look?
17:16 maholtz|WORK @poioop: insertData = 1 if you talk about typoscript
17:18 void hey #typo3! don't anyone want me to work for he/she? -)
17:19 xenilio hi
17:19 kevinmo hi
17:20 poioop maholtz|WORK: i managed to extract the elements fro the db.. (allthough i havent got a clou why in the world all my columns end up to be read throu "styles.content.get...") but it works this way - so it has to be allright this way
17:20 xenilio using the calendar extension "cal", how can I create a single user who has the privilege to add and change dates of the calendar, but can do nothing else?
17:20 kevinmo anybody know good about extbase? i have a special problem i can't figure out.
17:20 poioop how can i put the page:uid into a subpart?
17:21 poioop subparts { myfield = {page:uid} } doesnt do it
17:26 poioop dataWrap :)
17:28 poioop is mainTemplate in temp.mainTemplate a magic word or could i also use like temp.yxz?
17:32 ironm poioop: you can use temp.xyz
17:37 xenilio come on, does nobody know of a way to create a backend user that can only create/delete/edit calendar events? i am despairing on this issue
17:38 poioop oh joy. ok, this makes me believe this could work: http://pastebin.com/4JUUVLvD
17:38 poioop but, hell it doesnt
17:38 poioop it siomply shows me the too raw templates :(
17:44 poioop ... is there any prequisite to be met in the master template to get values from "styles.content.get" ?
17:46 poioop oooh joy
17:46 poioop yes, i had to include CSS styled content in my master template
17:46 poioop now it works
17:51 teppi|working xenilio, you can customize the access rights in the backend-usergroup of this user .. you can define which records he may edit and so ..
17:51 teppi|working on
17:51 teppi|working you can even define which fields he may edit ..
17:52 xenilio where? i can only find the "Administration" thing in which i can grant the user access to certain modules
17:57 xenilio i think i found what you meant
17:57 xenilio but i cannot select pages there
17:57 xenilio so I cannot achieve to let the user only edit calendar events
18:08 poioop is there a way to change the urls in a template? i have seen a method something like reativePath or so, but cant remember?
18:11 pgampe poioop: config.absRefPrefix
18:13 poioop thanks!
18:23 poioop what would be the best approach for header/footer inclusion on all pages?
18:24 poioop i have made my main template so it includes precoded html. since typo3 inserts a header befor the doc, all my headers are invalid
18:29 poioop just found. thanks
19:15 poioop is there a way to redirect the page setup TS content to a textfile
19:16 poioop the editor gets really slow if i enter somewhat more commands
19:29 void poioop: yes
19:30 void <INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/ts/package.ts">
20:16 Henrik_ I will like to set the value of tt_content.image.20.1.imageLinkWrap.title. But I would have it to use alttext from the content box. How can i do that with TS?
20:18 poioop void: this <INCLUDE thingy, would thet go into the ts config textarea instead of the commands?
20:20 void poioop: yes
20:20 poioop aahh :) thats great
20:22 void at least for page TS config. maybe it works for user ts config too
20:25 ironm re .. what can the reason for the error message: "Configuration error: infomail option is not available or emailField is not set in TypoScript" --tnx in advance for any hints (sr_feuser_register ... I try to confirm the account creation using the email-link .. )
20:26 Henrik_ I have read a part over time. I understand how you can make new settings and opportunities .. But when it comes to retrieve data from other parts it's just laughs of me. if i dont use php :(
20:36 Henrik_ It can not be done or no body know how to do it??
21:17 poioop hmm.. why cant i see my 2nd language? isnt L=1 as parameter along with the page id supposed to show the nondefault lang?
21:24 poioop strange. i have created the translations, but i cant seem to find them in the pages table+
21:37 poioop oh joy
22:01 poioop maybe another silly question: why are the shortcut pages in my page tree in italics and light grey?

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.