IRC logs

20140529

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

IRC log range: 20140529*

20140529

  • 10:12:10 <Denyerec> How do you guys handle the keyword and description meta tags?
  • 10:46:14 <Denyerec> Wake up guys, I'm stuck! :D
  • 10:46:48 <benjamin_654> hi
  • 10:46:58 <benjamin_654> i use tq_seo extension
  • 10:47:18 <Denyerec> tq_seo .. . Not familiar with that one
  • 10:47:24 <Denyerec> I'm trying to customise seo_basics just a little bit.
  • 10:47:36 <Denyerec> [08:06] <Denyerec> http://forge.typo3.org/projects/extension-seo_basics/repository/revisions/master/entry/static/setup.txt
  • 10:47:36 <Denyerec> [08:06] <Denyerec> And I'm trying to make it do one of two things
  • 10:47:36 <Denyerec> [08:06] <Denyerec> Either: 1) use some Constant values for Keyword and Description if the seo fields are blank
  • 10:47:36 <Denyerec> [08:06] <Denyerec> OR
  • 10:47:36 <Denyerec> [08:06] <Denyerec> 2) Slide to use the parent values
  • 10:47:40 <Denyerec> Stuck with the TS tho :(
  • 10:48:03 <Denyerec> Does tq_seo provide an interface for the client to customise title, keywords and desc. per-page ?
  • 10:48:49 <benjamin_654> yes, its very poverful
  • 10:50:27 <jlumpe> Denyerec: you can do that with normal pages?!
  • 10:50:52 <jlumpe> ah never mind
  • 10:50:53 <jlumpe> ;)
  • 10:52:32 <Denyerec> jlumpe - seo_basics has a convenient interface for doing it en-masse
  • 10:54:01 <Denyerec> Mmm.
  • 10:54:15 <Denyerec> tq_seo looks very handy, but it lacks an interface for editing all page meta in the same view.
  • 10:54:34 <Denyerec> I wonder... perhaps I use tq_ for injecting the content and seo_basics for their interface
  • 10:54:53 <soee> any mysql expert here ? :)
  • 10:55:44 <Denyerec> I wouldn't say "expert"
  • 11:01:12 <bjo3rn> +1 from me for tq_seo
  • 11:02:53 <bjo3rn> Denyerec there is an interface for editing all meta data the same view
  • 11:03:01 <bjo3rn> SEO module on root page
  • 11:03:18 <SuburbanWorrier> I've uploaded an extension made @ home to my work dev machine & now I get an error
  • 11:03:40 <SuburbanWorrier> PHP Warning: Illegal offset type in isset or empty in blah..ypo3/sysext/extbase/Classes/Persistence/Generic/Session.php line 157
  • 11:03:42 <Denyerec> Ohhh
  • 11:03:43 <Denyerec> Ok
  • 11:03:47 <Denyerec> The screenshots weren't too clear on that one
  • 11:03:52 <Denyerec> Looked like a "view" not an "Edit"
  • 11:03:56 <Denyerec> let me check it on my dev site.
  • 11:04:00 <bjo3rn> yep, it's a little hidden
  • 11:04:06 <SuburbanWorrier> big Q - shold my extbase version be the same as my typo3 version?
  • 11:04:12 <Denyerec> BTW - anyone know what the typical cause of error id: "bad_httpd_conf" is on a typo site ?
  • 11:05:35 <bjo3rn> SuburbanWorrier there might be some minimum requirements, yes
  • 11:06:12 <bjo3rn> Denyerec that's dreamhost?
  • 11:06:18 <Denyerec> Yeah.
  • 11:06:19 <SuburbanWorrier> but extbase ships with the core doesn't it?
  • 11:06:22 <Denyerec> I'm on with their support right now
  • 11:06:30 <Denyerec> It's only some of the older 4.x sites that have choked
  • 11:06:39 <bjo3rn> ok, bc that's a proprietary error Denyerec
  • 11:06:46 <bjo3rn> SuburbanWorrier yes, it does
  • 11:06:52 <Denyerec> Yeah so I've sdiscovered from searching
  • 11:06:57 <bjo3rn> so did I ^^
  • 11:06:57 <Denyerec> Ill see if their support can shine any light
  • 11:07:18 <SuburbanWorrier> thanks bjo3rn
  • 11:08:12 <bjo3rn> yw :)
  • 11:11:34 <SuburbanWorrier> so is it normal for me to see extbase 6.2.0 in typo3 6.2.1?
  • 11:12:43 <bjo3rn> yes
  • 11:13:07 <bjo3rn> the version numbers don't correlate
  • 11:13:23 <SuburbanWorrier> ok ta - not the reason for my error then
  • 11:14:10 <SuburbanWorrier> might a php version difference between my mac and work machine generate such an error?
  • 11:21:07 <bjo3rn> hm, don't think so. that particular line is return isset($this->identifierMap[strtolower($className)][$identifier]);
  • 11:21:13 <bjo3rn> spaghetti!
  • 11:21:48 <bjo3rn> the $identifier is not a string as it seems
  • 11:22:01 <bjo3rn> are you accessing the session in your ext?
  • 11:22:13 <SuburbanWorrier> er! ??
  • 11:22:20 <bjo3rn> ok, you don't ^^
  • 11:22:43 <SuburbanWorrier> it my first _ever_ extension
  • 11:22:55 <bjo3rn> it is only a warning btw
  • 11:23:05 <SuburbanWorrier> I'm following the Flow docs and cross referencing blog_example
  • 11:23:25 <SuburbanWorrier> no - it's preventing further page output
  • 11:23:25 <bjo3rn> chances are it was there before as well but you didn't see it due to different error reporting settings
  • 11:31:00 * bjo3rn is off to have some father's day
  • 12:00:51 <Denyerec> benjamin_654 - I have got tq_seo installed.
  • 12:01:01 <Denyerec> It's interface is a bit wooly compared to SEO_Basics
  • 12:01:13 <Denyerec> but if you can get it sliding / using defaults - I'm happy.
  • 12:01:34 <Denyerec> Right now it doesn't render keywords/desc. if they're not populated.
  • 12:01:40 <Denyerec> I really need them to slide / use a default.
  • 12:17:43 <benjamin_654> Denyerec: i think you can set defaults in template->constant-editor->plugin-tq-seo-meta
  • 13:16:34 <cedricziel> hoi
  • 13:21:43 <SuburbanWorrier> Hmm. My exception "Illegal offset type in isset or empty in /typo3_src-6.2.2/typo3/sysext/extbase/Classes/Persistence/Generic/Session.php line 157" relates to a findByUid() line in my controller
  • 13:22:13 <SuburbanWorrier> I shouldn't need to define findByUid manually should I?
  • 13:22:38 <cedricziel> findById
  • 13:23:00 <SuburbanWorrier> ah!
  • 13:23:06 <cedricziel> ahh, wait no
  • 13:23:15 <cedricziel> i think i'm mixin contexts here :)
  • 13:23:49 <cedricziel> ehm...
  • 13:23:52 <SuburbanWorrier> yes, but good to see a _different_ error here ;)
  • 13:23:56 <SuburbanWorrier> Unknown column 'tx_vehicles_domain_model_type.id' in 'where clause'
  • 13:24:04 <cedricziel> i think you're doing it wrong :)
  • 13:24:12 <cedricziel> what are you trying to do?
  • 13:24:14 <SuburbanWorrier> lol - highly likely
  • 13:24:21 <SuburbanWorrier> but it all works beautifully on my mac
  • 13:24:22 <cedricziel> yo've got the wrong inheritance chain maybe
  • 13:25:03 <SuburbanWorrier> I'm trying to list all the brand names of a vehicle type
  • 13:25:20 <cedricziel> can you gist the action?
  • 13:25:29 <SuburbanWorrier> sure - 2 ticks
  • 13:25:44 <cedricziel> 1
  • 13:25:46 <cedricziel> 2
  • 13:25:53 <SuburbanWorrier> :P
  • 13:27:19 <SuburbanWorrier> https://gist.github.com/suburbanworrier/89174fda98765489bc52
  • 13:27:31 <SuburbanWorrier> (my 1st Gist!)
  • 13:27:45 <cedricziel> yay!
  • 13:29:23 <cedricziel> can show off the repos as well?
  • 13:29:29 <cedricziel> especially their signature
  • 13:29:47 <SuburbanWorrier> sure - but "signature"?
  • 13:29:55 <cedricziel> ja.. i know
  • 13:30:06 <cedricziel> i mean the decaration incl. inheritance
  • 13:33:28 <cedricziel> hmm.
  • 13:33:43 <SuburbanWorrier> updated gist. ModelRepository is the only one I've extended from extension builder basics
  • 13:33:45 <cedricziel> you mentioned "it works on my mac"
  • 13:33:49 <SuburbanWorrier> yup
  • 13:34:03 <cedricziel> this means you only get the error in a different environment?
  • 13:34:23 <SuburbanWorrier> yes, but I don't have my mac with me right now to _prove_ to myself
  • 13:35:17 <SuburbanWorrier> tested, uninstalled ext, reinstalled, happy, pushed to bitbucket, pulled to diff enviro and here we are
  • 13:36:00 <cedricziel> damn
  • 13:37:08 <SuburbanWorrier> in previous iterations I've defined my own findByUid - the point of where I am now is that I realised I shouldn't need to.
  • 13:37:27 <SuburbanWorrier> ..or do i?!
  • 13:39:06 <SuburbanWorrier> biggest environmental difference is php version 5.3 on my mac and 5.4 in my debian VM - likely culprit?
  • 13:39:31 <cedricziel> hmm, good hint
  • 13:39:46 <cedricziel> the place where the error happens
  • 13:39:53 <cedricziel> this is damn unusual
  • 13:40:00 <cedricziel> i have to now
  • 13:40:15 <cedricziel> but i think you have some permission error somehow
  • 13:40:23 <cedricziel> *i have to go now
  • 13:41:38 <SuburbanWorrier> k thanxs - I'll check permissions
  • 15:12:34 <SuburbanWorrier> For the log - the error I get on my dev server doesn't appear on my production site
  • 15:13:19 <SuburbanWorrier> ..which has PHP 5.3 (like my mac)
  • 15:25:31 <SuburbanWorrier> Having built an extension with the extension builder do I prettify the BE using the generated TCA files or can I do it in a Fluid template?
  • 15:41:33 <Denyerec> benjamin_654 - I sorted the defaults
  • 15:41:40 <Denyerec> Now I'm just investigating if I can make it slide.
  • 16:33:29 <Denyerec> benjamin_654 - are you about ?
  • 17:32:08 <Denyerec> nm benjamin_654 - I got it :)
  • 17:55:48 <benjamin_654> Denyerec: how did you do it? i did not know it was possible?
  • 18:08:16 <Denyerec> plugin.tq_seo.pageTitle.stdWrap.before.field =
  • 18:08:35 <Denyerec> Tho I'm not sliding it, I'm just using the abstract field instead of the title field
  • 18:08:49 <Denyerec> because I think tq_seo's approach of using the page title as the SEO title is stupid.
  • 18:09:02 * Denyerec is going to submit a ticket to that effect
  • 18:11:39 <bjo3rn> Denyerec you do know the 'SEO' tab in page properties?
  • 18:12:14 <bjo3rn> you can fiddle with inheritance there as well.
  • 18:12:42 <Denyerec> I only see "normal" and "skip"
  • 18:12:48 <Denyerec> Normal does no sliding
  • 18:12:54 <Denyerec> And skip is supposed to stop sliding
  • 18:12:57 <Denyerec> SO I don't see how that helps ;)
  • 18:14:16 <bjo3rn> I'm not sure what you are trying to achieve but for starters you can set a different seo title than page title
  • 18:14:32 <Denyerec> I can't see how
  • 18:14:39 <bjo3rn> (I'm not affiliated with tq_seo makers btw ;) )
  • 18:14:50 <Denyerec> I don't care so long as you have the answers :D
  • 18:14:58 <Denyerec> I was on the "metadata" part of the SEO tool
  • 18:15:05 <bjo3rn> https://www.dropbox.com/s/s0eb7niqgc1shty/Screenshot%202014-05-29%2018.14.56.png
  • 18:15:06 <Denyerec> And when I changed a title there, it renamed my damn page.
  • 18:15:21 <Denyerec> Not interested in the SEO tab
  • 18:15:24 <Denyerec> it's going to confuse my editors.
  • 18:15:29 <Denyerec> I'm looking at the SEO tool
  • 18:15:32 <Denyerec> where they can do all pages at once
  • 18:16:12 <bjo3rn> well, IMHO (very much IMHO) you sort of override a page title for seo
  • 18:16:27 <Denyerec> Yeah
  • 18:16:30 <Denyerec> But I don't want to rename the page.
  • 18:16:34 <Denyerec> Plus for example
  • 18:16:38 <bjo3rn> using the tab you don't
  • 18:16:42 <Denyerec> on the homepage the page title is "Welcome to Alba Chiro"
  • 18:16:46 <bjo3rn> sec, I'll check something
  • 18:16:52 <Denyerec> But the <title> needs to be very different
  • 18:16:56 <Denyerec> (For SEO purposes)
  • 18:17:09 <Denyerec> When I used the SEO module to alter the metadata in the control panel, it just renamed the page.
  • 18:17:15 <bjo3rn> hehe
  • 18:17:16 <Denyerec> I'm experimenting with the "pagetitle" module now.
  • 18:17:24 <Denyerec> But it's a bit silly that it's in two places.
  • 18:17:32 <Denyerec> That's gonna confuse people and end up with a LOT of renamed pages :/
  • 18:17:37 <bjo3rn> in SEO module switch to page title and there you go
  • 18:17:54 <bjo3rn> select box above the table
  • 18:18:50 <Denyerec> Ok.
  • 18:18:53 <Denyerec> Yeah
  • 18:18:57 <Denyerec> That's what I'm complaining about
  • 18:18:58 <Denyerec> ;)
  • 18:18:59 <bjo3rn> ah, now I get what you have in mind
  • 18:19:01 <bjo3rn> ^^
  • 18:19:05 <Denyerec> You've got metadata, whcih has a title field
  • 18:19:08 <Denyerec> which is actually the page name
  • 18:19:13 <Denyerec> then you've got a pagetitle page
  • 18:19:14 <bjo3rn> I see, I see
  • 18:19:17 <Denyerec> which has the browsertitle
  • 18:19:20 <Denyerec> I mean, it *works*
  • 18:19:23 <Denyerec> it's just confusing :)
  • 18:19:34 <Denyerec> If it curveballed me, it's going to melt my editors ;)
  • 18:19:40 <Denyerec> You know how it is :)
  • 18:19:59 <Denyerec> One feature I loved from seo_basics was when editing, the field would indicate the optimal lengths for you.
  • 18:20:01 <bjo3rn> you have to accept that at face value. meta _is_ title, browser title is SEO
  • 18:20:01 <Denyerec> ALLLSO
  • 18:20:09 <Denyerec> Somethin gyou might have an answer for
  • 18:20:14 <Denyerec> is when I change the column layout in the tabe
  • 18:20:16 <Denyerec> *table
  • 18:20:22 <Denyerec> it reverts next time i use it.
  • 18:20:27 <Denyerec> Did you notice this ?
  • 18:20:32 <bjo3rn> which table? the seo one=
  • 18:20:33 <bjo3rn> ?
  • 18:22:24 <Denyerec> Yeah
  • 18:22:29 <Denyerec> When you, say, edit metadata
  • 18:22:37 <Denyerec> you get a JS table
  • 18:22:52 <Denyerec> You can hide and re-order columns, which is nice, but then when I reload.... they're back to defaults
  • 18:23:09 <bjo3rn> hm, no, never used that feature.
  • 18:23:20 <bjo3rn> I'm more of a tabs guy ^^
  • 18:24:50 <Denyerec> Yeah, I guess this is more for initial setup
  • 18:24:55 <Denyerec> as I have 100 or so pages to sort out.
  • 18:25:05 <Denyerec> Did you implement the sitemap.xml for this extension too ?
  • 18:25:12 <Denyerec> The example in the manual got mangled.
  • 18:25:16 <Denyerec> (For the realURL settings)
  • 18:26:39 <bjo3rn> yep, works out of the box for me
  • 18:27:11 <bjo3rn> the cleanup task is crucial though to avoid 404s after changed page titles fx
  • 18:30:05 <Denyerec> What did you do to get it working out of the box ?
  • 18:30:10 <Denyerec> You must have added some realurl conf?
  • 18:31:06 <bjo3rn> no, realurl conf as usual
  • 18:31:47 <bjo3rn> what do you mean?
  • 18:43:02 <Denyerec> Well
  • 18:43:10 <Denyerec> if I hit sitemap.xml I get a page not found
  • 18:43:16 <Denyerec> So Im assuming I have to do *something*
  • 18:43:17 <Denyerec> :)
  • 18:45:46 <bjo3rn> ah, hehe
  • 18:45:51 <bjo3rn> yes, rtfm ^^
  • 18:45:56 <bjo3rn> sec pls
  • 18:46:38 <bjo3rn> mysite.com/index.php?type=841132
  • 18:46:50 <bjo3rn> renders a sitemap index
  • 18:46:58 <bjo3rn> no kidding ^^
  • 18:54:03 <Denyerec> Yeah that's what I was saying, I think the manual rendering mangled the realurl conf.
  • 18:54:36 <Denyerec> I also think something is very broken with the sitemap :)
  • 18:54:43 <Denyerec> http://alba-dev.sozu.co.uk/index.php?type=841132
  • 18:54:46 <Denyerec> It's missing about 100 pages ;)
  • 18:55:54 <Denyerec> Lemme see if I can clean up the realUrl conf
  • 19:00:04 <Denyerec> Ahha
  • 19:00:10 <Denyerec> I think my filename section is knackered
  • 19:05:31 <Denyerec> bjo3rn - I fixed the realurl config up, however the sitemap leaves a lot to be desired ;)
  • 19:05:34 <Denyerec> ttp://alba-dev.sozu.co.uk/sitemap.xml
  • 19:05:37 <Denyerec> http://alba-dev.sozu.co.uk/sitemap.xml
  • 19:06:41 <bjo3rn> it's alright?
  • 19:07:07 <bjo3rn> where's the problem?
  • 19:12:13 <Denyerec> It's... empty :)
  • 19:13:01 <bjo3rn> that's a sitemap _index_ follow the url inside it ;)
  • 19:13:49 <bjo3rn> now it's empty. wtf?
  • 19:14:37 <bjo3rn> the first time I checked it was ok. the sitemap populates itself by opening some urls in the browser
  • 19:14:40 <Denyerec> I ran the scheduler task
  • 19:14:44 <Denyerec> for building
  • 19:15:05 <bjo3rn> I don't understand the builder task. doesn't work for me.
  • 19:15:46 <bjo3rn> see, I just opened two pages on that site and there it is
  • 19:16:36 <Denyerec> Yeah I just browsed a few pages and now it's there.
  • 19:16:41 <Denyerec> Seems a bit... flakey
  • 19:24:49 <Denyerec> bjo3rn -- Do you see the "Browsertitle" field ?
  • 19:24:58 <Denyerec> I have filled it out
  • 19:25:04 <Denyerec> But it still uses the page title :(
  • 19:25:45 <bjo3rn> how to tell?
  • 19:26:38 <Denyerec> Ajhhh
  • 19:26:42 <Denyerec> No never mind
  • 19:26:44 <Denyerec> *blush*
  • 19:26:51 <Denyerec> I had some leftover TS that I was testing with
  • 19:26:57 <Denyerec> that was pulling in the abstract field
  • 19:29:29 <bjo3rn> ok
  • 21:58:06 <xaver> randomresult_afk: https://github.com/FluidTYPO3/builder/issues/33 this issue can be cloased. It is a default feature of TYPO3 CMS
  • 21:59:13 <xaver> bjo3rn: can you close this task?