IRC logs

20141217

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

IRC log range: 20141217*

20141217

  • 09:08:32 <jmverges> good morning mates
  • 09:09:32 <jmverges> how are you today?
  • 11:04:15 <drlimbo> its me again with f:format.date viewhelper
  • 11:04:36 <drlimbo> the viewhelper show's the wrong time (+1 hour)
  • 11:04:43 <drlimbo> i forget where to set the correct time
  • 11:06:26 <drlimbo> i set [SYS][phpTimeZone] and [SYS][serverTimeZone]
  • 11:17:23 <drlimbo> [BUGFIX] Date ViewHelper not using configured Timezones
  • 11:17:28 <drlimbo> is this still active?
  • 11:19:39 <drlimbo> i think this is a really ugly solution -> {baby.timeOfBirth -> v:math.subtract(b: 3600) -> f:format.date(format: 'H:i')}
  • 12:14:56 <drlimbo> someone?
  • 12:18:30 <drlimbo> is there a way to parse from DateTime to String? "Cannot cast object of type "DateTime" to string."
  • 12:54:03 <steffen> Hello. I have 3 templates. Is it possible to place the stylesheet and javascript references in one single file or in typoscript somehow to avoid duplicate content? Thank you.
  • 12:58:37 <braguzz> hi {v:content.render(pageUid: 1)} works
  • 12:58:46 <braguzz> {v:content.render(pageUid: 139)} doesnt work
  • 12:58:54 <braguzz> why? arghh
  • 13:07:07 <braguzz> I have a fluid template for homepage (id=1) and one for internal
  • 13:09:59 <braguzz> {v:content.render(pageUid: 139)} works in internal pages (also if I setup the internal pages with home template)
  • 13:10:43 <braguzz> in homepage with homepage template it doesnt work
  • 13:31:16 <ilCerchiari> Hi guys
  • 13:34:02 <ilCerchiari> I'm encountering this exception: Template could not be loaded. I tried "/[...]/typo3conf/ext/fluidpages/Resources/Private/Templates/Page/Default.html" on a migrated TYPO3 (from 4.5 to 6.2) with all the latest fluidtypo3 extension. The odd thing is that I get that exception only if I try to load a page directly from frontend. If I'm logged into be t
  • 13:34:02 <ilCerchiari> he page renders correctly and then also if I load it without be session. Any clue how to solve this?
  • 14:34:37 <ilCerchiari> Doing some trials I think i found the problem, it seems to be some incompatibility, at some level, with extensions workspaces and version... disabling them makes the problem vanish. Just to let you all know.
  • 15:26:10 <drlimbo> hi there
  • 15:26:29 <drlimbo> v:uri.image ignores my "relative=1" and always shows me the absolute url to the image
  • 15:27:06 <drlimbo> "URIs in backend mode are always absolute." what does this mean?
  • 15:27:20 <drlimbo> Akii the king of viewhelper - maybe u have an idea? =P
  • 15:30:24 <drlimbo> ah, or NamelessCoder - because you modified the viewhelper?
  • 21:21:40 <jmverges> hi there mates
  • 21:22:04 <jmverges> I really need help today with performance. Could anyone help me a bit?
  • 21:39:51 <NamelessCoder> what is the problem jmverges?
  • 21:45:06 <jmverges> my site is too slow
  • 21:45:44 <jmverges> reeeeally slow
  • 21:46:04 <jmverges> I just installed nc_staticfilecache
  • 21:46:18 <jmverges> but I'm not seeing it faster
  • 21:46:33 <NamelessCoder> did you read https://fluidtypo3.org/documentation/templating-manual/introduction/fluid-best-practice.html#fluid-performance-concerns?
  • 21:46:45 <NamelessCoder> did you set Production context?
  • 21:46:57 <jmverges> production context is set
  • 21:48:19 <jmverges> how could I know if nc_staticfilecache is working well?
  • 21:48:55 <jmverges> I mean, probably I could increase the performance with best practices and I will, however I need some solution that increases a bit the performance
  • 21:49:04 <NamelessCoder> don't know, but fixing bad performance starts -before- you implement additional hard caches
  • 21:49:33 <NamelessCoder> don't be logged in to the BE while testing this, for example
  • 21:49:52 <jmverges> I'm testing in one browser where I'm not logged
  • 21:50:00 <jmverges> and in the otherone I'm logged
  • 21:50:16 <NamelessCoder> limit the amount of typoscript you use. confirm that your templates are compilable and if they aren't, separate the uncompilable viewhelper usages into partials
  • 21:50:41 <NamelessCoder> seriously, this is a HUUUUGE subject to open up and books have been written about it
  • 21:50:52 <jmverges> I know
  • 21:51:28 <NamelessCoder> there is no silver bullet - you have to be aware of your site's structure and composition in order to determine the bottlenecks
  • 21:54:17 <jmverges> I just installed yesterday cookie extension
  • 21:55:19 <NamelessCoder> we're moving quite far from a fluidtypo3 context ;)
  • 21:55:40 <jmverges> I know, sorry, I'm just worried
  • 21:56:20 <jmverges> NamelessCoder, do you work with Varnish or nc_staticfilecache?
  • 21:56:24 <NamelessCoder> first you have to determine which part of your site is causing bad performance. Setup, templates, records, etc.
  • 21:56:28 <NamelessCoder> Varnish
  • 21:56:47 <jmverges> did you found some problem with it?
  • 21:57:07 <NamelessCoder> uhm, no, not if you set it up correctly...
  • 21:57:31 <jmverges> what is it? the ... sounds like they are some tricks
  • 21:57:37 <jmverges> there are*
  • 21:57:47 <NamelessCoder> of course there are
  • 21:58:24 <NamelessCoder> there are a few articles about Varnish+TYPO3 written by TYPO3 agencies, I recommend studying those
  • 21:58:54 <NamelessCoder> but in general: you should learn Varnish before you just jump in and expect it to solve everything. And still: you should fix the bottlenecks rather than hiding them.
  • 22:00:27 <jmverges> I discovered just now that I had installed cookies extension and it uses USERINT and then pages where not cached with nc_staticfilecache
  • 22:00:33 <jmverges> now, the site flies xd
  • 22:01:03 <NamelessCoder> what I said about locating and fixing the bottleneck still applies
  • 22:01:56 <jmverges> I'm sure, however my situation is that I'm doing a lot of things by my own and I'm working quickly... no unit test, duplications some times...
  • 22:02:17 <NamelessCoder> I know this isn't what you want to hear but in this case you are most definitely doing it wrong
  • 22:02:25 <NamelessCoder> you should never, ever be too busy to do it right
  • 22:02:31 <NamelessCoder> who's stressing you?
  • 22:02:32 <jmverges> I hope to be able refactor all of this on holidays
  • 22:02:55 <jmverges> new company
  • 22:02:58 <jmverges> new position
  • 22:03:12 <jmverges> backend developers debugging with echoes
  • 22:03:24 <jmverges> bosses that doesn't know about TYPO3
  • 22:03:29 <jmverges> nor Agile
  • 22:03:32 <jmverges> nor TDD
  • 22:03:38 <jmverges> ...ç
  • 22:03:44 <jmverges> a lot of work to do
  • 22:04:23 <NamelessCoder> but if you do everything half-right, none of it will give the right impression. Are you trying to do too much at one time?
  • 22:04:58 <jmverges> is not half-right is a bit more better than it, but yes
  • 22:06:02 <jmverges> however Claus, step by step
  • 22:06:05 <jmverges> first of all
  • 22:06:12 <jmverges> I need to introduce TYPO3 in the company
  • 22:06:24 <jmverges> no one is giving a shit for TYPO3