IRC logs

20160411

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

IRC log range: 20160411*

20160411

  • 02:56:20 <mdddz> hi guys
  • 02:56:36 <mdddz> I encountered a strange bug:
  • 02:57:57 <mdddz> from time to time, but only when I am logged out of the Backend, and only until I log in again TYPO3 forgets my TS config, which is included via \FluidTYPO3\Flux\Core::addStaticTypoScript(...);
  • 02:58:02 <mdddz> Is this a known problem?
  • 02:59:03 <cweiske> not to me, no
  • 02:59:08 <cweiske> did you look at the bug list?
  • 02:59:48 <mdddz> The open issues at github?
  • 02:59:55 <cweiske> yes
  • 03:00:52 <mdddz> I looked for some minutes, but not at every issue of every extension
  • 03:03:35 <cweiske> can you reproduce the problem again and again, or does it really only happen now and then?
  • 03:06:51 <de_macrocom> Hi there. I posted a question concerning controller arguments in FluidTYPO3 on http://stackoverflow.com/questions/36505001/how-to-pass-argument-to-controller-action-with-fluidtypo3
  • 03:07:17 <de_macrocom> Seems nobody can help there. Can you?
  • 03:43:37 <mdddz> cweiske: sorry, there was a meeting I had to attend to
  • 03:44:05 <mdddz> I can't repdoduce it reliable
  • 03:44:37 <mdddz> sometimes, it occures immediately when I log out
  • 03:44:55 <mdddz> but most of the times it just works fine for some time
  • 03:46:43 <mdddz> I notice it mostly in the morning, when I haven't work for some hours. Especially on Monday mornings, like today.
  • 03:46:52 <mdddz> Looks like a caching error of some kind
  • 03:47:40 <cweiske> what typoscript do you have in that file?
  • 03:49:11 <mdddz> It is a provider extensions which supllies all TS needed for the installation
  • 03:49:57 <mdddz> 'global' config / page setup mainly
  • 03:51:08 <mdddz> and then some fluid powered basics, like overriding ContentCore template paths
  • 03:51:22 <cweiske> does it work when you use typo3's default method to include static typoscript?
  • 03:52:44 <mdddz> I tried Option 1 and 2 ( https://fluidtypo3.org/documentation/templating-manual/templating/provider-extension/configuration-files.html ) but could'nt make it work
  • 03:53:16 <mdddz> the TS just did not produce any effect like it was not read afterall
  • 03:53:37 <cweiske> for option 1 you need a setup.txt in the folder you add via "addstaticfile"
  • 03:53:58 <cweiske> *and* you need to include it in you main typoscript template in the database
  • 03:53:58 <mdddz> yes, there is one named exactly that way
  • 03:54:08 <cweiske> did you do that?
  • 03:54:55 <mdddz> I added it in the "Include" tab in the template settings
  • 03:55:03 <cweiske> and that did not work?
  • 03:55:05 <cweiske> this is very strange
  • 03:55:06 <mdddz> "Includes"*
  • 03:55:18 <cweiske> http://fotos.cweiske.de/screenshots/2016-04-11%20typo3%20includes.png
  • 03:55:41 <cweiske> I guess you should try to get that to work correctly
  • 03:56:16 <mdddz> could this be like a TS parsing error?
  • 03:56:37 <mdddz> but there should be some error message if it was
  • 03:56:44 <cweiske> you can always check that in the typoscript object browser
  • 03:56:49 <cweiske> if your setup works
  • 03:56:59 <cweiske> and the template analyzer
  • 04:13:17 <mdddz> ok, this could be more of a TYPO3 issue than anything fluid-powered related, but maybe you can help me out nontheless:
  • 04:13:32 <mdddz> I included the TS with TYPO3's default method
  • 04:13:49 <mdddz> and I can see it in the TS object browser
  • 04:14:02 <mdddz> like the page setup with all my css / js ressources
  • 04:14:13 <mdddz> but it doesn't take any effect in the frontend
  • 04:15:03 <mdddz> but on the other hand, the meta tags I set via viewhelper in the page layout are displayed correctly
  • 06:44:14 <haki> Hello,
  • 06:44:48 <haki> everytime i try to install fluidcontent 4.4.0 i get the error: Could not access remote resource http://repositories.typo3.org/mirrors.xml.gz. can someone help me with this one?
  • 06:47:06 <cweiske> that's a general typo3 problem, not a fluid specific one
  • 06:47:19 <cweiske> fix your network connectivity problems on your server
  • 06:47:27 <cweiske> ssh into it and curl or wget this file
  • 06:47:34 <cweiske> you'll probably get more information that way
  • 06:47:47 <haki> its not the server. i can install the newer versions, but not the 4.4.0
  • 06:48:58 <haki> sorry i mean 4.0.0
  • 07:01:07 <haki> i found a solution. thank you
  • 07:02:51 <cweiske> what solution?
  • 07:05:24 <haki> i had to activate "[SYS][curlUse]" in the install tool
  • 07:05:39 <cweiske> why?
  • 07:07:08 <haki> i found the solution for error "Could not access remote resource http://repositories.typo3.org/mirrors.xml.gz." that i have to do it
  • 07:08:09 <cweiske> so you don't have any technical reasons for it
  • 07:08:54 <haki> no
  • 07:09:38 <cweiske> too bad :/
  • 07:15:21 <de_macrocom> Good afternoon. How do I pass arguments to a flux-enabled controller? It just doesn't work out for me as detailed here: http://stackoverflow.com/questions/36505001/how-to-pass-argument-to-controller-action-with-fluidtypo3 Any hints?
  • 07:39:03 <drlimbo> hi there
  • 07:39:39 <drlimbo> i just created an extbase extension - is there a way to use the current page as storagePid if there is nothing set in the plugin?
  • 07:42:56 <cweiske> current page is at $GLOBALS['TSFE']->id
  • 07:50:35 <grimmcreative> Hello @all, how can i get my data from a flux:field (from page template) inside my v:page.menu? just {name} does nothing {pageRecord.name} too :( (all newest TER Versions of extensions) — THANKS
  • 07:53:33 <bjo3rn> grimmcreative there's flux:form.data to extract a flexform's values.
  • 07:54:45 <grimmcreative> Ok - will try it :) thanks
  • 07:55:15 <bjo3rn> something like {section -> flux:form.data(table: 'pages', field: 'tx_fed_page_flexform') -> v:variable.set(name: 'sectionFormData')}
  • 07:57:51 <haki> one more question, any idea for: Fatal error: Call to undefined method FluidTYPO3\Fluidcontent\Service\ConfigurationService::getTypoScriptSubConfiguration() in ?
  • 08:03:26 <drlimbo> thanks cweiske, i just tried something like that:
  • 08:03:26 <drlimbo> $gridelements = $this->gridelementRepository->findAll();
  • 08:03:27 <drlimbo> $this->gridelementRepository->setRespectStoragePage(FALSE);
  • 08:03:27 <drlimbo> $this->gridelementRepository->setStoragePageIds($GLOBALS['TSFE']->id);
  • 08:03:27 <drlimbo> $this->view->assign('gridelements', $gridelements);
  • 08:14:19 <drlimbo> ah, i think i got it cweiske =)
  • 08:14:24 <drlimbo> thanks for your hlep
  • 08:14:26 <drlimbo> *help
  • 08:15:38 <grimmcreative> thanks @bjo3rn - works
  • 08:26:56 <drlimbo> v:uri.image replaces " " (Spaces) in Image-URLs with "%2520" instead of "%20" - is there a way to fix that?
  • 08:27:24 <cweiske> looks like double encoding
  • 08:27:32 <cweiske> %25 is "%" encoded
  • 08:28:55 <drlimbo> ah, loks like cweiske
  • 08:29:02 <drlimbo> but i have no idea where this gets double-encoded
  • 08:29:21 <cweiske> what arguments do you pass to v:uri.image?
  • 08:30:04 <drlimbo> {v:uri.image(src:gridelement.migratedimage, relative: 1, width: '{imgWidth}c', height: '{imgHeight}c')}
  • 08:30:21 <drlimbo> gridelement.migratedimage is a string with somes spaces
  • 08:30:46 <cweiske> where do you use that {v:uri.image}?
  • 08:30:49 <cweiske> the surrounding code?
  • 08:31:33 <drlimbo> <img src="..PLACEHOLDER.png" data-original="{v:uri.image(src:'gridelement.migratedimage', relative: 1, width: '{imgWidth}c', height: '{imgHeight}c')}" alt="{gridelement.title}" width="{imgWidth}" height="{imgHeight}"/>
  • 08:32:24 <cweiske> didn't fluid have some kind of auto-escaping?
  • 08:33:33 <drlimbo> i dont know
  • 08:33:45 <drlimbo> just tested that this works: <img src="{v:uri.image(src:gridelement.migratedimage, relative: 1, width: '{imgWidth}c', height: '{imgHeight}c') -> v:format.replace(substring:"%2520", replacement:"%20")}" />
  • 08:33:47 <drlimbo> but its ugly =P
  • 10:06:29 <drlimbo> crazy... i have an extbase extension and in the list view in fluid i debug v:page info {v:page.info() -> f:debug()} BUT this returns me an incorrect UID of the actual page, but the correct content
  • 10:06:45 <drlimbo> and i have only one list element on this page, but i get the debug two times
  • 10:11:54 <de_macrocom> I also see that multiple debug rather often. So would also be interested what causes it.
  • 10:13:39 <drlimbo> mhh, i think realurl messed something around, i just saw in the table that i have two pages with the same name
  • 10:17:02 <drlimbo> yes, it was realurl, so everything ok with debug, sorry de_macrocom