Archive for February, 2012

How to fix failing language pack updates in TYPO3

Monday, February 27th, 2012

If you update language packs through the TYPO3 extension manager, it can happen that it will mark the update as “failed”, but if you check for updates again, it tells you there are no updates available. Generally it behaves kind of weird with language pack updates. What’s going on and how do I fix it? [...]

Self-updating PHP script

Sunday, February 26th, 2012

Now that we have thoroughly covered self-updating bash scripts, let’s have a look at the PHP counterpart: You might notice that it’s pretty much a line-by-line translation of the bash version. That was intentional due to maintenance concerns within the project this was developed for. So, it might not be the optimal solution, but it [...]

Self-updating Bash Script Revised

Sunday, February 26th, 2012

I recently posted an approach for a self-updating bash script. Shortly after using it in production, I noticed a critical shortcoming. Due to the simple way in which I implemented my update checking (an MD5 sum over the script itself), changes to the script interpreter line (aka shebang) would cause the script to output that [...]

Safely updating TYPO3 extensions

Wednesday, February 22nd, 2012

A difference between the originally installed version and the current was detected! If you have ever read that warning in the TYPO3 extension manager, you know exactly how annoying it can be to find that difference. You made some minor tweak or fix and forgot about it and now you don’t know what it was [...]