Posts Tagged ‘PHP’

How to Optimize your WordPress Database

Monday, March 1st, 2010

How to Optimize your WordPress Database.

Halomods.com and The Halo Modding Future

Saturday, February 13th, 2010

I recently went to check in with the goings on over at Halomods.com and to my surprise I was greeted with this message

To the guys at rework3d and anyone else who was a fan of halomods.
I’ve decided to discontinue the site for reasons you can probably figure out yourself. If anyone is interested in taking over the domains and the rest of the site, send a message outlining your future plans for the domain\site to hm.sourceguy@gmail.com. Whoever has the best plans for the site can have it. Deadline: 20 feb.

-SG

Now I knew there were some big changes that went on, there was a new domain and stuff but I was very shocked to see it complete down with everything gone!

(more…)

Install Zend Optimizer on Plesk Server – eUKHost

Thursday, February 11th, 2010

Its this easy..

cd /usr/local/src
wget http://www.eth0.us/files/ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz
tar -zxf ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz
cd ZendOptimizer-3.0.1-linux-glibc21-i386
./install

stat failed filemtime() Codeigniters assetlib-pro on a plesk server

Thursday, January 28th, 2010

I came across this error when I was trying to implementing the Assetlib-pro CodeIgniter library for adding assets etc to your project.

A PHP Error was encountered

Severity: Warning

Message: filemtime() [function.filemtime]: stat failed for
/var/www/vhosts/domain.com/assets/styles_1.css

Filename: libraries/Assetlibpro.php

Line Number: 218

Now because of my setup from EukHost in the uk I use plesk as my admin system, which obviously has custom rules etc for how php and apache behave together and how they are setup. For some reason the assetlib code could correctly get to the styles I had defined in the assetlib config file – ‘/assets/’, but I had to manually change a line of code in the assetlib library file.

(more…)

Disallowed Key Characters – CodeIgniter Error

Sunday, January 17th, 2010

Getting the error “Disallowed Key Characters” ? This error was caused by developing locally on my machine (127.0.0.1) with xampp, i used the windows host file to re-direct halodev.snaver.net to my local web server for development. However when i switched to developing online, i removed the host file config for the domain and then upload my website to my server, this is when i got the error.

To fix i had to clear my cookies, i believe it was a cookie problem as i also changed my unique $config['encryption_key'] in the config file.

Gallery now working

Monday, November 30th, 2009

If you were a user of the Halo Photography Gallery then uploading of fies and screenshots is now working, I kind of forgot to check that it was still possible to upload after upgrading servers from the US (Dreamhost) to the UK(EukHost), Oppsy. (more…)

JRT Caravans Limited Website Launched

Tuesday, September 22nd, 2009

I’ve just put live JRT Caravan Limited website for a friend, i’m pretty pleased with it, it has come out well. Simple clean efficient design, backed with PHP and MySQL, luvly :) Overview of what they do:

“We specialise in static caravan and holiday home repairs. Anything from a dripping tap or leaking roof to gas servicing and the moving of static caravans on site. Our work is fully guaranteed and always carried out to a very high standard on all makes of static caravans. Since 2004 we have also been natural gas approved and install boilers, fires and cookers in permanent dwellings.”

What you waiting for? Go see :P

Changing Flashfxp’s Default Text Editor to Notepad++

Friday, October 24th, 2008

I’m a big fan of Notepad++ its a great advanced yet very simple IDE for simple and quick edits when you need it to. If you’ve ever used or are using Flashfxp then you’ll know it’s a great application and works very well for ftp’ing files! However when it comes to quick edits to your sites files (PHP for example) it really lets itself down. But what if you could combine these two great programs i here you ask? Well if you read on I’ll explain exactly how! (more…)