weird problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

weird problem

Post by itsmani1 »

Please see http://dev.ticketchest.com/test.php it says:

Not Found
The requested URL /loader.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/2.0.52 (CentOS) Server at dev.ticketchest.com Port 80

file is there on server and has the following code:

Code: Select all

Hello 

<?PHP
	echo "Hello its tesing....";
?>
Before this i have deleted whole code form http://dev.ticketchest.com/test.php except stats folder.
When i checked loader.php I was an encrypted file may be using zend or someting else.

Can anyone tell me wots the problem with it?
When i Uplaod the loader.php file it don't gives me error but also don't show me the result
Remember before me someone else was working on this server.
Has he done something?
Last edited by itsmani1 on Tue Oct 17, 2006 5:07 am, edited 2 times in total.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Re: weird problem

Post by volka »

itsmani1 wrote:file is there on server and has the following code
Then why does http://dev.ticketchest.com/loader.php give a 404, too?
loader.php is in the directory pointed to by DocumentRoot in httpd.conf?
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

Please see again
http://dev.ticketchest.com/loader.php
and
http://dev.ticketchest.com/test.php

there is no error wot so ever.
when I remove this file then i get error, few minutes ago i removed this file for tesing now it there.
Last edited by itsmani1 on Tue Oct 17, 2006 5:08 am, edited 1 time in total.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Now I get a blank page for http://dev.ticketchest.com/loader.php
and also a blank page for (probably) non-existing documents like, e.g. for http://dev.ticketchest.com/nosuchfile.iugedfighsgf
Seems to me it's working. Could be helpful if loader.php actually outputs something.
Last edited by volka on Tue Oct 17, 2006 3:40 am, edited 1 time in total.
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

Code: Select all

Hello 

<?PHP
	echo "Hello its tesing....";
?>
this is the code is http://dev.ticketchest.com/test.php and i can't see any result this is the problem same is the case of loader.php I can't see any result. seems if its not rendering it.

don't know wots the exect problem
Last edited by itsmani1 on Tue Oct 17, 2006 5:06 am, edited 1 time in total.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

and what's the contents of loader.php?
What about static html files?
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

If i remove this files then it gives me error, wot ever file i access it will give me error.
Here is loader.php

Code: Select all

<?php //00396
           // Encrypted Code
?>
NiqtARD2L0RQ6P2uClR5i+J+3R1Kyui6UpkLebW1Y0lbQQ6oy6x3xvlQSeRfNV9gIHo
vxJyYWDRDr6DuT9x2UMrnRmPN9IHl503ibu0b+ghvG/iHt7xr9L/iHPemLC=
feyd | we don't need code snippets breaking the page layout. Snippet retooled a bit.
Last edited by itsmani1 on Tue Oct 17, 2006 10:47 pm, edited 2 times in total.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

If possible I would trash the whole installation and start again. Slowly, step-by-step, testing each step.
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

yes this will be the final thing
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

volka wrote:If possible I would trash the whole installation and start again. Slowly, step-by-step, testing each step.
don't you think is there any other solution
Post Reply