Hi, why am I getting this error:
Failed to load resource: the server responded with a status of 404 ()
when I wrote this:
<?php include 'test/menu4.php' ?>
It happens only when i use that php include function inside a php file, why that? On other websites I’ve done the same and it does work, on other websites it just doesn’t seem to work for that error written above.
In my file “historyandfutureweather.php”
ndfutureweather.php", I’m writing in PHP include ‘test/menu4.php’.
Test is a folder, menu4.php is a file(image two)
Yes, I uploaded all the files that are needed but this <?php include '/test/menu4.php' ?> just doesn’t seem to work. Now I get that error: “Node could not be resolved to a valid node.”…
You can check out for yourself: http://timmyweather.rf.gd/historyandfutureweather.php
There’s no ERROR or whatsoever in console log but when I try hitting that “more” at the top, it doesn’t open a dropdown list…
also only include function seems to “destroy” the code it will not work for some reason. I checked through the internet how include func. it’s done, I checked it all. But it simply doesn’t work for I’m not sure what reason:(
UPDATE:
If I write two include functions within a single page, include function works. If there’s just ONE include, it doesn’t work… that’s weird