localhost/project/index.php doesnt work!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

localhost/project/index.php doesnt work!

Postby slim2hott » 10. March 2009 18:39

ok, i have been able to bring this up a few days ago with the page which says if it is passed or not.
so now, i try to access it but it doesnt show up! it says that remote file server not found or something in opera. in IE it says page not found.

what is happening here? i am running windows and apache is running so is mysql. and yes i checked the documentroot, it is correct.

there is a folder in my htdocs called projects, then a php called index.php

i am trying to install phpwebsite here.

what i type in the address bar is as follows: http://localhost/project and sometimes http://localhost/project/index.php it still doesnt work. http://localhost/ does work, it shows the xampp page.

can any one please help me? thanks.
slim2hott
 
Posts: 4
Joined: 10. March 2009 18:27

Re: localhost/project/index.php doesnt work!

Postby Izzy » 10. March 2009 18:43

Look in the xampp\apache\logs\error.log file for more clues.

BTW you have a folder in the htdocs folder called projects yet you are calling this in your browser http://localhost/project/
Last edited by Izzy on 12. March 2009 08:03, edited 1 time in total.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: localhost/project/index.php doesnt work!

Postby slim2hott » 10. March 2009 19:29

um is that a bad thing? i thought that is what you are ment to do
slim2hott
 
Posts: 4
Joined: 10. March 2009 18:27

Re: localhost/project/index.php doesnt work!

Postby Wiedmann » 10. March 2009 19:32

um is that a bad thing?

If the folder have the name "procjects", it can't work with the "project" in the uri.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: localhost/project/index.php doesnt work!

Postby slim2hott » 10. March 2009 20:08

o i know that. i thought you ment that im not ment to write the folder name after localhost.
slim2hott
 
Posts: 4
Joined: 10. March 2009 18:27

Re: localhost/project/index.php doesnt work!

Postby slim2hott » 10. March 2009 21:36

Here is the error log of what happened. does all of these fit together to say something or what?

Code: Select all
[Tue Mar 10 16:49:38 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 10 16:49:38 2009] [notice] Digest: done
[Tue Mar 10 16:49:38 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Tue Mar 10 16:49:38 2009] [notice] Server built: Dec 10 2008 00:10:06
[Tue Mar 10 16:49:38 2009] [notice] Parent: Created child process 304
[Tue Mar 10 16:49:39 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 10 16:49:39 2009] [notice] Digest: done
[Tue Mar 10 16:49:40 2009] [notice] Child 304: Child process is running
[Tue Mar 10 16:49:40 2009] [notice] Child 304: Acquired the start mutex.
[Tue Mar 10 16:49:40 2009] [notice] Child 304: Starting 250 worker threads.
[Tue Mar 10 16:49:40 2009] [notice] Child 304: Starting thread to listen on port 443.
[Tue Mar 10 16:49:40 2009] [notice] Child 304: Starting thread to listen on port 80.
[Tue Mar 10 16:52:36 2009] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function _() in C:\\Documents and Settings\\******\\My Documents\\xampp\\htdocs\\project\\index.php on line 140
[Tue Mar 10 16:52:51 2009] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function _() in C:\\Documents and Settings\\*****\\My Documents\\xampp\\htdocs\\project\\index.php on line 140
[Tue Mar 10 16:52:57 2009] [error] [client 127.0.0.1] PHP Warning:  Variable passed to each() is not an array or object in C:\\Documents and Settings\\******\\My Documents\\xampp\\htdocs\\xampp\\head.php on line 27, referer: http://localhost/xampp/
[Tue Mar 10 17:01:26 2009] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function _() in C:\\Documents and Settings\\*******\\My Documents\\xampp\\htdocs\\project\\index.php on line 140
[Tue Mar 10 17:01:42 2009] [error] [client 127.0.0.1] PHP Warning:  Variable passed to each() is not an array or object in C:\\Documents and Settings\\******\\My Documents\\xampp\\htdocs\\xampp\\head.php on line 27, referer: http://localhost/xampp/
[Tue Mar 10 17:03:57 2009] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function _() in C:\\Documents and Settings\\*******\\My Documents\\xampp\\htdocs\\index1.php on line 140
[Tue Mar 10 17:30:08 2009] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function _() in C:\\Documents and Settings\\******\\My Documents\\xampp\\htdocs\\project\\index.php on line 140
[Tue Mar 10 17:30:14 2009] [error] [client 127.0.0.1] PHP Warning:  Variable passed to each() is not an array or object in C:\\Documents and Settings\\******\\My Documents\\xampp\\htdocs\\xampp\\head.php on line 27, referer: http://127.0.0.1/xampp/
[Tue Mar 10 17:33:26 2009] [error] [client 127.0.0.1] PHP Warning:  Variable passed to each() is not an array or object in C:\\Documents and Settings\\*******\\My Documents\\xampp\\htdocs\\xampp\\head.php on line 27, referer: http://localhost/xampp/
[Tue Mar 10 17:33:45 2009] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function _() in C:\\Documents and Settings\\*******\\My Documents\\xampp\\htdocs\\project\\index.php on line 140
[Tue Mar 10 17:40:07 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Mar 10 17:40:07 2009] [notice] Child 304: Exit event signaled. Child process is ending.
[Tue Mar 10 17:40:08 2009] [notice] Child 304: Released the start mutex
[Tue Mar 10 17:40:09 2009] [notice] Child 304: All worker threads have exited.
[Tue Mar 10 17:40:09 2009] [notice] Child 304: Child process is exiting
[Tue Mar 10 17:40:10 2009] [notice] Parent: Child process exited successfully.


Thanks.
slim2hott
 
Posts: 4
Joined: 10. March 2009 18:27


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 34 guests