IRC logs

20140606

Logs from channel #fedext on freenode - our official support channel.

IRC log range: 20140606*

20140606

  • 08:13:17 <soee> good morning
  • 10:27:51 <soee> hmm when executing data import using data_import extension
  • 10:28:00 <soee> my log is spammed with this error: http://pastebin.com/tQtjdQGB
  • 10:28:14 <soee> any idea how this is related to data import ?
  • 10:29:23 <cedricziel> can you reproduce the same when the extension is not loaded?
  • 10:33:24 <soee> this might be problem with this extensions as also other erros are logged:
  • 10:33:27 <soee> PHP Catchable Fatal Error: Argument 2 passed to tx_realurl_tcemain::shouldFixCaches() must be of the type array, string given
  • 10:33:37 <soee> PHP Catchable Fatal Error: Argument 4 passed to TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks::processDatamap_afterDatabaseOperations() must be of the
  • 10:33:39 <soee> etc
  • 10:39:29 <JustAPoring> exit
  • 11:03:54 <soee> cedricziel: when deleting record from List module: http://pastebin.com/nDCML462
  • 11:05:01 <soee> also let me check now after git pull
  • 11:07:04 <soee> hmm seems to be gone ..
  • 11:07:23 <soee> have to check what has been changed lately in flux
  • 11:12:30 <cedricziel> depends on where you started before pulling
  • 11:57:25 <soee> cedricziel: these were the only changes http://pastebin.com/PP4vvuDk
  • 12:03:32 <cedricziel> soee: https://github.com/FluidTYPO3/flux/compare/23056b8...development
  • 12:03:36 <cedricziel> better :)
  • 12:32:36 <soee> cedricziel: this was the fix ?
  • 12:48:24 <cedricziel> looks fine-just as intended
  • 12:48:33 <cedricziel> wrong chan
  • 13:37:49 <soee> T3 doe not have decimal aval function ?
  • 13:37:56 <soee> *eval
  • 14:30:14 <foooobear> hey ho. when upgrading flux 6.0.2 to 6.0.4. can i do that directly or must i install 6.0.3 and run the update script from that version also?
  • 16:04:53 <Alea> hi all
  • 16:04:56 <Alea> hi all
  • 16:05:32 <Guest14015> kann mir jemand sagen, wie ich mit vhs prüfen kann, ob ein fe_user in der benutzergruppe mit der id 3 drin ist?
  • 16:06:20 <Guest14015> http://fluidtypo3.org/viewhelpers/fluid/master/Security/IfHasRoleViewHelper.html hier sehe ich leider keine usage-beispiele nur fast leere felder
  • 16:07:38 <cedricziel> hi Alea / Guest14015
  • 16:07:49 <cedricziel> if possible by any means-stay in english please
  • 16:07:52 <cedricziel> i'll have a look
  • 16:09:11 <cedricziel> Guest14015: are you using only vhs? or are you using fluidcontent/fluidpages?
  • 16:09:59 <Guest14015> oh sorry
  • 16:10:02 <Guest14015> http://pastebin.com/gywyLsrB
  • 16:10:18 <Guest14015> i just found something, but i dont know if its okay to miss some arguments
  • 16:10:36 <Guest14015> i am using fluid with vhs
  • 16:10:48 <Guest14015> fluid templates including vhs extension
  • 16:10:49 <cedricziel> by default, you'll get an exception if there's something wrong
  • 16:11:08 <cedricziel> nono, are you using EXT:fluidcontent or EXT:fluidpages as well?
  • 16:11:22 <Guest14015> yeah, but i dont want to register arguments which i dont need to
  • 16:11:50 <Guest14015> oh i cant give you an answer, i am using extbase extensions with vhs extension ;)
  • 16:12:08 <cedricziel> okay
  • 16:19:37 <Guest14015> how would you use this viewhelper if you would check the usergroup?
  • 16:20:58 <cedricziel> if you do want a simple comparison by user group, you should use this one: https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/fluid/Classes/ViewHelpers/Security/IfHasRoleViewHelper.php#L37
  • 16:22:45 <cedricziel> f:security.ifHasRole is contained in fluid core-the viewhelper you mentioned does a little more. stuff you dont need.
  • 16:27:13 <cedricziel> Guest14015: still there?
  • 16:28:02 <Guest14015> yes
  • 16:28:09 <Guest14015> sry had a call
  • 16:30:20 <cedricziel> does this sound legit?
  • 16:30:54 <Guest14015> yes, but i need an if-condition
  • 16:31:11 <Guest14015> i have 2 separate content elements which should be displayed
  • 16:31:36 <Guest14015> example: if in usergroup 3 => show this line else => show other line...
  • 16:31:43 <cedricziel> https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/fluid/Classes/ViewHelpers/Security/IfHasRoleViewHelper.php#L47
  • 16:31:49 <cedricziel> jjust a few lines below
  • 16:32:34 <mrboe> i think this viewhelper cant do that
  • 16:32:40 <Guest14015> yeah i got it
  • 16:32:55 <cedricziel> <f:if.security.ifhasRole role="2"><f:then>User has role</f:then><f:else>doesnt have the group you are looking for. move on padawan</f:else><f:if.security.ifhasRole>
  • 16:33:09 <Guest14015> it works with simple <f:then>this line</f:this><f:else>other line</f:else>
  • 16:33:20 <Guest14015> :)
  • 16:33:26 <mrboe> hasrole would work for user groups? i dint know that
  • 16:33:26 <cedricziel> :)
  • 16:33:41 <cedricziel> the docs on master state it does
  • 16:34:01 <cedricziel> 6.1 as well
  • 16:34:12 <mrboe> cool
  • 16:34:14 <Guest14015> yeah i love it :)
  • 16:37:02 <Guest14015> how can i check if the user is logged in? is it a simple <f:if condition="{fe_user}"> ?
  • 16:37:46 <cedricziel> https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-0/typo3/sysext/fluid/Classes/ViewHelpers/Security/IfAuthenticatedViewHelper.php
  • 16:38:33 <mrboe> is that working with cached environment?
  • 16:38:53 <cedricziel> that's another question
  • 16:39:11 <mrboe> ok - ill be quiet
  • 16:39:15 <mrboe> ;)
  • 16:39:22 <cedricziel> the plugin should be a _INT object
  • 17:15:58 <adi77> Hi, i use the search function of the tx_news extension to search in news lists. The problem is, that the search word is not written to the url. So I can not get unique urls for search results. What can be done?
  • 17:17:21 <adi77> I use the form viewhelper for the search form.
  • 17:17:27 <cedricziel> 1st: why would you want unique urls for a generic search?
  • 17:18:47 <adi77> seo and problems with proxy caching at our customers office
  • 17:19:33 <cedricziel> i wont argue about seo here, would be long and winding road. proxy caching is more valid
  • 17:19:53 <cedricziel> you should trigger a ticket on forge at the project
  • 17:20:31 <cedricziel> well.. the more i think of it... both are invalid.
  • 17:20:47 <cedricziel> caching proxies should _never_ _ever_ cache POST responses
  • 17:20:57 <cedricziel> GET is idempotent, POST is not
  • 17:22:25 <adi77> if i switch to method get. I get lots of __referer attributes in the uri but I can't convert them with realurl
  • 17:23:23 <adi77> I can't acces these from realurl.php
  • 17:23:46 <cedricziel> you should ask in #typo3
  • 17:23:50 <cedricziel> or open a ticket
  • 17:24:13 <adi77> Okay I will do that. Thank's alot!
  • 17:24:21 <cedricziel> you're welcome !
  • 18:05:50 <xaver> a question for bjo3rn and cedricziel and maybe somebody else -> section is really nice, but can i read the header form the section element as link text http://fluidtypo3.org/viewhelpers/vhs/master/Page/LinkViewHelper.html
  • 18:06:34 <cedricziel> ?
  • 18:06:43 <cedricziel> what section?
  • 18:11:00 <xaver> section anchor on the page
  • 23:07:41 <xaver> wtf
  • 23:07:42 <FT3BOT> ¯\_(ツ)_/¯
  • 23:08:08 <soee__> ftw
  • 23:08:10 <soee__> ;]