Question:
why can't I access this specific PHP page?
Circle C
2013-03-10 23:23:38 UTC
Okay, I've been building my new website on my computer to test things out and refine them.
I've now started moving things onto an actual server, so I'm chopping up my test pages into chunks so I can PHP them all together.

My main page works fine; it displays just the way I wanted it, being able to correctly find and use all the files it requires.

So next I'm trying to set up another page located in a subdirectory to make sure I'm using the proper formats and stuff so that it will grab all the same files and build a page with the same design but separate content.

Just to start off, I copy the same file I have for my index.php in the root directory, but change the filler text to state the name of the page.
But when I access that file, I instead am just looking at the main page. The unique text I wrote into that page never appears.
The URL listed in my browser is correct, which labels a specific php file in a specific directory, but the content of the page is exactly my index.php in my root directory. I know it is trying to access that directory because if I change the .css file mentioned in my includes so that it looks in the current directory (instead of directly specifying the root) it finds nothing and no style is applied.
In fact, I see this for every page I try to access, including ones that were just sent to empty directories.

There seems to be clearly something I don't get about PHP. Why is it not building the page I specified? I originally thought I would get an error because it couldn't find the include file, since I didn't specify a directory, but I guess it makes sense that the server would look in the root directory instead of the current directory. But I certainly don't get why this is happening.
Three answers:
anonymous
2013-03-10 23:25:33 UTC
Try contacting customer support.
teitelbaum
2016-11-30 04:22:01 UTC
there is HTML code which would be generated so as that it extremely is blanketed on your 360 blog; inspite of the undeniable fact that, as of the former day, this function stopped working and that i'm attempting to discover why that's. i don't comprehend if that's a glitch in 360 or if Yahoo is commencing off to section out 360 fullyyt. once you create a playlist, Slide, etc., you're presented the choice to repeat a generated 'code' which would be pasted onto your blog utilising the 'view source' function.
Jim
2013-03-11 00:57:55 UTC
let me guess, index.htm or index.html is still there, right? it has priority over index.php probably. can't have both and have both work. have to delete one. you can maybe download it somewhere else on your hard disk for a backup in case you think you might need it again. I didn't.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...