[eluser]wiredesignz[/eluser]
I'll ask again...
How can the word 'application' appear in the error message after you have renamed the directory to 'cms'?
Your application is probably running from a different index.php file. To prove it alter the $application_folder setting in index.php to 'cms' but leave the directory name as 'application' and see what happens.