Problem with Login

I am using 1.8.3 default theme. What I found is user cant login untill remeber me is checked.

Also no system message displaying like username password missmatch, sucessfull user registration etc.

  • Deleted all cookies, history etc and tried again. same result as above (used mozilla firefox only.)
  • tried a new installation. same result.
  • Here is the PHP info file 

But everything works perfectly in a subdomain. There is no problem when elgg is installed in subdomain (duplicating installation to a subdomain, with old database copied to a new one and data folder to a new folder. Then changing the paths in new database.)

Thank you very much