Cakephp – JsController could not be found
Recently I wanted to test the ajax capabilities from cakePHP and after setting up the links to prototype.js and scriptaculous.js just as shown on cakePHP website, I’ve noticed the ajax is not working.
In the javascript error console I noticed the error:
JsController could not be found
The problem was that I thought cake will include the above js files automatically from it’s core libraries. Of course it doesn’t so to solve the problem just download prototype.js and scriptaculous.js and place them in the js directory inside webroot
That’s it!
GoDaddy 500 Internal Server Error – Windows Shared hosting

Today I needed to move some sites to a different server. A wordpress and an old oscommerce. The server was a windows server from godaddy – the hosting was a shared one
After setting up the database and the files I run into this error:
500 Internal Server Error
› Continue reading
Godaddy custom php.ini problems and solutions
Godaddy can be a killer of time for a programmer. It can take ages to figure out some things that are just now standard to webhosting.
Recently I took care of a client that had a windows hosting package and needed a script setup that required custom modifications to php.ini.
I’ve placed php5.ini to root web directory (for godaddy if you have php5 installed, php5.ini is required otherwise php.ini) the custom settings were in effect and guess what? mysql wasn’t working anymore:
Fatal error: Call to undefined function mysql_connect() in xxxxxxxx
Solution is to set up a complete php.ini file (you can take it from your computer) from which settings like upload_tmp_dir should be set up from the original php.ini
Of course how the heck you can read the original php.ini? You don’t need to, just create a a test.php and place phpinfo(); there and you should be able to read all the variables that required path alterations to fit the server.
Questions? Please let me know
SVN set up for multiple projects
just a quick tutorial how to set up subversion, aka SVN to be used with multiple projects.
Setting up only one repository has the downside of incrementing revision number for all the projects no matter what project is modified. The logs tend to be messy too which I don’t like.
so let’s begin: › Continue reading
Yahoo invisible script
Recently I started to research the posibility to create a website from which people can see if their friends are invisible or not.
Let me tell you even I am an experienced programmer, this is not a trivial thing to do. However hopefully with a little help I can get the new website going in about a month. › Continue reading
Install SVN on CentOS problem
I run into a problem when installing subversion so if you have the same problem here it is:
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion
In order to solve it type this as root:
wget http://yum.trixbox.org/centos/5/RPMS/perl-URI-1.35-3.noarch.rpm
rpm -i perl-URI-1.35-3.noarch.rpm
yum install subversion
That’s it! if you have questions please ask.
Idea Using API for Translation and Detection
When reading how to use google’s translation and detection API I thought to a very easy to implement idea, targeted to a specific country.
› Continue reading
SEO for starters – Google tutorial
Google webmaster central has made a further step in helping webmaster building their path in the seo business.
Designed for starters, the seo information can be useful for any of us. You can read more from here:
Search Engine Optimization Starter Guide
Update: reading the google’s seo starter guide I’ve noticed a little paragraph about “Don’t forget about offline promotion”:
You could also send out
recurring newsletters to clients through the mail letting them know about new content on the
company’s website.
Isn’t this a similar thing to online spam, just it’s… offline?
Microsoft RDP.
source: OWASP News
Oracle Recommends Achievo ATK PHP Framework
OTN (Oracle Technology Network) writes about how to develop a complete PHP application with no more than 30 lines of code using ATK PHP Framework.
I must admit they have a great and simple to follow tutorial. I am a fan of CakePHP framework unfortunately
However it caught my interest and plan to give it a go today and see how I can flex it’s muscles.
The 30 lines application tutorial can be found here
http://www.oracle.com/technology/pub/articles/jansch_atk.html