(BugID: 100043) Fix PHP fatal error

Make sure file exists for the given page.
Merge branch 'bugid-100043' into dev