IRC logs

20140430

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

IRC log range: 20140430*

20140430

  • 11:22:17 <mrboe> can anybody gice me an fal example
  • 11:22:27 <Denyerec> Depends what you want to do with it
  • 11:22:40 <mrboe> like a gallery
  • 11:22:42 <Denyerec> If you just want to render an image, I think I managed that, but I suspect you're looking for something much more complex.
  • 11:23:11 <mrboe> if you could give me the siple one it would be nice
  • 11:26:02 <Denyerec> One mo
  • 11:28:19 <Denyerec> <v:page.resources.fal field="media" uid="{item.uid}" as="image">
  • 11:28:19 <Denyerec> <v:resource.image identifier="{image.0.id}" width="210c" height="70c"/>
  • 11:28:19 <Denyerec> </v:page.resources.fal>
  • 11:28:22 <Denyerec> Hmmp
  • 11:28:30 <Denyerec> Thats the only one I can find, I was sure I'd used it elsewhere
  • 11:28:35 <Denyerec> maybe I replaced it with media:image
  • 11:29:05 <mrboe> thx
  • 11:29:06 <cedricziel> f:image is your friend
  • 11:29:15 <cedricziel> it has a treatIdAsReference
  • 11:29:20 <cedricziel> argument
  • 11:29:51 <Denyerec> https://gist.github.com/Denyerec/026c33bfa9cecb1ea535
  • 11:30:02 <mrboe> @cedricziel if i want to make a "gallery" funktion i dont have to put the fal field into a section if i understnad right
  • 11:30:11 <Denyerec> cedricziel I wanted to ask someone what that actually MEANT
  • 11:30:18 <Denyerec> as the document just says "Treat the ID as a reference"
  • 11:30:25 <Denyerec> which is useless to someone who doesn't know whats going on :/
  • 11:30:46 <cedricziel> Den: FAL has a type FileReference
  • 11:31:11 <cedricziel> if you have a fal field, it returns the uid of the FileReference
  • 11:31:46 <Denyerec> The so instead of resource.image I could use f:image and just throw the variable {image} into it, with treadIdAsReference ?
  • 11:31:48 <cedricziel> but as it's possible to use strings in those fields as well, you need to explicitly tell the vh to treat the src value as reference
  • 11:32:08 <Denyerec> And then wouldn't need to reference image.0.uid ?
  • 11:32:28 <cedricziel> it get's a little more complicated when you have more than one reference, but yes, like that
  • 11:32:52 <cedricziel> mrboe: fal in section objects doesnt work as there's no reference id
  • 11:33:09 <cedricziel> absolutely true
  • 11:33:28 <mrboe> ok thx
  • 11:33:49 <Denyerec> So you can only use FAL for one-off fields ?
  • 11:33:55 <Denyerec> That's ... not helpful.
  • 11:35:06 <cedricziel> you can use collections in a normal flexforms ofc
  • 11:35:13 <cedricziel> but not in section objects
  • 11:35:25 <cedricziel> and yes, it's complicated
  • 11:35:48 <cedricziel> NamelessCoder estimated something around a week to get waterproof fal into flux
  • 11:35:58 <cedricziel> (full time)
  • 11:36:12 <Denyerec> ced I receive this: 382687163: Supplied file object type must be File or FileReference.
  • 11:36:33 <cedricziel> if you want to jump on the bandwagon, contact him for sponsoring ;)
  • 11:36:40 <Denyerec> When I tried to pass {image} to the image param of f:image
  • 11:36:43 <cedricziel> sho me your form pls
  • 11:36:56 <cedricziel> ah, it has to be image.uid then
  • 11:37:20 <Denyerec> https://gist.github.com/Denyerec/a92961b31698eea96b90
  • 11:37:54 <Denyerec> f:image says it wants a FAL resoure
  • 11:38:00 <Denyerec> which is what I thought I was supplying
  • 11:38:17 <Denyerec> Though I do get an array from page.resources.fal
  • 11:38:35 <Denyerec> (Which is why I used image.0
  • 11:39:00 <cedricziel> please debug the value {image -> f:debug()}
  • 11:40:06 <cedricziel> this is danilobuerger land btw
  • 11:40:15 <danilobuerger> ?
  • 11:40:32 <cedricziel> v:page.resources.fal
  • 11:40:36 <Denyerec> https://gist.github.com/Denyerec/1205a8fbf0b2cf15fc84
  • 11:41:16 <danilobuerger> f:image doesnt work like that
  • 11:41:23 <danilobuerger> v:resource.image should be fine however
  • 11:42:33 <Denyerec> https://gist.github.com/Denyerec/026c33bfa9cecb1ea535
  • 11:42:40 <Denyerec> That's what I was doin goriginall
  • 11:42:46 <Denyerec> oh
  • 11:42:47 <Denyerec> wrong gist
  • 11:42:55 <Denyerec> https://gist.github.com/Denyerec/a92961b31698eea96b90
  • 11:43:03 <Denyerec> (line 2)
  • 11:46:48 <Denyerec> cedricziel how do you know what type something is when everything reports "array" ?
  • 11:46:58 <Denyerec> I think that's singly the most confusing thing to me right now.
  • 11:46:59 <cedricziel> f:debug
  • 11:47:17 <Denyerec> "array"
  • 11:47:20 <Denyerec> type => 2
  • 11:47:25 <Denyerec> ?
  • 11:48:15 <Denyerec> you say things like "It expects a FAL resource", but I have no way to identify what that is, if I've got one, and how to get one ;)
  • 11:48:22 <Denyerec> Everything I debug is either string or array.
  • 11:48:48 <Denyerec> Unless the numeric type field is the key? If so, where's the lookup between the integers and the human names?
  • 11:50:45 <Denyerec> I feel like this is a pretty large blackhole in my understanding of what's going on :/
  • 12:06:34 <benjamin_654> hi all,
  • 12:07:17 <Denyerec> Hey benjamin_654
  • 12:07:53 <benjamin_654> i have a error with current dev versions: Fatal error: Call to a member function update() on a non-object in [...]/typo3conf/ext/flux/Classes/Service/ContentService.php on line 286
  • 12:08:05 <Denyerec> danilobuerger : You're up!
  • 12:08:18 <benjamin_654> somehow D.I. does not work : https://dl.dropbox.com/u/25310351/Screen_Shot_2014-04-30_at_12.03.44.png - any idea what the problem might be?
  • 12:10:13 <danilobuerger> benjamin_654 clear typo3temp and caches
  • 12:14:35 <benjamin_654> danilobuerger: clearing cache did not help, i still get this error when using d&d : https://dl.dropbox.com/u/25310351/Screen_Shot_2014-04-30_at_12.13.22.png
  • 12:16:42 <danilobuerger> in that case you didnt properly clear your caches
  • 12:17:09 <danilobuerger> delete everything inside the directory typo3temp, go to the install tool (yes the install tool) and click clear all caches
  • 12:18:10 <Denyerec> danilobuerger - any offers on my datatype investigation while you're here?
  • 12:20:16 <benjamin_654> holy cow! clear all caches in the install tool did work!
  • 12:20:23 <benjamin_654> danilobuerger: THX!
  • 12:22:42 <danilobuerger> Denyerec what problem?
  • 12:24:12 <Denyerec> I don't know how to know what datatype I'm dealing with, as when I debug anything, it's always just array or string.
  • 12:24:25 <Denyerec> And functions will says "Requires type X" and all I have is "array".
  • 12:24:34 <Denyerec> EG here :
  • 12:24:50 <Denyerec> https://gist.github.com/Denyerec/1205a8fbf0b2cf15fc84
  • 12:24:57 <Denyerec> That's an array of "something"
  • 12:25:07 <Denyerec> But I don't know how to know *what*
  • 12:30:31 <mrboe> has anybody problems with <f:debug>{_all}</f:debug> on actually dev's and t6.2.1
  • 12:30:44 <mrboe> if i use the debug my FE is gone
  • 12:42:57 <randomresult> mrboe same here
  • 12:43:44 <mrboe> could anybody of the team doublecheck
  • 13:04:51 <Denyerec> randomresult, mrboe, perhaps you guys know about my datatype problem ?
  • 13:05:04 <Denyerec> No-one seems able to tell me how I identify a datatype in f:debug
  • 13:05:36 <Tjark> hi, is there a way to remove the "Select & Upload files" Button within the FAL Box in my own Extension ?
  • 13:06:46 <mrboe> @Denyerec just have to get my debug working
  • 13:26:13 <benjamin_654> Denyerec: f:debug does: "return \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->renderChildren(), $title, […]);" - maybe the ->renderChildren() converts objects to arrays - if thats true, there is no easy way of debugging types within fluid. When you call the var_dump from a controller you should see the type info ..
  • 13:27:02 <Denyerec> Maybe f:debug needs extending then ?
  • 13:27:17 <Denyerec> because every time I've hit an error it's typically because I'm trying to pass the wrong datatype to a VH
  • 13:27:23 <Denyerec> and the debug... is always "array"
  • 13:27:31 <Denyerec> It's VERY confusing for a new user :/
  • 13:28:14 <benjamin_654> Denyerec: can you give a specific example?
  • 13:28:25 <Denyerec> Trying to use an image viewhelper
  • 13:28:38 <Denyerec> I get an exception telling me that it expects a resouce of type X
  • 13:28:42 <Denyerec> I have a var {image}
  • 13:28:47 <Denyerec> I debug it, it's an array.
  • 13:28:57 <Denyerec> I don't know if the children in the array are type X, or type Y
  • 13:29:17 <Denyerec> At least if I could ascertain this, I would know the error was elsewhere.
  • 13:31:48 <cedricziel> if the array is empty, it's just an array with no other type than array ;)
  • 13:32:04 <cedricziel> you could debug the parent and set the depth argument to get more information
  • 13:35:28 <benjamin_654> i just tested it: if i do <f:debug>{_all}</f:debug> i do get type information:
  • 13:35:40 <benjamin_654> https://dl.dropbox.com/u/25310351/Screen_Shot_2014-04-30_at_13.33.png
  • 13:39:59 <benjamin_654> Denyerec: can you post the text of the exception you are getting?
  • 13:41:05 <Denyerec> ced I receive this: 382687163: Supplied file object type must be File or FileReference.
  • 13:46:43 <mrboe> @cedricziel yesterday i updated all my ft3 ext to latest dev - now if i use debug my FE is gone
  • 13:47:20 <mrboe> just checked - old ext on 6.2.1 it works
  • 13:47:44 <mrboe> then i switched to latest ft3 ext and the bug is there
  • 13:53:11 <bjo3rn> mrboe confirmed
  • 13:53:18 <mrboe> thx
  • 13:53:34 <bjo3rn> seems to be connected to vhs
  • 13:53:34 <mrboe> i thougt im getting totlay crazy
  • 13:53:45 <cedricziel> seems there's a real problem we got somehow
  • 13:54:13 <mrboe> i can give you the date of the ext state its working
  • 13:54:20 <mrboe> if that would help
  • 13:54:38 <cedricziel> a commit hash would be better, but please
  • 13:56:19 <mrboe> sorry dont have the commit hash - but i pulled vhs and the others on the 14.April
  • 13:56:35 <mrboe> with this versions all works
  • 13:56:43 <mrboe> also on 6.2.1
  • 13:56:44 <bjo3rn> it happens after ben's cgl compliance commit (excluding it)
  • 13:56:58 <bjo3rn> after 52bd6e41ccf
  • 13:57:52 <cedricziel> k
  • 13:58:10 <bjo3rn> aha, the content length issue again
  • 13:58:16 <bjo3rn> got it
  • 13:58:27 <bjo3rn> I assume you are using chrome?
  • 13:58:32 <bjo3rn> mrboe?
  • 13:58:39 <mrboe> yes
  • 13:58:41 <mrboe> chrome
  • 13:59:00 <bjo3rn> please check in the dev console for a message re content length mismatch
  • 13:59:13 <bjo3rn> it shouldn't happen in firefox
  • 13:59:28 <mrboe> one sec
  • 13:59:32 <bjo3rn> it's kind of a poor man's heartbleed bug ^^
  • 14:00:25 <mrboe> no
  • 14:00:29 <mrboe> no FE in FF
  • 14:00:37 <bjo3rn> huh? ok...
  • 14:01:00 <mrboe> also set config.enableContentLengthHeader = 0 which solves the content length issue
  • 14:01:18 <bjo3rn> okeee...
  • 14:01:21 <bjo3rn> sec
  • 14:03:14 <mrboe> back in 3min
  • 14:03:20 <benjamin_654> poor man's heartbleed bug (:
  • 14:04:23 <bjo3rn> yep. response header contains a different content length than the actual output but this had been fixed. ;)
  • 14:06:44 <bjo3rn> e41bf57c is the culprit
  • 14:12:55 <benjamin_654> Denyerec: what vielhelper are you using, and where do you get the variable {image} from? maybe you can post you template (a miminal version) in a gist?
  • 14:13:51 <Denyerec> already gisted it
  • 14:13:52 <Denyerec> moment
  • 14:13:57 <Denyerec> lemme get the right link
  • 14:14:14 <Denyerec> https://gist.github.com/Denyerec/a92961b31698eea96b90
  • 14:14:17 <Denyerec> Line 2 is my current line
  • 14:14:20 <Denyerec> line 3 I was testing
  • 14:15:44 <cedricziel> shouldnt that be something like {page.uid}?
  • 14:15:51 <cedricziel> just wild guessing
  • 14:18:05 <bjo3rn> ehm, extbase debug adds some inline css before the <html tag. is that normal?
  • 14:18:13 <cedricziel> yessir
  • 14:18:20 <bjo3rn> that's sick
  • 14:19:16 <bjo3rn> that's what causes this bug as the recalculation of the actual content length becomes incorrect.
  • 14:22:13 <benjamin_654> Denyerec: i dont think you problem are the types. this error happens later. the root cause might be that you use the wrong id
  • 14:22:20 <benjamin_654> Denyerec: <v:resource.image identifier="{image.0.id}" width="210c" height="70c"/> -> <v:resource.image identifier="{image.0.uid}" width="210c" height="70c"/> ??
  • 14:22:39 <Denyerec> Ah
  • 14:22:40 <Denyerec> No you see
  • 14:22:48 <Denyerec> the resource.image works fine
  • 14:22:54 <Denyerec> What I was trying to get to
  • 14:23:01 <Denyerec> was how do I know what datatype {image} is.
  • 14:23:10 <Denyerec> As debug just dumps an array.
  • 14:27:47 <benjamin_654> its an array: /typo3conf/ext/vhs/Classes/ViewHelpers/Resource/Record/AbstractRecordResourceViewHelper.php
  • 14:39:49 <Guest|42219> hi, i'm using VH "flux:field.inline.fal" to insert images into a fce (Configuration Section), can anybody give me a hint how to render this in frontend..which VH should i use for that?
  • 14:40:20 <bjo3rn> Guest|42219 there
  • 14:40:28 <bjo3rn> (damn return key)
  • 14:40:34 <bjo3rn> Guest|42219 there's v:resource.image
  • 14:40:49 * bjo3rn has a fat finger issue
  • 14:42:36 <Guest|42219> thanks...i found v:content.resources.fal...when should/can is use this?
  • 14:44:43 <Guest|42219> in other words, when i add multiple FAL records, i can wrap v:resource.image within a for each VH
  • 14:45:07 <Guest|42219> and it outputs a list of images, for example
  • 14:47:07 <mrboe> i dont understand how to use that
  • 14:47:19 <mrboe> is there any example for that
  • 14:49:45 <Guest|42219> me neither, how do i reference the image from the Configuration section, within the Main section...
  • 14:50:21 <cedricziel> did you debug the object Guest|42219?
  • 14:51:36 <Guest|42219> ced: no
  • 14:52:02 <cedricziel> {object -> f:debug()} tells a lot about your variable
  • 14:52:27 <cedricziel> where object is your variable
  • 14:53:14 <cedricziel> It should return an Iterable such as an array or somethng with ArrayAccess
  • 14:53:27 <Guest|42219> i return NEW5360edddcc539
  • 14:53:31 <Guest|42219> *s
  • 14:53:41 <mrboe> same here
  • 14:54:01 <cedricziel> then it hasnt been saved properly
  • 14:54:21 <cedricziel> i suppose you act from with a section/object?
  • 14:55:27 <mrboe> https://gist.github.com/misterboe/3da0bd2f1958ce3a99ae
  • 14:55:40 <mrboe> output '1' (1 chars)
  • 14:55:54 <mrboe> i think same as Guest|42219
  • 14:56:08 <cedricziel> save the form before you attach media to it
  • 14:57:08 <mrboe> same output
  • 14:57:11 <Guest|42219> is there any extension which takes advantage of the most common use cases for fces with fluid...it' really hard to get started with the many question coming up
  • 14:59:59 <Guest|42219> also getting '1'
  • 15:03:48 <BenjaminR> Guest: youre using flux:field.inline.fal?
  • 15:04:07 <BenjaminR> have a look on the doc comments for examples how to query the related file
  • 15:04:43 <BenjaminR> http://fluidtypo3.org/viewhelpers/flux/development/Field/Inline/FalViewHelper.html
  • 15:09:06 <Guest|42219> yes...i looked at master docs
  • 15:09:28 <BenjaminR> added the docs recently
  • 15:09:57 <Guest|42219> okay thanks, the new paragraph may help
  • 15:15:37 <Denyerec> benjamin_654 - yes, it's an array, but if I pass it to certain VH's the complaina bout the datatype.
  • 15:15:49 <Denyerec> Expected "Fal Resrouce" etc.
  • 15:15:56 <Denyerec> So it's obviously not JUST an array
  • 15:16:01 <Denyerec> it's an array that represents some datatype or other.
  • 15:16:12 <Denyerec> Otherwise, all the Vh's would just accept type:array
  • 15:16:13 <Denyerec> No ?
  • 15:17:20 <benjamin_654> Denyerec: <f:image image="{image.0}" width="210c" height="70c"/> does threw the error - right?
  • 15:17:32 <benjamin_654> throw
  • 15:18:03 <Denyerec> Yeah
  • 15:18:14 <Denyerec> My problem is everything I debug with f:debug is an array
  • 15:18:25 <Denyerec> so how do I discover what internal type things are, wen they're all represented as arrays ?
  • 15:21:19 <anhadikal> hi all
  • 15:21:57 <anhadikal> need to render the title of EXT:news in v:page.breadCrumb ... how can it be done?
  • 15:23:05 <benjamin_654> Denyerec: <f:image image="{image.0}" width="210c" height="70c"/> needs a filepath or a id, i haven´t seen a viewhelper that needs a complex type
  • 15:23:55 <benjamin_654> Denyerec: if you pass a reference id to f:image instead of a path you also have to set treatIdAsReference="1"
  • 15:24:44 <Denyerec> I am clearly not explaining myself.
  • 15:24:57 <Denyerec> Line 1 returns "something"
  • 15:25:10 <Denyerec> How do I know what type that "something" is
  • 15:25:16 <Denyerec> So I know where else it can be used
  • 15:28:37 <benjamin_654> Denyerec: i dont thing there is a type/class involved here. its just a array and you take from it what you need: <f:image image="{image.0.url}" width="210c" height="70c"/> ?
  • 15:29:28 <Denyerec> So... if extracting the resource returns an array...
  • 15:29:33 <Denyerec> ...why do VH's require specific types ?
  • 15:29:39 <Denyerec> I'm missing something, obviously.
  • 15:30:16 <Denyerec> I mean for example
  • 15:30:17 <Denyerec> This:
  • 15:30:20 <Denyerec> "upplied file object type must be File or FileReference. "
  • 15:30:31 <Denyerec> Implies that some VH's must return specific objects ?
  • 15:30:43 <Denyerec> Or I'm just missing some crucial part of understanding that makes this make sense :/
  • 15:30:46 <Denyerec> Which is very likely
  • 15:31:28 <benjamin_654> Denyerec: are you sure that this error comes from VHS? or from some typo3 function that cant create a image with the given src?
  • 15:31:43 <Denyerec> It comes from f:image
  • 15:32:00 <Denyerec> Which is a fluid viewhelper, I think
  • 15:33:50 <benjamin_654> does this work? <f:image image="{image.0.url}" width="210c" height="70c"/>
  • 15:35:57 <Denyerec> OOh hwait a second
  • 15:36:08 <Denyerec> So the viewhelper itself it just taking some dumb data
  • 15:36:12 <Denyerec> "5773"
  • 15:36:28 <Denyerec> the function it them calls tries to turn that into a valid resource and THAT is what fails.
  • 15:36:37 <Denyerec> I think that's the logical leap I was missing benjamin_654
  • 15:37:15 <mrboe> yyyyeeeah i see an image
  • 15:37:16 <mrboe> https://gist.github.com/misterboe/3da0bd2f1958ce3a99ae
  • 15:39:21 <mrboe> {item -> f:debug()}
  • 15:39:45 <mrboe> @Denyerec would that help you
  • 15:41:34 <Denyerec> no mrboe, I was misunderstanding the source of the error message.
  • 15:41:41 <Denyerec> I think it's clear in my head now
  • 15:45:07 <benjamin_654> Denyerec: yes, that is what i thing is happening ..
  • 15:51:45 <ad_on_is> hi, how can i render an image that i used to implement via <flux:field.inline.fal name="picture" label="Bild" />
  • 15:52:36 <ad_on_is> if i debug the output of field picture, i get this NEW5360f826ba46f
  • 15:53:20 <anhadikal> I need to render the title of EXT:news in v:page.breadCrumb ... how can it be done?
  • 15:56:46 <mrboe> @ad_on_is i just created this at the moment https://gist.github.com/misterboe/3da0bd2f1958ce3a99ae
  • 15:56:55 <mrboe> dont know if thats right
  • 15:57:50 <Torstenn> @danilobuerger Do you know if it should work in flux to translate an elemente with more than one fal image?
  • 15:58:16 <danilobuerger> it should work... and i am going to do exactly that tomorrow
  • 15:58:29 <danilobuerger> so if it doesnt work, this will be fixed very soon as i need that exact feature too
  • 15:58:43 <Torstenn> oh nice
  • 15:58:53 <Torstenn> if you do it is first in workbench branch?
  • 15:59:24 <danilobuerger> depends, if its something minor it will be a PR against development branch
  • 15:59:43 <Torstenn> and i can tell you it doesnt work with multiple images from one falviewhelper nor with multiple falviewhelpers in an element
  • 15:59:49 <Torstenn> ok, thank you
  • 15:59:55 <Torstenn> wish you good luck
  • 16:22:13 <ad_on_is> @mrboe thx, works as expected ;-)
  • 16:30:23 <benjamin_654> i have a problem where drag&drop from and to flux fces does not work (development branch / TYPO3 6.2.2) - anyone having the same issue?
  • 16:33:36 <cedricziel> yes benjamin_654
  • 16:33:46 <cedricziel> it's a known issue
  • 16:33:55 <cedricziel> while you're at it:
  • 16:34:09 <cedricziel> can you confirm an error when using the new CE wizard?
  • 16:36:19 <benjamin_654> no, the CE wizard worked for me - what kind of error do you mean?
  • 16:38:03 <benjamin_654> cedricziel: is there a open ticket for this ? 541?
  • 16:38:19 <cedricziel> flux#541
  • 16:38:20 <FT3BOT> Issue 541: [TASK] Fix copy/paste/localise issues https://github.com/fluidtypo3/flux/issues/541
  • 16:38:46 <cedricziel> can you cherry pick it?
  • 16:39:52 <benjamin_654> i did already, i still have a bug.
  • 16:40:12 <benjamin_654> i´ll post the description into the ticket
  • 16:40:15 <cedricziel> did you clear anything that smells like a class cache?
  • 16:40:48 <benjamin_654> .. to be sure i´ll visit the install tool and do a clear all caches
  • 16:41:05 <cedricziel> nice move, thank you
  • 16:42:47 <Denyerec> Oh this article is perceft
  • 16:42:48 <Denyerec> This file is Good Code. It has sensible and consistent names for functions and variables. It's concise. It doesn't do anything obviously stupid. It has never had to live in the wild, or answer to a sales team.
  • 16:42:54 <Denyerec> http://stilldrinking.org/programming-sucks
  • 16:43:37 <Denyerec> mrboe - danilobuerger will know if your gist is correct
  • 16:43:45 <Denyerec> I THINK he is responsible for resources.fal ?
  • 16:52:35 <mrboe> @Denyerec i dont know if there is another method
  • 16:52:44 <mrboe> but it works for me now
  • 16:58:07 <mrboe> here is my solution for today - field.inline.fal / content.resources.fal / Image Gallery > https://gist.github.com/misterboe/a34e34578ace5d8596fd
  • 18:19:40 <Outdoorsman> Just got a /ROOT_DIRECTORY/typo3conf/ext/flux/Classes/Provider/AbstractProvider.php on line 964 when trying to view all frontend pages
  • 18:19:49 <Outdoorsman> All except the homepage.
  • 18:47:48 <Denyerec> cleared all caches ?
  • 18:49:30 <Outdoorsman> Doing it again to make sure
  • 19:18:39 <Outdoorsman> Sorry Denyerec I was on the phone. I just deleted typo3temp/* and flushed frontend and general cache in TYPO3. To my knowledge I have not changed anything that would cause the issue.
  • 19:18:54 <Denyerec> Tried the caches in the install tool ?
  • 19:19:18 <Outdoorsman> I'm not sure which ones would be applicable?
  • 19:19:44 <Outdoorsman> I'm there right now under "Clean Up" is that where you're talking about?
  • 19:20:41 <Denyerec> Yeah just nuke every cache you can
  • 19:20:52 <Denyerec> at least when NamelessCoder or danilobuerger come back you'll be ahead of the curve
  • 19:21:11 <Denyerec> What's the whole errpr message?
  • 19:21:18 <Denyerec> You pasted the file and line, but not the error
  • 19:22:05 <Outdoorsman> Well I set it to Development mode in the install tool so I could see that but that's all that was shown.
  • 19:22:17 <Denyerec> Really ?
  • 19:22:20 <Outdoorsman> I haven't look at error logs.
  • 19:22:30 <Denyerec> Normally with errors all turned on you get pretty solid exception output
  • 19:24:53 <Outdoorsman> I'm finding this a little strange and wonder if it's user error because I have another 6.2 website with the same extensions with the addition ftbcustomiser that seems to be working. I have them both set up on cron to pull the latest dev versions every night and clear cache so everything should be equal.
  • 19:25:42 <Outdoorsman> I'm going to clear all cache again on the other site to see if it starts having the same error too.
  • 19:26:49 * Denyerec is just the resident photographer
  • 19:33:07 <Outdoorsman> I just went to database analyzer and it wanted to add tx_fluidpages_templatefile and tx_fluidpages_layout fields.
  • 19:33:32 <Outdoorsman> I added them and flushed all cache again... same issue still.
  • 19:34:27 <Outdoorsman> Ahhh... I see I didn't copy the whole error... sorry there was a little more (forgive me).
  • 19:34:43 <Outdoorsman> Fatal error: Call to a member function getSingle() on a non-object in /ROOT_DIRECTORY/typo3conf/ext/flux/Classes/Provider/AbstractProvider.php on line 964
  • 19:34:52 <Denyerec> Ahhh!
  • 19:34:59 <Denyerec> There was me thinking some directive had masked that
  • 19:37:50 <Outdoorsman> I'm getting no displayed content except for that error for every page of the website except the homepage.
  • 21:05:24 <Outdoorsman> I'm just starting to use phpstorm. Any comments on what I need to set up for TYPO3 and flux/etc?
  • 22:26:00 <danilobuerger> Outdoorsman : yeah... drag it to the trash and install textmate ;-)
  • 22:26:38 <Outdoorsman> ahhhh
  • 22:27:37 <Outdoorsman> You're hardcore. I thought people who were as much into code as you would certainly use an IDE!
  • 22:29:25 <Outdoorsman> I have a friend who codes for New Relic who uses vi for his primary coding editor... what a guy :)
  • 22:30:06 <danilobuerger> well i use XCode as my IDE of choice... and because of that i cant stand phpstorm... it just annoys me... so for php (and php only) i use textmate
  • 22:31:33 <Outdoorsman> Nice... look like a good one too.
  • 22:31:43 <danilobuerger> xcode or textmate?
  • 22:32:21 <Outdoorsman> xcode made by Apple... since I'm not a Mac user (yet) I wasn't familiar with it.
  • 22:32:53 <danilobuerger> ah
  • 22:33:04 <danilobuerger> well imo its the perfect IDE for c, c++, objective-c
  • 22:33:11 <danilobuerger> and thats what i code mainly
  • 22:33:31 <Outdoorsman> Really? What's your job then?
  • 22:34:04 <danilobuerger> my main job is head of coding ;-)
  • 22:34:19 <Outdoorsman> By the way, here's an interesting survey showing what most people are using. I already have Zend Studio but it's a beast and have not enjoyed it at all. http://www.sitepoint.com/best-php-ide-2014-survey-results/
  • 22:34:23 <danilobuerger> but when i code myself, mainly mobile apps and unreal 4
  • 22:35:00 <Outdoorsman> Wow... nice.
  • 22:36:09 <danilobuerger> and sometimes i have todo typo3 :-)
  • 22:36:21 <Outdoorsman> By the way... the error I was having earlier just miraculously seemed to disappear after a while (Fatal error: Call to a member function getSingle() on a non-object in /ROOT_DIRECTORY/typo3conf/ext/flux/Classes/Provider/AbstractProvider.php on line 964)
  • 22:37:29 <danilobuerger> all those "Call to a member function [XYZ] on a non-object" usually solve themselves when clearing some cache... if you get that error always fully delete typo3temp and clear caches through the install tool
  • 22:38:41 <danilobuerger> the caching mechanism in 6.1 & 6.2 (especially) get weird sometimes
  • 22:39:07 <danilobuerger> sometimes they are too aggressive
  • 22:39:10 <Outdoorsman> Based on how it resolved itself, I suspect it was cache as well.
  • 22:41:52 <Outdoorsman> I cleared every cache I could find but didn't clear these tables in the install tool since they didn't appear to be things that would cause that issue the only cache I didn't clear was sys_log, be_sessions, sys_history, tx_rsaauth_keys, and tx_extensionmanager_domain_model_extension.
  • 22:41:52 <danilobuerger> Outdoorsman you are from the US right?
  • 22:41:58 <Outdoorsman> yes
  • 22:42:10 <danilobuerger> got your google glass already :D ?
  • 22:42:15 <GRIMMCREATIVE> Hio, somebody know if there is a Viewhelper "vhs" to get the categories of the current page within the link set inside the cat?
  • 22:42:39 <Outdoorsman> Ha ha... I haven't yet.
  • 22:42:56 <danilobuerger> ours arrived yesterday :D
  • 22:43:26 <Outdoorsman> I'm not sure I want to talk into the bathroom in the morning forgetting I have them on and publish it to the world accidentally.
  • 22:43:28 <danilobuerger> we are waiting for the first one of us to get punched in the face for wearing them
  • 22:43:40 <danilobuerger> yeah :D
  • 22:43:49 <Outdoorsman> I can't type... sorry for the wrong words there.
  • 22:43:56 <danilobuerger> i understood what you meant
  • 22:44:11 <Outdoorsman> Are they pretty heavy?
  • 22:44:22 <danilobuerger> not especially
  • 22:44:27 <danilobuerger> you dont notice after a while
  • 22:44:53 <Outdoorsman> Cool... you're officially the very first person I know that has some. Enjoy!
  • 22:45:02 <danilobuerger> hehe thx
  • 22:48:53 <danilobuerger> GRIMMCREATIVE i might be able to help you, but i dont understand oyur question
  • 22:51:23 <GRIMMCREATIVE> @danilobuerger: Suche nur nach einer Möglichkeit die zugewiesene Kategorie der aktuellen Seite auszugeben, jedoch inkl dem Shortcut link den man bei der Kategorie setzen kann.
  • 22:51:54 <danilobuerger> so what have you got so far? can you gist your template please?
  • 22:53:36 <GRIMMCREATIVE> just tried this one out right now but my typoscript isnt this good so i dont know how the setup the link inside: https://gist.github.com/t3easy/9810216#file-lib-pagecategories-txt
  • 22:54:32 <danilobuerger> ah sorry, cant help you with TS, i never use TS (except for the bare essentials like config. but nothing else)… everything i do is in fluid / extbase
  • 22:55:33 <GRIMMCREATIVE> thats what i basicly searching for - a solution in fluid. so the basic question was if there is a ViewHelper already in vhs :)
  • 22:56:20 <danilobuerger> ah
  • 22:56:57 <danilobuerger> no there isnt one, but it would be very nice to have one… so if you decide to do one it would be awesome if you submit it as a pull request afterwards to vhs
  • 22:58:03 <GRIMMCREATIVE> just found something claus made a while ago for me that looks like what i searching for... will try and give feedback
  • 23:06:25 <GRIMMCREATIVE> ah no... that was to specific for another solution. will try out something later