IRC logs

20150324

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

IRC log range: 20150324*

20150324

  • 05:27:25 <gencha__> hi guys!
  • 05:27:45 <gencha__> i'm having a bit of an issue with caching and i'm wondering what i'm missing here
  • 05:28:54 <gencha__> i have a site on which i want to display a button that leads to the users profile. on that button, i want to show the user's name. if i just directly attempt to do that, the first user who ever hits the site will have their name cached and all future users see his name on the site
  • 05:29:06 <gencha__> so i went ahead and used v:render.uncache instead
  • 05:29:41 <gencha__> which seemed to work great, but we starting getting serious issues with the site soon afterwards (apache would segfault)
  • 05:30:07 <gencha__> so, where exactly did i go wrong in this whole process?
  • 05:41:36 <NamelessCoder> segfaults?!
  • 05:55:24 <gencha__> yes, segfaults
  • 05:55:25 <gencha__> http://i.imgur.com/9eBs11a.png
  • 05:55:49 <gencha__> Loads of that in the log
  • 05:56:03 <gencha__> i only found one similar report online from 9 years ago
  • 05:56:17 <gencha__> pretty much exactly our issue from what i can tell
  • 05:56:29 <gencha__> the responses were "update apache and php"
  • 06:06:33 <NamelessCoder> that's the response I was about to give you
  • 06:06:51 <NamelessCoder> if you use the osx native php it will be outdated for typo3 7.1
  • 06:06:57 <NamelessCoder> because of libpcre
  • 06:07:03 <NamelessCoder> (install tool should warn of this)
  • 06:07:20 <NamelessCoder> but why that might be triggering only when you use USR_INT, no clue...
  • 06:07:37 <NamelessCoder> quite frankly: I've not tested v:render.uncache on 7.1
  • 06:07:43 <gencha__> we're on debian with 6.2
  • 06:07:52 <NamelessCoder> alright that should be perfectly fine
  • 06:08:44 <NamelessCoder> if an update of php (+deps) doesn't fix this, I'm out of guesses. I've tried and failed again and again to track down segfaults any other way than rolling back commits one by one which takes quite a while
  • 06:08:58 <NamelessCoder> on my install it was libpcre + preg_callback
  • 06:09:15 <gencha__> but, in general, there's nothing wrong with my approach to getting the username into the website, is there?
  • 06:09:36 <NamelessCoder> not exactly, it all depends what you ALSO render inside that uncached part
  • 06:10:03 <gencha__> indeed
  • 06:10:05 <NamelessCoder> if you truly only require the username and the link is always the same for all users, has no cHash etc... then there is a standard marker TYPO3 will replace after the page is built, which would be MUCH faster
  • 06:10:23 <gencha__> but i was already doubting the whole approach and my understanding of _INT objects
  • 06:10:44 <NamelessCoder> there is that and a few other markers (for logins) which are replaced completely separately from anything automaketemplate, fluid etc. and after delivering from cache
  • 06:10:53 <gencha__> ah, yeah, i think you already told me about that marker in a github issue
  • 06:11:09 <gencha__> but at the time i couldn't figure it out
  • 06:11:19 <gencha__> and now we ended up here... in segfault hell
  • 06:11:25 <NamelessCoder> it's been in typo3 ever since the first time we had felogin :)
  • 06:11:52 <NamelessCoder> well v:render.uncached does create closures etc. but I've never seen it so severely fail
  • 06:12:02 <gencha__> i've been working with typo3 for a couple of years now, but am still constantly surprised by how little i know about it
  • 07:06:31 <erredeco> HI there. I have a menu of pages (with v:page.menu of course ;)); I would like to assign to every page a category (sys_category) and have the category title printed as class in the menu items.
  • 07:06:50 <erredeco> Do you have suggestions? Thank you
  • 07:42:56 <braguzz> hi all I'm trying to update vhs flux fluidpages fluidcontent fluidcontent_core
  • 07:43:20 <braguzz> and everything seems ok but homepage
  • 07:43:34 <braguzz> it gives me Template could not be loaded. I tried "/data/museo/SpecialityDistribution/typo3conf/ext/fluidcontent/Resources/Private/Templates/Content/Index.html"
  • 07:46:31 <erredeco> I think it could be something like
  • 07:46:36 <erredeco> <v:resource.record table="sys_category" .... >
  • 07:48:42 <erredeco> but I don't know how to proceed :S
  • 08:07:14 <deffcon> hey gents. i encountered strange behaviour after an 6.0.14 => 6.2 update. i get the exception
  • 08:07:16 <deffcon> #1237823695: Argument "options" was not registered.
  • 08:07:30 <deffcon> it comes from flux:form
  • 08:50:02 <batjony> NamelessCoder: When browsing fluidtypo3.org, the link for "ViewHelper reference" goes to https://fluidtypo3.org/viewhelpers.html where the user is not able to select "Fluid" from the dropdown box, maybe is more correct the link to go directly to https://fluidtypo3.org/viewhelpers/fluid/master.html
  • 08:52:02 <batjony> Currently if you want to see the Fluid view helpers reference, you should choose something else for example "fluidbackend" and then again "fluid"
  • 09:02:11 <chantierr> Hi
  • 09:02:30 <chantierr> i am facing problem with typo3
  • 09:02:55 <chantierr> i have application with multi-language
  • 09:03:57 <chantierr> when ever am open a home it's redirecting to the lastly opened home page in different language
  • 09:04:07 <chantierr> pls help me
  • 09:06:21 <chantierr> hi all
  • 09:06:35 <chantierr> please help me on my issue
  • 09:07:20 <chantierr> when ever i open home page it's redirecting to lastly opened one of different laguage
  • 09:07:29 <chantierr> how can i resolve this
  • 09:31:10 <erredeco> I am following this tutorial to obtain a "one page" TYPO3 site:
  • 09:31:29 <erredeco> https://worksonmymachine.org/blog/onepage-design-with-fluidtypo3
  • 09:32:20 <erredeco> it works well but now I want to add a category to each page (sys_category) and retrieve the category title to use it as a class in the menu
  • 09:32:41 <erredeco> But here I am stuck... I can't figure how to do that... can someone help me?
  • 09:32:43 <erredeco> Thank you
  • 10:05:44 <braguzz> HomePage of my site gives me Template could not be loaded. I tried "/data/museo/SpecialityDistribution/typo3conf/ext/fluidcontent/Resources/Private/Templates/Content/Index.html"
  • 10:05:54 <braguzz> what could I check?
  • 10:22:15 <erredeco> question about menu: I can access to the properties {item.title}, {item.nav_title}, {item.current}, etc.
  • 10:22:25 <erredeco> menu = v:page.menu
  • 10:22:39 <erredeco> is there also {item.last} ?
  • 10:27:12 <erredeco> ok I got it
  • 10:38:55 <Outdoorsman> I am porting many websites to FT3 right now and am finding it very cumbersome to have to recreate about 1/4 of all my conent elements on some content heavy websites because drag/drop and cut/paste don't work when nested.
  • 10:39:12 <Outdoorsman> So... I'm just curious if there's there's anyone with the technical know-how looking at this issue for Flux... https://github.com/FluidTYPO3/flux/issues/573
  • 10:47:26 <Jomungand> @erredeco i'm pretty sure this is not the right way to do it, but at least it works. you could do something like
  • 10:47:27 <Jomungand> <v:resource.record table="sys_category" field="title" uid="1" as="catTitle">
  • 10:47:28 <Jomungand> {catTitle.0
  • 10:47:28 <Jomungand> </v:resource.record>
  • 10:47:44 <Jomungand> to get your category title
  • 10:49:18 <Jomungand> oh forgot the colsing }
  • 10:49:22 <Jomungand> closing
  • 12:50:28 * Jomungand is away: I'm busy
  • 13:00:59 <erredeco> @Jomungand
  • 13:01:21 <erredeco> I don't think it is as much simple... what is "uid="1""?
  • 13:01:25 <erredeco> uid of what??
  • 13:03:38 <Jomungand> in this case the uid of the record with the category
  • 13:06:14 <erredeco> I'll try
  • 13:06:24 <Jomungand> you could also iterate over it with for each...
  • 13:08:16 <erredeco> @jomungand
  • 13:08:19 <erredeco> I have the error
  • 13:08:20 <erredeco> The "field" argument was not found on the selected record. Esenzioni The "field" argument was not found on the selected record.
  • 13:08:30 <erredeco> The "field" argument was not found on the selected record.
  • 13:09:21 <Jomungand> field="title" ?
  • 13:09:38 <erredeco> I think so
  • 13:10:28 <Jomungand> do you have categorys with a title?
  • 13:10:35 <erredeco> yes
  • 13:10:53 <erredeco> and the field in sys_category is "title" :) I checked
  • 13:10:53 <Jomungand> table="sys_category" ?
  • 13:11:01 <erredeco> yes
  • 13:11:04 <Jomungand> hmm
  • 13:11:11 <Jomungand> well , it works for me :-(
  • 13:11:25 <Jomungand> i'm just a begoinner,too
  • 13:11:37 <Jomungand> think you'll have to wait for the pro guys
  • 13:11:44 <Jomungand> sorry ;)
  • 13:11:48 <erredeco> :S
  • 13:14:11 <erredeco> it is true that I don't use the latest version of vhs, but the title argument is present in the viewhelper :S
  • 13:18:33 <Jomungand> :(
  • 13:19:06 <Jomungand> wait till evening. i bet some woh can help will show up
  • 16:43:14 <Akii> NamelessCoder: why is this stuff possible all of a sudden? ^^
  • 16:43:22 <Akii> also, again, nice job
  • 16:44:43 <NamelessCoder> because something weird is going on in my brain I think
  • 16:44:54 <NamelessCoder> something wants to get out :)
  • 16:47:21 <Akii> I see the end already: flow will die, neos will die - and all that's remaining is CMS and Fluid :D
  • 16:47:52 <NamelessCoder> I'd rather see the best parts of both worlds put together ;)
  • 16:48:17 <Akii> I really was like "fuck flow" today.. and I went over to laravel..
  • 16:48:21 <Akii> I share the same opinion :)
  • 16:48:26 <NamelessCoder> ...but not by loading Flow into CMS as was once discussed
  • 16:48:40 <Akii> Flow is really, really great
  • 16:48:51 <Akii> just... without neos
  • 16:49:11 <Akii> atm I want them to just don't break flow that's all
  • 16:49:22 <Akii> have you looked at TYPO3.Media?
  • 16:49:43 <NamelessCoder> no, I stay somewhat far away from flow/neos
  • 16:50:13 <Akii> well spoiler alert: there are controllers and templates with neos classes
  • 16:50:29 <Akii> instead of just asset management
  • 16:50:30 <NamelessCoder> :(
  • 16:50:33 <Akii> ye
  • 16:50:51 <NamelessCoder> why do you think I had to nuke 20K lines in TYPO3.Fluid? ;)
  • 16:51:05 <Akii> I'm really grateful you did that
  • 16:51:10 <Akii> it's so good in so many ways
  • 16:51:20 <Akii> and it's funny that the google code blah failed
  • 16:51:25 <NamelessCoder> you know what? It's MUUUUUCH faster, too ^^
  • 16:51:34 <Akii> WHAAT but no DI!
  • 16:51:40 <NamelessCoder> it failed because they were not willing to surrender DI
  • 16:51:55 <Akii> but my template engine needs DI.. for things
  • 16:51:57 <Akii> and proxies
  • 16:52:01 <Akii> it needs proxies
  • 16:52:04 <NamelessCoder> :)
  • 16:52:09 <Akii> because more classes = more object oriented.. right?
  • 16:52:13 <NamelessCoder> hehe
  • 16:52:20 <NamelessCoder> Akii, you are one bad troll :p
  • 16:52:20 <Akii> oh god
  • 16:52:43 <Akii> ye, I gotta learn some more troll skillz
  • 16:52:54 <Akii> although I get christian müller every time
  • 16:53:34 <Akii> besides of speed, this is really something
  • 16:53:51 <Akii> a revolution! :D
  • 16:54:10 <Akii> there was this open letter I read today
  • 16:54:16 <Akii> from alexander I think
  • 16:55:37 <NamelessCoder> yep
  • 17:03:52 <Akii> my problem is that I don't get the problem
  • 17:04:05 <Akii> missing documentation.. it's not like this is new
  • 17:05:21 <Akii> why not just bring documentation with the features..
  • 17:05:42 <Akii> well, the chances are good that this letter will just be ignored like every other letter
  • 17:07:26 <NamelessCoder> maybe not, maybe someone reads it and agrees. The T3A is renewed each year, for example. I'm not too invested either way because I see a great future for CMS
  • 17:07:55 <NamelessCoder> last two years proved enough people want it
  • 19:11:06 <Jomungand> anyone has a clue why this example isn't working?
  • 19:11:07 <Jomungand> https://fluidtypo3.org/library/code-examples.html?tx_fluidshare_display[gist]=5&tx_fluidshare_display[action]=display&tx_fluidshare_display[controller]=Gist&cHash=e403004449572e5ede2dd38d6d268f99
  • 19:31:44 <Jomungand> ahh well
  • 19:31:55 <Jomungand> after deleting the xontentelement it works ...
  • 19:32:01 <Jomungand> *content