Paul Posted February 4, 2003 Posted February 4, 2003 okay this is making me crazy, I have a page on my site and I'm darned (not what I want to say there) if I can figure out why it's not being found. Could one of you guys give me some ideas? PLEASE. It's got the same file permissions as every darn (ditto above comment) file and I can look at in from the file manager in cpanel so I know it's there ????? http://www.villagebistro.info/phpAquaScape...b/adminmenu.php Quote
Lianna Posted February 4, 2003 Posted February 4, 2003 I'm sure you've already looked, but make sure that your file name is in proper case. adminmenu.php is different from Adminmenu.PHP. The path seems fine up to the point of adding that file name in. But without specifics of what you're trying to use or accomplish, I'll guess that this page may be of interest perhaps? - http://www.villagebistro.info/phpAquaScape...e/phpsecureweb/ Lianna Quote
Paul Posted February 4, 2003 Author Posted February 4, 2003 Lianna , thanks for getting back to me so quickly! Yeah, the case thing has tripped me up in the past and I'm not falling for that one again! Your link to the demo intro is where, when the button is pressed, the error occurs do any of the tech's have access to the files on my site, just to take a quick peek at that file and verify I'm not crazy? There are a couple of files in that directory I can't access but far more that are fine????? it's just crazy! Thanks again, Paul Quote
Paul Posted February 4, 2003 Author Posted February 4, 2003 OKAY Now I'm getting angry LOL ! I just copied the same file to a new file named "test" .... it's an HTTP 404 file too! akkkkkkk I can look at in from ftp and from cpanel but when I try to go to it I get the 404 error. Now I know calling it directly should give me some php errors or other types of errors but NOT the 404 monster I'm very sad now http://www.villagebistro.info/phpAquaScape...ureweb/test.php Thanks anybody that can help me here! Later, Paul the dummy Quote
KevinW Posted February 4, 2003 Posted February 4, 2003 Is the phpsecureweb directory password protected? or the files in it? In order to have someone take a look at it, you will need to go over to the secured TCH Help Desk and enter a ticket. When you do, be sure to provide your user id and password so that someone can take a look at your files and setup. Good luck! kw Quote
Lianna Posted February 4, 2003 Posted February 4, 2003 Paul, Hmmm. Ok, next obvious thing would be that the folder within which all is kept is of wrong permissions. However, I'm gonna throw this out there, too: What is in the content of the adminmenu,php that may be redirecting to a nonexistent page. Ya'know what I mean? maybe it's not actually THAT page that is not found? I am going there because the same content exists in the test.php file, right? And you get the same error, right? Isolate it. Move the test.php to public_html/myphptest (or some phony dir) and see if test.php is accessible. If so, then I'd go with the permissions issues. If not, then I think the file contents of the .php file are somehow in the middle???? Lianna Quote
Paul Posted February 5, 2003 Author Posted February 5, 2003 Okay, same file, renamed to test.html, no problem (well of course it doesn't display right but it's there!) Problem with the php handler???????? OMG I might have actually found something here LOL Input????? Thanks, Paul EDIT: sorry forgot new link: http://www.villagebistro.info/phpAquaScape...reweb/test.html Quote
Lianna Posted February 5, 2003 Posted February 5, 2003 Alright! See you're making progress! Way to stick in there. Bad news is that this is where you lose me! Sorry, but this php code stuff is WAY over my pea brain. (Not one word, KW!) I really must defer from this point. Bueller? Lianna Quote
Paul Posted February 5, 2003 Author Posted February 5, 2003 well I don't think it's the actual PHP code that's the problem, although it's certainly possible knowing my coding skills. I'm starting to wonder if it's the PHP system on the machine itself???? I know it's a long shot but it's about all I can think of right now. Guru's out there that might have a clue????? Confused in Florida Quote
Lianna Posted February 5, 2003 Posted February 5, 2003 Ok, there's an easy test for that, too. I am going to copy your code from test.html and place it on my site. If it gets a 404, then chances are it's the code. If it goes, but with the expected errors, then we can compare machines? Sound logical? brb Lianna Quote
Lianna Posted February 5, 2003 Posted February 5, 2003 Ok, so I put your code into a page called test.php in my main dir and it has permissions of 644. I get Fatal error (code failure) instead of a 404. See it here. That doesn't mean a whole lot yet though. You have yours in a subdir. Put your test.php in the public_html dir and ensure that the permissions are 644. If it gives you the same result as me, then we know that php is not to blame. Rather, it narrows us down to the subdir structure and permissions. Right? Lianna Quote
Paul Posted February 5, 2003 Author Posted February 5, 2003 okay, now you've got me really confused (yet again) ... I move test.php to the public_html folder and life is good (same error as you got Lianna ) ... but in the "correct directory" it still gets the darn 404 error. Now just to add insult to injury, and maybe point somebody somehow in the right direction here, I don't think it's a problem with folder or file permissions because ... http://www.villagebistro.info/phpAquaScape...reweb/bogus.php works okay and the bogus.php file has the same permissions as test.php and, for that matter, adminmenu.php I'm going nuts here Lianna LOL (although my wife insists that happened long ago!) Next step???? Thanks for your patience, Paul Quote
Lianna Posted February 5, 2003 Posted February 5, 2003 Hey, I'm right there with ya in Nutsville, Buddy! Well, dang. This is truly perplexing, eh? So let's think out loud. We KNOW that: test.php 'works' in public_html test.php does not work (404) in correct directory bogus.php 'works' in correct directory bogus.php has same permissions as test.php The difference between bogus.php and test.php then is in name and content? Paul, did you get this scripting from somewhere, like greenpepper.ca or freshmeat.net? Lianna Quote
Paul Posted February 5, 2003 Author Posted February 5, 2003 yeah lianna, I got it from greenpepper why? The other wierd thing is, if you go to the main php file and bring up that demo menu, the option to reset the database works fine. I changed the link to adminmenu.php on that menu to test.php and it didn't work either. brb, I'm going to try changing the link on the demo to bogus.php and see if it works okay. BRB, Paul Quote
Paul Posted February 5, 2003 Author Posted February 5, 2003 okay, change link to adminmenu.php to bogus.php and it works fine ?????????????????? I think "perplexing" is rapidly becoming an understatement LOL Later and again thanks, Paul Quote
Lianna Posted February 5, 2003 Posted February 5, 2003 I have to defer. Have you read all the installation notes from the PDF documentation that is supplied by Greenpepper.ca? Find it here. Lianna Quote
Paul Posted February 5, 2003 Author Posted February 5, 2003 Yeah Lianna I read the docs and followed the installation instructions. I don't think it's their problem unfortunately and my bigger concern now is finding out why the file's not being found. If it's something I'm doing wrong, certainly a very real possibility, I need to know so I can stop doing it LOL ... if it's something my server's doing wrong, I need to get that fixed as well. Rapidly approaching the "head through monitor stage" now Let me know what I can do at this point to narrow the search please! Thanks, Paul Quote
Paul Posted February 5, 2003 Author Posted February 5, 2003 Just to close out this thread, and to let future reader's know, Lianna and Nick managed to track my problem down. It turned out that it was indeed a scripting error and I now sit here with mucho egg on my face! The support here is truly awesome and they went way "above and beyond" to give me a hand! Didn't want anyone to think I was left hanging here, not at all the case! Thanks to all, Paul Quote
Lianna Posted February 5, 2003 Posted February 5, 2003 Nick Rocks! Glad we at least got to the source of the problem. Lianna Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.