IRC logs

20140410

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

IRC log range: 20140410*

20140410

  • 00:33:19 <danilobuerger> pff why is there no typo3 user group in augsbrug?
  • 00:43:30 <BenjaminR> danilobuerger: i am at hetzner now :)
  • 00:43:41 <danilobuerger> BenjaminR good stuff ;-)
  • 01:03:00 <BenjaminR> what may cause problems with autoloader?
  • 01:03:12 <danilobuerger> be more specific ^^
  • 01:03:20 <BenjaminR> second undefined class error in different contexts
  • 01:03:27 <danilobuerger> whats the error?
  • 01:03:39 <BenjaminR> Could not analyse class:FluidTYPO3\Fluidcontent\Provider\ContentProvider maybe not loaded or no autoloader?
  • 01:03:51 <danilobuerger> typo 6.2 ?
  • 01:04:05 <BenjaminR> earlier it was PHP Fatal error: Class 'TYPO3\\CMS\\Media\\Utility\\MediaFolder' not found in /var/www/stage.codearts.at/httpdocs/typo3conf/ext/media/ext_tables.php on line 53
  • 01:04:07 <BenjaminR> 6.1.8
  • 01:04:10 <BenjaminR> dev
  • 01:04:23 <BenjaminR> when moving the page to the server
  • 01:04:42 <danilobuerger> so it worked before but you switched the server environment?
  • 01:05:10 <BenjaminR> yap too typical :)
  • 01:05:19 <BenjaminR> still work here on my maschine :D
  • 01:05:23 <danilobuerger> typo3temp and all cache db tables are empty?
  • 01:05:26 <BenjaminR> just to add the second beloved sentense
  • 01:05:33 <BenjaminR> will give it another try
  • 01:05:42 <danilobuerger> whats the php version on the server?
  • 01:05:51 <danilobuerger> what webserver are you using on the server?
  • 01:06:14 <BenjaminR> 64 bit LAMP
  • 01:06:23 <BenjaminR> 5.4 - details upcoming
  • 01:06:46 <danilobuerger> does the web user actually have read permission on the files (especially on the file thats throwing the error).. you can check with something like sudo -u www-data cat /var/www/.….
  • 01:06:47 <BenjaminR> 5.44
  • 01:07:18 <danilobuerger> php 5.4.4 is a really outdated version
  • 01:07:24 <BenjaminR> lets update
  • 01:07:43 <danilobuerger> check permissions as outlined first please
  • 01:07:50 <BenjaminR> okay
  • 01:09:26 <BenjaminR> how did the command work=
  • 01:09:35 <BenjaminR> dont understand the ...
  • 01:09:44 <danilobuerger> thats the path to ContentProvider.php
  • 01:09:48 <BenjaminR> ah
  • 01:11:07 <danilobuerger> you can just do sudo chmod -R 777 /var/www/stage.codearts.at/httpdocs/ for now to have global read write on your files for testing (change later to normal permissions though)
  • 01:11:35 <BenjaminR> something is wrong there with case in filenames
  • 01:11:37 <BenjaminR> and folders
  • 01:11:52 <danilobuerger> what do you mean by "wrong" ?
  • 01:12:04 <BenjaminR> classes in lowercase fx
  • 01:12:09 <danilobuerger> ??
  • 01:12:11 <BenjaminR> same problem in multiple places
  • 01:12:16 <BenjaminR> folders are lower case
  • 01:12:30 <danilobuerger> what system is this? debian?
  • 01:12:34 <BenjaminR> 7
  • 01:12:37 <BenjaminR> yes
  • 01:12:43 <danilobuerger> so debian wheezy?
  • 01:12:51 <BenjaminR> if you say that :)
  • 01:13:00 <danilobuerger> your local machine is a mac?
  • 01:13:04 <BenjaminR> it is
  • 01:13:54 <danilobuerger> please do a sudo fdisk on both machines
  • 01:14:05 <danilobuerger> gist output
  • 01:17:15 <BenjaminR> my fdisk on mac doesnt want like me
  • 01:17:23 <BenjaminR> it is fdisk -r <disk> ?
  • 01:18:22 <BenjaminR> resource is busy
  • 01:18:40 <danilobuerger> actually never mind.. i am assuming right now if you have the default install on your server and your mac… you will end up with a case sensitive file system on your server and a case INsensitive file system on your mac
  • 01:18:44 <danilobuerger> and thats whats screwing you
  • 01:18:59 <danilobuerger> how did you transfer the files to yoru server?
  • 01:19:04 <BenjaminR> sftp
  • 01:19:11 <danilobuerger> one by one or zipped up?
  • 01:19:17 <BenjaminR> zipped by tar
  • 01:19:53 <BenjaminR> oO problems somewhere else - lowercase folders already local on mac
  • 01:20:03 <danilobuerger> well then you are really screwed ^^
  • 01:20:03 <BenjaminR> something really ugly happened there
  • 01:20:15 <BenjaminR> true ^^
  • 01:20:17 <BenjaminR> will be fun :D
  • 01:20:23 <danilobuerger> on your mac it just works because file system is case insensitive
  • 01:20:33 <BenjaminR> i see^^
  • 01:20:44 <danilobuerger> (which is not a good thing btw)
  • 01:20:45 <BenjaminR> can you make your mac case sensitve
  • 01:20:51 <danilobuerger> yes, by reformatting :D
  • 01:20:56 <BenjaminR> ah nice :D
  • 01:20:57 <danilobuerger> (which would be a good idea)
  • 01:21:08 <BenjaminR> yap seems so
  • 01:21:14 <BenjaminR> but not tonight :)
  • 01:21:18 <danilobuerger> alright i have to go
  • 01:21:20 <BenjaminR> thanks for pointing out
  • 01:21:21 <danilobuerger> cu BenjaminR
  • 01:21:24 <BenjaminR> bye danilo
  • 02:04:39 <BenjaminR> Good night NamelessCoder
  • 06:26:19 <randomresult> morning
  • 08:32:57 <randomresult> morning
  • 08:39:19 <randomresult> anyone experince that the extensionmanager stays empty with the latest DEV-Branches
  • 08:39:24 <randomresult> Typo3 6.2
  • 08:39:56 <Tjark> hi randomresult , no
  • 08:40:15 <Tjark> works fine on 6.2.1 dev
  • 08:40:57 <mrboe> goooood monring
  • 09:10:36 <randomresult> very quiet in here
  • 09:25:48 <randomresult> hrmpf struggeling with schememaker
  • 09:31:41 <randomresult> seems that schememaker works for vhs (1.8.4) but not for flux 7.1.0 --> namespaces?
  • 09:51:28 <soee> do you guys use flux over standard flexforms to configure plugins ?
  • 09:56:37 <randomresult> soee not me
  • 09:58:56 <soee> randomresult, and do you know if in standard forms we can use section to repeat some part ?
  • 09:59:48 <randomresult> in standard configuration forms or what do u mean?
  • 10:01:05 <soee> randomresult, in plfugin configuration flexform
  • 10:04:24 <randomresult> dont know what you mean
  • 10:34:49 <soee> any idea why this does not work (is null): {v:iterator.explode(content : '{settings.foo}', glue : ',', as : 'pages')->v:var.set(name : 'pages')} ?
  • 10:35:09 <soee> settings.foo = 1,2
  • 10:35:35 <soee> ah wait
  • 10:36:21 <soee> got it: {v:iterator.explode(content : '{settings.foo}', glue : ',')->v:var.set(name : 'pages')}
  • 10:44:41 <danilobuerger> {settings.foo -> v:iterator.explode(glue: ',') -> v:var.set(name : 'pages')}
  • 10:49:16 <soee> v:page.link can it use as tooltip text page title ?
  • 11:02:49 <danilobuerger> soee you mean as a title?
  • 11:03:15 <soee> danilobuerger, yes link title attribute
  • 11:07:14 <danilobuerger> v:page.link has a title attribute which you can set
  • 11:20:43 <MindSpark> hamaya20
  • 11:45:05 <randomresult> i have a typo3 page where i render a menu on a seperate pagetype - when opening www.md.de?typeNum=5432 i only see this menu. any VH which is able to pull this one into another T3 installation?
  • 11:46:51 <randomresult> or how it can be done with T3 - any ideas?
  • 11:48:58 <rahulthewall> Hi guys
  • 11:49:12 <rahulthewall> what’s the view helper for rendering a page title
  • 11:50:07 <cedricziel> of the current site?
  • 11:51:07 <cedricziel> in ft3, you usually have a {page} variable containing the fields of the current page record
  • 11:51:26 <cedricziel> so it would be {page.title} for the current page
  • 11:51:42 <randomresult> cedricziel have u read my question?
  • 11:51:45 <rahulthewall> ahh great
  • 11:52:19 <rahulthewall> so <v:page.title></v:page.title> so should work I guess
  • 11:52:29 <cedricziel> ?
  • 11:52:30 <cedricziel> no
  • 11:52:35 <cedricziel> {page.title}
  • 11:53:00 <rahulthewall> that’s different from a viewhelper?
  • 11:53:05 <rahulthewall> (again noob question)
  • 11:53:19 <cedricziel> viewhelpers are functions, variables are.. variables
  • 11:53:30 <randomresult> i need to pull a menu from another typo3
  • 11:53:31 <rahulthewall> and I can use variables in layouts, right?
  • 11:53:36 <randomresult> so i render a diffrent pagetype
  • 11:53:43 <randomresult> with only the menu in it
  • 11:53:47 <cedricziel> variables are accessed via the bracket notation
  • 11:53:55 <randomresult> now i want to display this into a partial
  • 11:54:22 <cedricziel> rahulthewall: you could, yes
  • 11:54:37 <rahulthewall> thanks cedricziel, just trying it
  • 11:55:07 <cedricziel> great, if it doesnt work out, try it with <v:page.info field="title" /> iirc
  • 11:55:23 <cedricziel> randomresult: write your own viewhelper which does the trick
  • 11:55:53 <randomresult> cedricziel wrong answer
  • 11:55:55 <cedricziel> i'm not 100% sure if you would be able to do it in a sophisticated and simple way
  • 11:56:06 <randomresult> no points this time
  • 11:56:09 <randomresult> -1
  • 11:56:11 <randomresult> :)
  • 11:56:14 <cedricziel> ;)
  • 11:56:22 <cedricziel> i'm out. work to do :p
  • 11:56:27 <randomresult> my partner will
  • 11:56:32 <randomresult> no php on my side
  • 11:57:27 <rahulthewall> cheers cedricziel, this worked: <v:page.info field="title" />
  • 13:25:26 <greendoor8> did everyone tried the link http://fluidtypo3.org/download/providerextension/?
  • 13:25:44 <greendoor8> it is a broken link from documentation
  • 13:29:12 <NamelessCoder> hi greendoor8 - yes, unfortunately that is currently broken
  • 13:29:19 <NamelessCoder> to be restored as soon as time allows
  • 13:29:38 <greendoor8> great, thanks for your work
  • 13:29:43 <NamelessCoder> until then, you can install EXT:builder (from github) and generate provider extensions from the backend module
  • 13:29:59 <greendoor8> that's a good idea
  • 13:35:40 <greendoor8> bye
  • 13:43:27 <pedda> hi there ^^
  • 13:44:26 <cedricziel> back from holidays pedda?
  • 13:44:39 <pedda> yeah
  • 13:44:41 <cedricziel> or do you do beach-surfing?
  • 13:44:53 <cedricziel> ah, i hope it was relaxing :)
  • 13:45:30 <pedda> i spent 5 days in vienna.. but it took me 3 days of it to come back to normal life after some stressfull months
  • 13:45:41 <pedda> it was ..
  • 13:45:59 <pedda> you should visit vienna too.. lots of delicious food.. didn't knew they're so much into it
  • 13:47:45 <randomresult> @NamelessCoder i try to extend (overlay) fluidbootstraptheme with a customizer extension. now i thought, i could simply copy 2 (of 3) pagetemplates into my provider extension and set configurationsection to enable="False"
  • 13:47:57 <randomresult> but they still appear
  • 13:48:17 <randomresult> should work or not?
  • 13:49:04 <pedda> does any of you attend to the t3con?
  • 13:49:14 <cedricziel> i dont
  • 13:49:18 <pedda> i've got a ticket already ^^
  • 13:50:06 <NamelessCoder> randomresult I think the expected result would be that those templates become unavailable (=removed)
  • 13:50:18 <cedricziel> cons cost real money opposed to the camps and TYPO3 became a not-so-important-part of my work life the last 6 months or so
  • 13:50:21 <randomresult> this is what i want
  • 13:50:25 <NamelessCoder> ah no wait
  • 13:50:47 <NamelessCoder> overlaying is supported in FE currently, the other approaches directly set the template filename
  • 13:50:48 <randomresult> saw it in the errorpage
  • 13:51:03 <randomresult> ah ok.
  • 13:51:25 <randomresult> so overlaying a page only for FE possible...
  • 13:51:34 <NamelessCoder> as it is now: yes
  • 13:51:44 <randomresult> so no changes in configuration will have an effect.
  • 13:51:45 <randomresult> ok.
  • 13:51:45 <NamelessCoder> open a github request and we'll look into it
  • 13:51:52 <NamelessCoder> fcc would depend on this also working in BE
  • 13:52:00 <randomresult> cool.
  • 13:52:07 <randomresult> flux or fluidpages?
  • 13:52:11 <randomresult> view?
  • 13:52:27 <NamelessCoder> flux
  • 13:58:31 <randomresult> ok. done.
  • 13:58:47 <randomresult> hopefully you can understand what i wrote
  • 13:58:48 <randomresult> :)
  • 14:11:36 <NamelessCoder> carrrrrrrrrnifexing
  • 14:15:34 <hans> hi there
  • 14:17:54 <hans> one question:
  • 14:18:06 <hans> i got <f:image src="/uploads/tx_cicheck/{resultSheet.answer.image}" alt="" /> in my tpl
  • 14:18:47 <hans> now i want the full url with the domain at the beginning, like : http://domain.de/uploads/tx_cicheck/{resultSheet.answer.image}
  • 14:18:56 <hans> but then nothing is rendert !
  • 14:19:08 <hans> where did i make a mistake?
  • 14:22:33 <NamelessCoder> hi hans
  • 14:22:44 <NamelessCoder> simple answer is, this ViewHelper doesn't work that way
  • 14:22:53 <hans> NamelessCoder: hi :)
  • 14:23:17 <hans> ok, alternative?
  • 14:23:27 <NamelessCoder> that being said, {v:site.url()}/{f:uri.image(src: '...')} should do
  • 14:24:42 <NamelessCoder> config.absRefPrefix will prefix <img> tags upon output (long time after Fluid finishes outputting) and can prefix such a domain to images and other assets - but if you need the URL for anything you'll need those ViewHelpers.
  • 14:27:00 <hans> hm ok, will try it!
  • 14:27:01 <hans> thx
  • 14:29:33 <NamelessCoder> yw
  • 14:43:30 <BenjaminR> What to use for simple forms (very flexible in styling but no backend handling needed)
  • 14:44:24 <BenjaminR> Ah wayne - going to use powermail another time ^^
  • 14:49:32 * randomresult loves powermail...
  • 14:49:44 <BenjaminR> i am afraid of it - too powerful ^^
  • 14:49:46 <randomresult> lemme think.... no! but there is no other ext
  • 14:50:06 <randomresult> try formhandler if you want 1000kb of TS
  • 14:50:13 <BenjaminR> :/
  • 14:51:03 <NamelessCoder> hehe
  • 14:58:55 <mrboe> @NamelessCoder goes serious??? where is the viking
  • 14:59:49 <mrboe> http://fluidtypo3.org/community.html
  • 15:00:51 <BenjaminR> wtf!
  • 15:01:00 <BenjaminR> what a sexy team :)
  • 15:01:19 <BenjaminR> especially the second from right
  • 15:01:40 <BenjaminR> Danilobuerger is our sales man :D
  • 15:02:05 <danilobuerger> sales man cant afford that suit ^^
  • 15:02:07 <danilobuerger> MUHAHA
  • 15:02:17 <danilobuerger> only coders can
  • 15:02:20 <BenjaminR> hehe
  • 15:02:23 <BenjaminR> good one
  • 15:02:23 <randomresult> this is one of the best pictures if ever seen
  • 15:02:34 <mrboe> specialized in selling "freeware"
  • 15:12:21 <ad_on_is> hi, is it possible to read typoscript-settings in fluidcontent, but in the backend?
  • 15:13:44 <ad_on_is> if i do a f:debug within, i only get the entries for the fields that i defined in the <f:flux:form> and the record entry
  • 15:14:20 <mrboe> @ad_on_is what you wanna do?
  • 15:14:37 <mrboe> you can use v:var
  • 15:14:48 <mrboe> i give you an example
  • 15:14:53 <mrboe> one moment
  • 15:15:31 <mrboe> https://gist.github.com/misterboe/9756781
  • 15:16:03 <danilobuerger> eeeeeek @ user agent sniffing
  • 15:16:57 <danilobuerger> but yes ad_on_is v:var.typoscript
  • 15:17:18 <danilobuerger> documentation -> http://fluidtypo3.org/viewhelpers/vhs/master/Var/TyposcriptViewHelper.html
  • 15:19:05 <xaver> BenjaminR: we wrote already the last time - the suite isn't made for drinking coffee and develop the same time -> no coffee, no coder
  • 15:29:52 <cedricziel> i bet danilo can wear a suit and develop at the same time
  • 15:29:59 <danilobuerger> sure can
  • 15:30:07 <cedricziel> drinking coffee should be done autimatically
  • 15:30:18 <xaver> cedricziel: Gasthof zur Sonne or?
  • 15:30:22 <cedricziel> like an engine sucks gas
  • 15:30:26 <cedricziel> yessir
  • 15:30:56 <danilobuerger> camp will be fun.. i will ask stupid questions in cedrics session ^^
  • 15:31:17 <cedricziel> hrhr, i'm not afraid to reject stupid q's in public :P
  • 15:31:35 <danilobuerger> :-(
  • 15:31:41 <xaver> danilobuerger: you can do better - tell him why he is wrong
  • 15:31:59 <danilobuerger> xaver thats the problem cedricziel is far more experienced than i am
  • 15:32:03 <cedricziel> aye, that's why i'll have two babysitters instead of one :)
  • 15:32:11 <cedricziel> eh what?
  • 15:32:12 <cedricziel> nono
  • 15:32:17 <danilobuerger> he knows stuff i havent even hear of
  • 15:32:44 <cedricziel> i dont beleive that's true-at least not ft3-wise
  • 15:33:16 <danilobuerger> but yes, together with bjo3rn i will babysit you :D
  • 15:33:42 <cedricziel> ;)
  • 15:33:54 <cedricziel> i have lots of topics this time
  • 15:34:06 <danilobuerger> how many oyu got?
  • 15:34:22 <cedricziel> i could do frontend tooling or TYPO3<->Angular bridge as well
  • 15:34:35 <cedricziel> that would be at least 5 now
  • 15:34:52 <xaver> i think i don't want todo a session :)
  • 15:35:02 <cedricziel> but never ever would i do more than 2
  • 15:35:06 <danilobuerger> xaver just drinking?
  • 15:35:14 <cedricziel> why? your performance session was fun last time
  • 15:36:35 <danilobuerger> oh i want to listen to a performance session!!
  • 15:37:22 <cedricziel> the solution to more performance is more coffee
  • 15:37:23 <xaver> only thing i have "done" a little bit is vagrant - and maybe a workshop
  • 15:38:55 <danilobuerger> xaver what was your performance session about?
  • 15:41:08 <ad_on_is> yeaaaaah... thank you guys... @mrboe, @danilobuerger ... v:var is doing exactly what i want
  • 15:43:07 <xaver> danilobuerger: everyhting and nothing
  • 15:43:39 <xaver> i think i have the slides somewhere in git and online
  • 15:44:04 <cedricziel> we had a nice best-practice and experience based everybody-tell-your-secrets hour i think
  • 15:44:31 <xaver> yeah. i did that session on nearly every camp
  • 15:44:53 <xaver> one camp was a lot about search, next camp ISPConfig or Database
  • 15:45:40 <xaver> everybody told a little bit and ask about opinions risks and stuff.
  • 15:50:48 <alexander_dick> Hi folks. Is there a ViewHelper to output arbitrary database records?
  • 15:51:02 <NamelessCoder> hi alexander_dick - no, with very good reason ;)
  • 15:51:17 <cedricziel> in fed there was the sql viewhelper, but that's dragon land
  • 15:51:18 <NamelessCoder> it would be a gigantic hole
  • 15:51:21 <alexander_dick> <v:resource.record can only output one record with a specific uid
  • 15:51:47 <NamelessCoder> resource.record is a *resource* VH which means it loads FAL records ;)
  • 15:51:56 <alexander_dick> i mean something like <v:resource.records table="tx_foo" pid="123">
  • 15:51:58 * xaver vs tomcat -_-
  • 15:52:17 <alexander_dick> ah OK
  • 15:52:19 <NamelessCoder> yep alexander_dick - imagine the potential sources of the parameters that would go into such a VH
  • 15:52:41 <cedricziel> i suggest you use one of the available controllers to get that data the right way
  • 15:52:49 <NamelessCoder> exactly - use a controller
  • 15:53:23 <alexander_dick> alright thx for the hint! I will create a PageController then as I need it in the page template :)
  • 15:53:45 <cedricziel> perfect, thats one of the exact use-cases :)
  • 15:54:40 <alexander_dick> it is not my first custom page controller but for some reason it didn't came to my mind in this case :)
  • 15:55:06 <cedricziel> hapy to help your brain out-perhaps more coffee will do? ;)
  • 15:55:08 <cedricziel> *happy
  • 15:57:28 <alexander_dick> had already too much today
  • 15:57:28 <alexander_dick> :D
  • 15:57:46 <alexander_dick> always great to get help here, especially so quickly
  • 15:58:17 <xaver> try a 1337mate :)
  • 17:22:00 <ad_on_is> is it possible to render a fluidpage output as ajax?
  • 17:22:31 <ad_on_is> i mean with a custom pagetype or something like that
  • 17:30:52 <cedricziel> as ajax?
  • 17:31:51 <cedricziel> you would have to restructure your template a bit, wire a new typenum and modify it to output no headercontent at all
  • 17:32:04 <cedricziel> your simple solution might be $.load
  • 17:32:35 <cedricziel> it accepts a css selector based on which you can ajaxify almost anything
  • 17:34:03 <ad_on_is> isn't that to heavy... since the whole page is reqested?
  • 17:34:16 <BenjaminR> Prev / Next News Pagination for Detail View: https://gist.github.com/benjaminrau/10394546
  • 17:51:08 <NamelessCoder> BenjaminR v:iterator.first / v:iterator.next / v:iterator.previous + v:iterator.last ;)
  • 17:51:24 <BenjaminR> tz :P
  • 17:51:40 <BenjaminR> i dont have the news avaible in template
  • 17:52:14 <BenjaminR> and i will make it respect the typoscript settings later
  • 17:54:47 <BenjaminR> sorting of list view
  • 20:08:30 <soee> what would be the best way to get curren pag euid in fluid template ?
  • 20:09:48 <soee> hmm v:page.info ?
  • 20:10:12 <BenjaminR> soee: in FluidTYPO3 elements the page variable is already present
  • 20:10:15 <BenjaminR> {page.uid}
  • 20:11:21 <soee> BenjaminR: define "FluidTYPO3 elements" ?
  • 20:11:28 <soee> i need it in controller view
  • 20:11:35 <soee> *controller action
  • 20:11:51 <BenjaminR> what is a controller view?
  • 20:12:25 <BenjaminR> template of a third party extension?
  • 20:12:52 <soee> BenjaminR: yes controller action from my own extension
  • 20:12:55 <BenjaminR> then go for v:page.info - yes
  • 20:15:59 <soee> ok, thank you
  • 20:17:12 <BenjaminR> yw
  • 21:08:32 <randomresult> @NamelessCoder u there?
  • 23:12:44 <soee> NamelessCoder: would it be possible to render some info like "No configuration available for page" instead of empty tab ?