My problem is that whenever I create a page, after clicking on "Publish", I am getting "Page saved. Manage pages | View page »" which means, page is created. But there is not even a single page in "Manage -> Pages"!
When I go back to edit page to create another one, the last page exists in "Page Parent". When I am checking myPHPadmin, page exists in database. So, I am not able to edit it or even view it.
I went through all php files and couldn't figure out what the error is.