Simply Breath Teching…

Resources for PHP Programmers and Small Business Operators

Entries for the ‘Uncategorized’ Category

‘Length’ is null or not an object error in FCKEditor

So i’m back after a lengthy absence in posting fixes. No that’s not because i haven’t had any frustrating bugs that i’ve worked long and hard to solve. Simply i’ve been too busy. Came across this problem in IE where it throws a length is null or not an object error.

After lengthy google searching and [...]

file_exists doesn’t work for me

Ok i’ve run across this problem a few times in my programming life, where file_exists always returns false. I don’t think i’ve ever properly fixed it. Generally I make some crappy work around, which ends up causing more harm than good.

So here’s a small checklist to solve the problem.

Check the file path you are [...]

FCKEditor shows current website instead of editor area

FCKEditor can sometime display a website in it’s iframe instead of the editor panel. This is especially common when using .htaccess rewrite engine.
A friend of mine encountered this issue for a second time, we both always seem to forget the solution, so he suggested I write a blog about it.

When using FCKEditor and our cms [...]

Firefox Losing Session Variables on Redirect

So I’ve been attempting to deal with an issue on a CMS I made for quite sometime. When People logged into the CMS they would be redirected to the Homepage from the Login page. They would get a first glimpse of the homepage then once they clicked a link they would be redirected back to [...]