Here\'s what my diretory tree looks like
/application /lib /util /login /views /base_view
My login page is
In your relative path ./util/login/main.php, you're using ./ which refers to the current folder, so it assumes that the folder structure /util/login is inside /base_view. You should try using ../ which refers to the parent folder:
./util/login/main.php
./
/util/login
/base_view
../
...