then i uploaded the site online on **********, direclty uploaded the files in "public_html" folder again it gave me path error on my default path, this time i didn't upload the folder but files inside it.

So i decided to add "public_html" in the string , it didn't work either.