Seit 2012 blogge ich auf www.derhansen.de über Themen aus meinem Arbeitsalltag, welche ich mit der Allgemeinheit teilen möchte, um anderen evtl. dadurch zu helfen. Zuerst habe ich in deutscher Sprache meine Artikel geschrieben, bin dann aber dazu übergegangen, meine Artikel in englischer Sprache zu verfassen, um eine größere Zielgruppe anzusprechen. 

Friday, November 22, 2019 – FAQ, irfaq, Symfony Console, TYPO3

TYPO3 Extension "Plain FAQ" released

Today I released the first public version of my latest TYPO3 Extension called "Plain FAQ". The name already says it - the extension is a very simple solution to manage Frequently Asked Questions in TYPO3. Below follow some of the facts about the Extension: Compatible with TYPO3 8.7 and 9.5 Based on Extbase and Fluid Covered with unit…

Read more

Monday, September 02, 2019 – dependency, Extbase, There is no column with name

How to fix TYPO3 error "There is no column with name 't3ver_oid' on table"

Recently the following error message showed up in a project I was updating to TYPO3 9.5: There is no column with name 't3ver_oid' on table 'tx_news_domain_model_news'. When you see this message in a TYPO3 project, you should of course first check, if the field is really available in the mentioned table and second, you should check,…

Read more

Sunday, August 25, 2019 – cache, development, disable, nginx

How to disable the nginx TYPO3 cache set by ext:nginx_cache in development context

When you run TYPO3 on nginx webservers, you can use the nginx FastCGI cache to really increase the performance of your website. Basically, the nginx FastCGI cache stores pages rendered by TYPO3 in the webservers memory. So once a page is cached in the nginx FastCGI cache, it will be delivered directly from the webservers memory which is…

Read more

Monday, April 01, 2019 – datamapper, Extbase, repository, wrong results

Extbase $query->statement() - What can possibly go wrong?

Last week I had to resolve a problem in a 3rd party Extension, where an Extbase Plugin returned unexpected results when used multiple times on the same page. The problem showed up in the frontend, where the plugin listed some products by a given category. When the plugin was present one time on a page, the output was as following…

Read more

Monday, March 18, 2019 – #86270, config.tx_extbase.objects, controller, Extbase, extend, model

Extending Extbase domain models and controllers using XCLASS

In TYPO3 9.5 LTS it has been deprecated (see notice) to extend Extbase classes using TypoScript config.tx_extbase.objects and plugin.tx_%plugin%.objects. In order to migrate existing extensions, which extends another TYPO3 extension, you should now use XLASSes. For my TYPO3 Extension sf_event_mgt I also provide a small demo extension,…

Read more

Tuesday, July 10, 2018 – census, statistics, TYPO3, typo3 version analyzer

TYPO3 usage statistics for july 2018

TR;DR - I analyzed 48.146.633 websites for TYPO3 usage - the results with aggregated charts can be found here. I'm proud to introduce my latest side project called t3versions. It is a Python (Django) web application to identify, if a website is running TYPO3 and if so, which major version is being used. As a result, TYPO3 websites are…

Read more

Sunday, April 15, 2018 – Index column size too large, mysql 5.6, mysql 5.7, TYPO3

TYPO3 MySQL database import fails with "Index column size too large. The maximum column size is 767 bytes"

I recently migrated a TYPO3 7.6 Website to TYPO3 8.7 and while importing the migrated TYPO3 database on the production server, the import failed with the following MySQL error: ERROR 1709 (HY000) at line 2060: Index column size too large. The maximum column size is 767 bytes. The error occurred for the import of the TYPO3 table…

Read more

Wednesday, April 11, 2018 – event management, Extbase, fluid, TYPO3

TYPO3 extension sf_event_mgt version 3.0 released

Today I finally released the new version 3.0 of my TYPO3 extension sf_event_mgt - Event management and registration. The new version comes with tons of new features, bugfixes and improvements and also contains 2 breaking changes, so make sure to read the release notes. Thanks to everyone, who contributed to the extension over the last…

Read more

Monday, February 05, 2018 – fluid standalone view, localization, TYPO3

TYPO3 - How to render a Fluid standalone view multiple times in different languages

Back in 2015, I wrote 2 blogposts (first and second) about rendering a localized Fluid standalone view in a scheduler task (commandController). The main problem was to render a Fluid standalone view multiple times within the same request but with different languages. Back then, my solution was to create an own ViewHelper and a modified…

Read more

Thursday, January 25, 2018 – public key, ssh, Too many Authentication Failures

SSH reports "Too many Authentication Failures" on first connect

Today I wanted to connect to a new clients SSH server and received a "Too many Authentication Failures" message just on the first connect to the host. After a short break and some Google research, I found the very simple reason for the message. Since I have several SSH keys in my .ssh/ directory, SSH tries to use each of it to connect…

Read more

Wednesday, June 28, 2017 – Extbase, Image Cropping, typo3 8.7

TYPO3 8.7 LTS - How to enable the image cropping tool in your own extension

People using TYPO3 7.6 or 8.7 for sure know the cool Image Cropping tool that was introduced with TYPO3 7. As an extension developer, you can easily switch on the Image Cropping tool for your own extension by enabling adding the imageoverlayPalette to the foreign_types config array for the FILETYPE_IMAGE in the TCA like shown in this…

Read more

Monday, June 26, 2017 – domain model, Extbase, property mapper, TYPO3, validation

TYPO3 Extbase - Manual validation of a domain model

When you create an Extbase extension and allow a website user to submit form data that will be saved to the TYPO3 database, you usually work with validators in your domain model to ensure, that the given data will match certain criteria (e.g. properties have the right data type or expected data format). Extbase offers an easy way to add…

Read more