by
KK » Tue Jun 27, 2017 4:52 pm
Thanks for the creds.
I had a look and found that the Couch login page was loading ok - *but* there was this advertisement tacked at its bottom -
- Code: Select all
<div style='text-align: right;position: fixed;z-index:9999999;bottom: 0; width: 100%;cursor: pointer;line-height: 0;'><a title="Hosted on free web hosting 000webhost.com. Host your own website for FREE." target="_blank" href="https://www.000webhost.com/?utm_source=000webhostapp&utm_campaign=000_logo&utm_medium=website&utm_content=footer_img"><img src="https://cloud.githubusercontent.com/assets/23024110/20663010/9968df22-b55e-11e6-941d-edbc894c2b78.png" alt="www.000webhost.com"></a></div>
As suspected,
000webhost.com is not going to let you use its services for free without introducing some elements of its own.
Anyway, moving ahead by entering the admin creds, the ensuing page did appear in its HTML source form just as you reported.
Since the login page was loading fine but this page had this problem, I could only conclude that it was not the UTF BOM issue discussed in other threads (it would have affected every page).
I cannot say it for sure, but I can only suspect that
000webhost.com was trying to inject its code into the problem page also but somehow failed and messed everything.
There were no templates registered with Couch yet so I couldn't test the other admin template pages.
To do that, I took the liberty of registering the index.php in your site's root.
After doing that, after login Couch redirects to this template section (i.e. the original problem page is not loaded) and this section now loads fine, as far as I can see.
And, yes, it also has the tacked on
000webhost.com footer.
For now things seem to be ok. You'll have to test further to see how long this holds up before something from
000webhost.com breaks things again.
I'd advice you to move to a better host that does not mess with your markup, if possible.
Hope it helps.