Posts Tagged Windows

Typo3 : Typo3temp folder full of js files


A common problem with anyone using Typo3 4.2 and GMENU Layers is that Typo3 creates a temporary js file each time a page is loaded. This ends up leading to your typo3temp folder being filled with thousands of js files. In some cases, with busy websites, we’ve seen the Typo3temp folder filled with as much as 1-2GBs of temporary js files. Clearly a problem, but not such as easy one to fix.

If you, for some reason are still running the 4.2 version of Typo3 here’s how you fix the issue.

The first thing you need to do is delete all those temporary js files from the typo3temp folder. This might be a bit of a nightmare if there are hundreds and thousands of files. In one case I needed to resort to removing the files via ssh using a wildcard and file name from within the typo3temp folder, e.g. rm -f javascript_12* (be very careful using the rm cmd MAKE SURE YOU ARE IN THE TYPO3TEMP FOLDER – no warranty provided by me if you mess up!).

Once that’s done and you’ve taken a complete backup of your website, complete the following steps:

1. Download patch file from http://bugs.typo3.org/view.php?id=12376
2. Upload the patch file to the root of your Typo3 installation (e.g. the directory with index.php and Typo3 folder etc)
3. Log into your SSH account and cd to the root folder
4. Type patch -p0 -i nameofpatchfile.diff
5. Log into FTP and delete all temporary js files from the typo3temp folder

You should now log on to your website and click around a few pages. Then check your Typo3Temp folder again through FTP to see if any js files have been created. You should really only see one (unless you have multiple navigations).

That’s it!

Tags: , , , , , , ,

No Comments

Windows Live SkyDrive as an Online BackUp Service?


20px|Windows Live Logo Windows Live SkyDriveIn May this year, Microsoft launched a new service to the World called Windows Live SkyDrive. Formally known as Windows Live Folders, the service offers users the ability to upload, store and share files in their own file storage area. I just recently became aware of this and decided to try it out.

It seemed for sometime that it was just way too expensive to choose an online backup solution. No-one seemed that interested.

Online backups just make so much sense though and should not be overlooked. Why have a tape drive or external hard drive backup that you either have to remember to change tapes or take a copy off-site every night. Isn’t it much easier to schedule your computer to do it to a remote location without any interaction from a human? It makes so much sense, of course until you see how costly it could get.

Nowadays, companies offering online back-ups are becoming more and more popular. It was obvious that someday it would be requirement with all the information people want to store, from music to photos. A typical hard drive nowadays fills to the brim pretty quickly.

So what does Windows Live SkyDrive offer as a solution?

Well from a space size, it’s pretty darn good. 5GB of free space.
The user interface is really simple and easy to understand. It allows you to select files for public and private viewing. you can also download a simple program that allows you to easily upload files in a drag and drop fashion.

FWindows Live SkyDriverom a backup point of view, is it any good though?
So far I fail to see how I could possibly use it as a backup service. Its biggest downfall is the fact that you have to drag files individually to upload. You can’t for example drag a folder onto it or else you get an error.

Most online backup solutions offer you a decent piece of software that will allow you to not only schedule file uploads but will also check to see what files have changed rather than uploading everything again.

So for now, Windows Live SkyDrive just isn’t the solution for me. But! I pity anyone trying to make a business out of this, because I’m sure it won’t be long before Microsoft will launch a backup tool that can be used with Windows Live SkyDrive.

Tags: , , ,

2 Comments