Internal Server Error
Posted by: solon (---.netway.com.cy)
Date: August 31, 2009 02:11PM

Hey guys, i have been using WAMP for a long time now, and everything worked perfectly... Today with no changes made (its on my local computer so i know for sure) i get the following error:

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

I have no idea what is the problem and why it happened.

Any help would be great.
Thanks in advance,
Solon

Options: ReplyQuote
Re: Internal Server Error
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: August 31, 2009 03:16PM

Look at Apache's error log (left click WAMP tray icon and select Apache > Apache error log). Post the last ten lines from the log.

Options: ReplyQuote
Re: Internal Server Error
Posted by: solon (---.netway.com.cy)
Date: August 31, 2009 03:23PM

Hi, thanks for the reply,
This is my error log. I took todays error log only...

"[Mon Aug 31 14:58:04 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Mon Aug 31 14:58:04 2009] [notice] Server built: Jan 18 2008 00:37:19
[Mon Aug 31 14:58:04 2009] [notice] Parent: Created child process 4264
[Mon Aug 31 14:58:04 2009] [notice] Child 4264: Child process is running
[Mon Aug 31 14:58:04 2009] [notice] Child 4264: Acquired the start mutex.
[Mon Aug 31 14:58:04 2009] [notice] Child 4264: Starting 64 worker threads.
[Mon Aug 31 14:58:04 2009] [notice] Child 4264: Starting thread to listen on port 85.
[Mon Aug 31 15:00:54 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 31 15:00:54 2009] [notice] Child 4264: Exit event signaled. Child process is ending.
[Mon Aug 31 15:00:55 2009] [notice] Child 4264: Released the start mutex
[Mon Aug 31 15:00:56 2009] [notice] Child 4264: All worker threads have exited.
[Mon Aug 31 15:00:56 2009] [notice] Child 4264: Child process is exiting
[Mon Aug 31 15:00:56 2009] [notice] Parent: Child process exited successfully.
[Mon Aug 31 15:00:58 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Mon Aug 31 15:00:58 2009] [notice] Server built: Jan 18 2008 00:37:19
[Mon Aug 31 15:00:58 2009] [notice] Parent: Created child process 2924
[Mon Aug 31 15:00:58 2009] [notice] Child 2924: Child process is running
[Mon Aug 31 15:00:58 2009] [notice] Child 2924: Acquired the start mutex.
[Mon Aug 31 15:00:58 2009] [notice] Child 2924: Starting 64 worker threads.
[Mon Aug 31 15:00:58 2009] [notice] Child 2924: Starting thread to listen on port 80.
[Mon Aug 31 15:01:18 2009] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /web, referer: [localhost]
[Mon Aug 31 15:01:55 2009] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified. : Could not open password file: C:/usr/home/web/.htpasswds/public_html/passwd, referer: [localhost]
[Mon Aug 31 15:09:09 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 31 15:09:09 2009] [notice] Child 2924: Exit event signaled. Child process is ending.
[Mon Aug 31 15:09:10 2009] [notice] Child 2924: Released the start mutex
[Mon Aug 31 15:09:11 2009] [notice] Child 2924: All worker threads have exited.
[Mon Aug 31 15:09:11 2009] [notice] Child 2924: Child process is exiting
[Mon Aug 31 15:09:11 2009] [notice] Parent: Child process exited successfully.
[Mon Aug 31 15:09:12 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Mon Aug 31 15:09:12 2009] [notice] Server built: Jan 18 2008 00:37:19
[Mon Aug 31 15:09:12 2009] [notice] Parent: Created child process 5012
[Mon Aug 31 15:09:12 2009] [notice] Child 5012: Child process is running
[Mon Aug 31 15:09:12 2009] [notice] Child 5012: Acquired the start mutex.
[Mon Aug 31 15:09:12 2009] [notice] Child 5012: Starting 64 worker threads.
[Mon Aug 31 15:09:12 2009] [notice] Child 5012: Starting thread to listen on port 80.
[Mon Aug 31 15:09:19 2009] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /web, referer: [localhost]
[Mon Aug 31 15:13:08 2009] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /web, referer: [localhost]
[Mon Aug 31 15:15:21 2009] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: web, referer: [localhost]
[Mon Aug 31 15:22:14 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 31 15:22:14 2009] [notice] Child 5012: Exit event signaled. Child process is ending.
[Mon Aug 31 15:22:15 2009] [notice] Child 5012: Released the start mutex
[Mon Aug 31 15:22:16 2009] [notice] Child 5012: All worker threads have exited.
[Mon Aug 31 15:22:16 2009] [notice] Child 5012: Child process is exiting
[Mon Aug 31 15:22:16 2009] [notice] Parent: Child process exited successfully.
[Mon Aug 31 15:22:17 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Mon Aug 31 15:22:17 2009] [notice] Server built: Jan 18 2008 00:37:19
[Mon Aug 31 15:22:17 2009] [notice] Parent: Created child process 6084
[Mon Aug 31 15:22:17 2009] [notice] Child 6084: Child process is running
[Mon Aug 31 15:22:17 2009] [notice] Child 6084: Acquired the start mutex.
[Mon Aug 31 15:22:17 2009] [notice] Child 6084: Starting 64 worker threads.
[Mon Aug 31 15:22:17 2009] [notice] Child 6084: Starting thread to listen on port 80.
[Mon Aug 31 15:22:31 2009] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /web, referer: [localhost]
[Mon Aug 31 15:22:32 2009] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /web, referer: [localhost]
[Mon Aug 31 15:22:46 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 31 15:22:46 2009] [notice] Child 6084: Exit event signaled. Child process is ending.
[Mon Aug 31 15:22:47 2009] [notice] Child 6084: Released the start mutex
[Mon Aug 31 15:22:48 2009] [notice] Child 6084: All worker threads have exited.
[Mon Aug 31 15:22:48 2009] [notice] Child 6084: Child process is exiting
[Mon Aug 31 15:22:49 2009] [notice] Parent: Child process exited successfully.
[Mon Aug 31 15:22:49 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Mon Aug 31 15:22:49 2009] [notice] Server built: Jan 18 2008 00:37:19
[Mon Aug 31 15:22:49 2009] [notice] Parent: Created child process 4672
[Mon Aug 31 15:22:50 2009] [notice] Child 4672: Child process is running
[Mon Aug 31 15:22:50 2009] [notice] Child 4672: Acquired the start mutex.
[Mon Aug 31 15:22:50 2009] [notice] Child 4672: Starting 64 worker threads.
[Mon Aug 31 15:22:50 2009] [notice] Child 4672: Starting thread to listen on port 80.
[Mon Aug 31 15:22:53 2009] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /web, referer: [localhost]
[Mon Aug 31 15:22:57 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 31 15:22:57 2009] [notice] Child 4672: Exit event signaled. Child process is ending.
[Mon Aug 31 15:22:58 2009] [notice] Child 4672: Released the start mutex
[Mon Aug 31 15:22:59 2009] [notice] Child 4672: All worker threads have exited.
[Mon Aug 31 15:22:59 2009] [notice] Child 4672: Child process is exiting
[Mon Aug 31 15:22:59 2009] [notice] Parent: Child process exited successfully.
[Mon Aug 31 15:23:00 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Mon Aug 31 15:23:00 2009] [notice] Server built: Jan 18 2008 00:37:19
[Mon Aug 31 15:23:00 2009] [notice] Parent: Created child process 3204
[Mon Aug 31 15:23:00 2009] [notice] Child 3204: Child process is running
[Mon Aug 31 15:23:00 2009] [notice] Child 3204: Acquired the start mutex.
[Mon Aug 31 15:23:00 2009] [notice] Child 3204: Starting 64 worker threads.
[Mon Aug 31 15:23:00 2009] [notice] Child 3204: Starting thread to listen on port 80.
[Mon Aug 31 15:23:02 2009] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /web, referer: [localhost] "

