I’m having issues with my website. When I open the homepage, only the header loads. It looks like the rest of the code is missing.
Please fill out the template when creating a post. What’s your URL? What have you tried? Has the code run successfully before? Any error messages or relevant logs in console? Are all files uploaded correctly in the file manager?
What’s the address?
Based on the information you’ve provided, my first guess is that your code may have crashed midway through the page, resulting in only the top being rendered, and the rest being missing.
Such things are easiest to verify by being able to look at the web page itself, and ideally the relevant code too. Could you please share more information?
soo my this is my site: http://jelko.great-site.net. I ran my code in visual studio and it worked fine but now that I upload it here it doesn’t.
Do you get any errors on the browser console? Normally I’d check myself but I’m out the house and on mobile
I just tried to access your website, and I get redirected to the page http://jelko.great-site.net/spletna_stran_Jelko/domaca_stran.php, which indeed shows only the header.
When I check the HTML code that the server returns, it just ends like this:
Niste prijavljeni</a></li>
</ul>
</nav>
</header>
<!-- DROPDOWN MENI -->
The content just seems to abruptly end, which matches what I wrote before.
When I check the Network tab in my browser’s developer tools and refresh the page, I see the page responds with status code 500, which is also a strong sign that suggests that your PHP code crashed.
If you go into the client area → your hosting account → your domain name → PHP Options, you can set Display Errors to On. After that, if you refresh the page, you should see an error message that should tell you more about why your PHP code crashed, which should be a good starting point to fix this issue.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.