Problems uploading images to 1and1 hosts : Server error 500

I’ve had lots of problems with a 1and1 Wordpress installation and uploading images within Marsedit.

Generally the image was uploaded correctly to the correct location on the host but gave a “Server Error 500″ error message. This meant that Marsedit did not insert the link of the image and neither did it show in the Published Images Media Manager

There’s a quick workaround where I manually added the code to insert the image into the blog post. However, whereas the ability to write raw HTML is always handy, in this case it prevented me from finding a proper fix. I think I’ve had this problem for like a year. What a lazy sod!

The proper fix is to ensure that PHP is properly setup. Which is hard when you have little control over the host. So a quick fix is to add some lines for handling PHP script execution to your .htaccess file.

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

- Download that file from your Wordpress installation, if it exists.

- Add those line

- Upload the modified file.

Note you may need to change your FTP client’s settings to ensure you see dot/hidden files.

I came across this fix on the wordpress forums.

Technorati Tags:
,

Technorati Tags: ,

August 27, 2010. Computergeekery. Tags: , . No Comments.

New mythtv frontend setup

I’ve just setup a new Mythtv box. Although the previous system was relatively quiet, it was in a big box, and I want minimalism now rather then obvious geekery in the living room.

So I’ve got myself an Acer Revo r6310, found at a cracking price on the superb UK Hot Deals. This is a Nvidia ION dual core Intel Atom powered beasty. The old Mythtv box is now up in the loft.

I was going to try out one of the Mythbuntu releases. But it took ages to download, so I ended up putting a Gentoo minimal installer on a bootable USB stick and went from there. After setting up distcc on my main Linux box (also 64bit) the compilation took about 36 hours.

Using VDPAU with the binary Nvidia drivers. playback is awesome. So far the largest 1080p sample I have (The trailer for Alexander) plays perfectly. Although I seem to be unable to get WMV audio to play.

Video output is via the HDMI > DVI and audio is purely via SPDIF to the amplifier.

Very pleased so far.

Technorati Tags: ,

April 6, 2010. Computergeekery. Tags: , . No Comments.

weird scsi controller shennanigans

My main Linux workstation uses a pair of u320 300GB SCSI drives with a pair of RAID1 arrays (Linux RAID) attached with a LSI Logic LSI20320-R MPT Fusion based controller. This card has stood me in good stead for quite a few years now. It is a HP branded one I bought on Ebay, however, I flashed it with the LSI generic firmware I found.

My motherboard is an Asus NCT-D with 1 PCI-e, 1xPCI-e x16 three PCI-X and a single PCI card slot. I wanted to place a PCI card DVB-S in there to act as a slave MYTHTV backend to serve the satellite channels. The only free slot was the one above the SCSI card. However, after adding the DVB-S card my machine refused to boot. The SCSI BIOS did not load.

It appears that this card MUST be the first card in all the PCI slots (does’t include the PCI-e slots). I’ve never come across this before in many years of messing with scsi host adapters!

Technorati Tags:

April 6, 2010. Computergeekery. Tags: . No Comments.

Update for Quicksilver

So after writing about Alfred the other week, there’s an update to Quicksilver!

Download it here

The changelog says increased performance. Nice to see an old dog keep getting updated!

Technorati Tags: , , ,

March 20, 2010. Computergeekery, Mac. Tags: , , , . 2 Comments.

Alfred: A Quicksilver replacement?

Alfred is a new app launcher (and as with the best of those apps it is much more) for OS X. It’s currently in beta, that you can sign up for at their website.

Ever since Raj pointed me to Quicksilver it’s become a pretty essential tool on any Mac I use. However, development has dropped off over the past few years and whereas it still works perfectly now if there’s any major OS update it could be that it breaks. Scary! It’s to Albert’s credit that after a week of using it it’s slipped straight into my workflow without hardly any interruption or even being noticed!

Nice!

What’s also cool, although location only relevant for property programmes, is that the guys are local (to me in Cambridge that is!).

Technorati Tags: , ,

March 18, 2010. Computergeekery, Mac. Tags: , , . No Comments.

Mythmovies in the UK

Mythmovies is a cool plugin to show film times in cinemas around you (geographically speaking that is!). However, up to now it’s been US only. However, this script found on the Ubuntu forums works perfectly in the UK.

http://ubuntuforums.org/showthread.php?t=1090793

Works great. Now for trailers …..!

Technorati Tags: ,

February 28, 2010. Computergeekery, Films. Tags: , . No Comments.

Merry Crimbo and all that shenannigans……

It’s been a quiet year for blogging here. It’s been a busy year for many reasons and any blogging time has been spent on the house renovation blog and on the work blog.

On a brief tech related note, I got my entire new-old house wired with cat6, including buried wires, I used OS X far more than Linux for the first time, I switched to a Android phone (HTC Hero), which I am very pleased with.

Anyway here’s a apt picture of my new workplace for 2010. Which incidentally is heated mainly by my dual old school Xeon Linux box. I’ll try blogging more next year!

IMAG0372

December 24, 2009. Computergeekery, trivial shennanigans. . No Comments.

Rebuilding Spotlight indices fixes mail.app search issues

Over the last few months searching in Mail.app has been problematic to say the least. I’ve been hoping that Snow Leopard would fix this, but it did not. In fact since upgrading to SL it has got worse, although this was likely just coincidence rather than being caused by the upgrade. So I tried rebuilding the Spotlight indices from scratch. Previously I would have used Onyx to do this. However, the Snow Leopard compatible Onyx has only just come out in beta, and was not available when I did this. Other methods I was aware of include dragging that partition (root) to the Privacy part, then back again. However, this being UNIX you can of course do it quickly from the command line. MDUTIL is a command line tool to interact with MDS, which is the Spotlight indexing tool.

Note all the following commands were run using sudo (or you could su to root). If you do not know what sudo is, perhaps the command line is not a place you should dwell!.

mdutil -i off /

Now some posts seems to indicate that you also need to delete the indices

e.g.

rm -R /.Spotlight-v100

I did not do this.

To add them back I simply turned on indexing again. Note this does take quite a while and leaves a few processes at 100% CPU.

mdutil -i on /

I have since been told that you can just force a rebuild using

mdutil -E /

However, despite the ease of this once the Snow Leopard version Onyx has come out I would recommend using that instead. It’s a cracking app, and I run this once a month at least.

Technorati Tags:

October 17, 2009. Computergeekery, Mac. Tags: . No Comments.

Bash shell extension

I came across this cool tip whilst browsing the blog of a fellow storage geek’s who’d posted on the Linux RAID list.

Basically you can insert a variety of characters inside braces to expand them. I guess like a smart shell expansion using the tab. The most obvious usage is a major timesaver for creating a backup of a file (which of course we all should do everytime we edit a config file!).

cp foobar.conf{,.bak}

will work as:

cp foobar.conf foobar.conf.bak

Many more examples are given here.

Technorati Tags:

August 10, 2009. Computergeekery. Tags: . No Comments.

Draytek 2820n and a T-Mobile 3G dongle

I’ve just got a Draytek 2820n. This will be the new router for the new house. What I like about this is that you have three WAN interfaces, ADSL, IP and 3G. What’s even cooler is that you can set this up so if ADSL fails it falls back to one of the others.

Until I have phone lines installed I’ll be using the 3G dongle exclusively. I hope I get better reliability than using the dongle with my Macbook Pro.

Technorati Tags: , ,

July 24, 2009. Computergeekery. Tags: , , . No Comments.

Older Entries Next Page »

Bad Behavior has blocked 164 access attempts in the last 7 days.