glitzi85 wrote:Hello,
please do not use hundreds of smileys in your post, it is neither useful nor makes it the post better readable.
Post the content from the two files access.log and error.log. You will find them in N:\Program Files\xampp\apache\logs
There you will find the reason why the page was not found.
glitzi
Hi there!
It's really nice to receive a very quick reply from you. Thanks for that! And I'm really so sorry for those STUPID SMILEYS!
I checked both the "access.log" and "error.log" placed in N:\Program Files\xampp\apache\logs . What I found there is:
"access.log" showed:
127.0.0.1 - - [22/Aug/2008:00:33:15 +0530] "GET /info.php HTTP/1.1" 404 1118
127.0.0.1 - - [22/Aug/2008:00:33:15 +0530] "GET /favicon.ico HTTP/1.1" 200 30894
Whereas "error.log" showed:
PHP Warning: PHP Startup: Unable to load dynamic library 'N:\\Program Files\\xampp\\php\\ext\\php_pgsql.dll' - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.\r\n in Unknown on line 0
[Fri Aug 22 00:30:55 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Fri Aug 22 00:30:55 2008] [notice] Server built: Jun 14 2008 19:02:12
[Fri Aug 22 00:30:56 2008] [notice] Parent: Created child process 1708
PHP Warning: PHP Startup: Unable to load dynamic library 'N:\\Program Files\\xampp\\php\\ext\\php_pgsql.dll' - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.\r\n in Unknown on line 0
[Fri Aug 22 00:30:58 2008] [notice] Child 1708: Child process is running
[Fri Aug 22 00:30:58 2008] [notice] Child 1708: Acquired the start mutex.
[Fri Aug 22 00:30:58 2008] [notice] Child 1708: Starting 250 worker threads.
[Fri Aug 22 00:30:58 2008] [notice] Child 1708: Starting thread to listen on port 443.
[Fri Aug 22 00:30:58 2008] [notice] Child 1708: Starting thread to listen on port 80.
[Fri Aug 22 00:33:15 2008] [error] [client 127.0.0.1] script 'N:\Program Files\xampp\htdocs\info.php' not found or unable to stat
So, I went onto uninstall the xampp and reinstalled it in the following location:
N:\xampp
Then again I started the Apache server and typed on the address field of my browser :
http://localhost
It was successful and in return got the xampp index page.
Then I wrote a simple html code and saved it as "hi.html" in location:
N:\xampp\htdocs\hi.html
I also got the "hi.html" page successfully once I typed the following on the address field of my browser:
http://localhost/hi.html
Then again the same old thing happened when I wrote the simple php code as:
<?php
phpinfo();
?>
And saved it as "info.php" in the location:
N:\xampp\htdocs\info.php
Once I typed this on the address field of the browser:
http://localhost/info.php
Here I got the same old error message again which says:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
08/22/08 01:00:54
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6
Then I checked the "access.log" and "error.log" again, where
"access.log" says:
127.0.0.1 - - [22/Aug/2008:00:59:39 +0530] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [22/Aug/2008:00:59:39 +0530] "GET /xampp/ HTTP/1.1" 302 -
127.0.0.1 - - [22/Aug/2008:00:59:39 +0530] "GET /xampp/splash.php HTTP/1.1" 200 1325
127.0.0.1 - - [22/Aug/2008:00:59:39 +0530] "GET /xampp/xampp.css HTTP/1.1" 200 4178
127.0.0.1 - - [22/Aug/2008:00:59:39 +0530] "GET /xampp/img/blank.gif HTTP/1.1" 200 43
127.0.0.1 - - [22/Aug/2008:00:59:39 +0530] "GET /xampp/img/xampp-logo.jpg HTTP/1.1" 200 19738
127.0.0.1 - - [22/Aug/2008:00:59:39 +0530] "GET /favicon.ico HTTP/1.1" 200 30894
127.0.0.1 - - [22/Aug/2008:01:00:54 +0530] "GET /info.php HTTP/1.1" 404 1118
And the "error.log" says:
PHP Warning: PHP Startup: Unable to load dynamic library 'N:\\xampp\\php\\ext\\php_pgsql.dll' - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.\r\n in Unknown on line 0
[Fri Aug 22 00:57:44 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Fri Aug 22 00:57:44 2008] [notice] Server built: Jun 14 2008 19:02:12
[Fri Aug 22 00:57:44 2008] [notice] Parent: Created child process 2424
PHP Warning: PHP Startup: Unable to load dynamic library 'N:\\xampp\\php\\ext\\php_pgsql.dll' - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.\r\n in Unknown on line 0
[Fri Aug 22 00:57:45 2008] [notice] Child 2424: Child process is running
[Fri Aug 22 00:57:45 2008] [notice] Child 2424: Acquired the start mutex.
[Fri Aug 22 00:57:45 2008] [notice] Child 2424: Starting 250 worker threads.
[Fri Aug 22 00:57:45 2008] [notice] Child 2424: Starting thread to listen on port 443.
[Fri Aug 22 00:57:45 2008] [notice] Child 2424: Starting thread to listen on port 80.
[Fri Aug 22 01:00:54 2008] [error] [client 127.0.0.1] script 'N:/xampp/htdocs/info.php' not found or unable to stat
The same old story!!!!!
I'm really confused now and don't know how to fix this problem!
I've no clue what to do now! Please help..