Thanks again

Options: ReplyQuote
Re: Internal Server Error
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: August 31, 2009 03:26PM

The problem I see is in the /web folder there is a configuration issue. Is there a file called .htaccess located in your your /web folder?

post the contents here.

Options: ReplyQuote
Re: Internal Server Error
Posted by: solon (---.netway.com.cy)
Date: August 31, 2009 03:32PM

c2dan thank you very much... That file was not supposed to be there. Thanks again. I removed it an now its ok... And if if possible please answer me this question :

Is there a way to remove(as in not show) "PHP Notice" but still keep showing the "PHP Warnings" and "PHP Errors" from WAMP??

Thanks

Options: ReplyQuote
Re: Internal Server Error
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: August 31, 2009 03:39PM

Yes you can set PHP error reporting to a lower level. Open your php.ini (left click WAMP tray icon and select PHP > PHP.ini)

Scroll down and find this line
error_reporting = E_ALL

And change it to
error_reporting = E_ALL & ~E_NOTICE

Save php.ini and restart the Apache service. Notices will no longer be displayed.

However you should fix your notice errors. It is no good just ignoring them.

Options: ReplyQuote
Re: Internal Server Error
Posted by: solon (---.netway.com.cy)
Date: August 31, 2009 03:41PM

Thanks, i will fix the more important ones, Those i want to ignore are the session notices. I sometimes start a session in the main file and in the file that is included to the main one... So i think its fine right?

Options: ReplyQuote
Re: Internal Server Error
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: August 31, 2009 04:17PM

If you have already called session_start() then you dont need to call it again in files that are being included. session_start should only be called once.

Options: ReplyQuote
Re: Internal Server Error
Posted by: solon (---.netway.com.cy)
Date: August 31, 2009 04:18PM

Yes i know.. but even if i do i dont think it will cause any problems right?

Options: ReplyQuote
Re: Internal Server Error
Posted by: toumimi (---.15.115-78.rev.gaoland.net)
Date: September 01, 2009 02:26PM

Note sure...

Quote of the online php manual about function session_start
Quote

Changelog
4.3.3 - As of now, calling session_start() while the session has already been started will result in an error of level E_NOTICE. Also, the second session start will simply be ignored.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.