473,419 Members | 4,349 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,419 software developers and data experts.

Apache/PHP : internal server error

Hello,

Our configuration :

Apache 2.0.53
PHP 5.0.4
PC Windows 2000
MATLAB 6.1

We work on a consulting project in France which involves MATLAB Web server,
Database Toolbox. This application allows user to have a web interface to
MATLAB functions which invokes database connection to Microsoft Access. This
application, in order to run, needs a proper and safe installation of Apache
and PHP. This MATLAB based application behaves as expected.

The concept of this application is as follow :

- from HTML pages, the user fills specific information and then applies them
(click OK or another action)
- Apache and PHP interprets/gets user's information filled in the HTML page
- Apache and PHP then executes a connection to MATLAB via MATLAB webserver
- MATLAB performs data processing, database conection, savesfigures, and
then returns to Apache and PHP, an html form in a text format, and some
images stored in a specific temporayr folder
- Apache and PHP are supposed to get those informations in order to update
the HTML page and publish this new one (PHP does this work by replacing some
keyword, like $Name by a value returned by MATLAB, insert images produced by
MATLAB in the HTML page)

BUT, in one case, in one specific selection, we run into troubles with this
application. PHP and Apache generate an error :

see error web.txt, for an overview of the error generated by our internet
explorer
see error apache.txt, for an overview of the apache error log
see page html.txt, for an overview of the last HTML page invoked before the
issue pops up

I also put in my public folder apache configuration's file (httpd.conf),
php.ini file and upload.php3, PHP script used to create dynamically the new
HTML page.

Files are stored in \\home-toaster\public\Patrick_Masson\tmw

I would need your help debugging this error and find ways to dig into this
error. As of today, my attempts did fail and I am still faced to a lack of
new ideas to get into it.

All tips and tricks to debug or solve this issue would be highly
appreciated.

Thank you very mcuh for your help.

Best regards,

Patrick Masson

PS: this issue is critical and I would need urgent help.
Oct 12 '05 #1
4 3708
Patrick Masson wrote:
Hello,

Our configuration :

Apache 2.0.53
PHP 5.0.4
PC Windows 2000
MATLAB 6.1

We work on a consulting project in France which involves MATLAB Web
server, Database Toolbox. This application allows user to have a web
interface to MATLAB functions which invokes database connection to
Microsoft Access. This application, in order to run, needs a proper and
safe installation of Apache and PHP. This MATLAB based application behaves
as expected.

The concept of this application is as follow :

- from HTML pages, the user fills specific information and then applies
them (click OK or another action)
- Apache and PHP interprets/gets user's information filled in the HTML
page - Apache and PHP then executes a connection to MATLAB via MATLAB
webserver - MATLAB performs data processing, database conection,
savesfigures, and then returns to Apache and PHP, an html form in a text
format, and some images stored in a specific temporayr folder
- Apache and PHP are supposed to get those informations in order to update
the HTML page and publish this new one (PHP does this work by replacing
some keyword, like $Name by a value returned by MATLAB, insert images
produced by MATLAB in the HTML page)

BUT, in one case, in one specific selection, we run into troubles with
this application. PHP and Apache generate an error :

see error web.txt, for an overview of the error generated by our internet
explorer
see error apache.txt, for an overview of the apache error log
see page html.txt, for an overview of the last HTML page invoked before
the issue pops up

I also put in my public folder apache configuration's file (httpd.conf),
php.ini file and upload.php3, PHP script used to create dynamically the
new HTML page.

Files are stored in \\home-toaster\public\Patrick_Masson\tmw

I would need your help debugging this error and find ways to dig into this
error. As of today, my attempts did fail and I am still faced to a lack of
new ideas to get into it.

All tips and tricks to debug or solve this issue would be highly
appreciated.

Thank you very mcuh for your help.

Best regards,

Patrick Masson

PS: this issue is critical and I would need urgent help.


Hi Patrick,

Why don't you show us the content of the errors?
Where are they?
We cannot browse your personal homedirectory from here...

Regards,
Erwin Moller

Oct 12 '05 #2
Hi Erwin,

The files are in:

\\home-toaster\public\Patrick_Masson\tmw

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""

Error web:

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

Please contact the server administrator, pm*****@mathworks.fr 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.
--------------------------------------------------------------------------------

Apache/2.0.53 (Win32) PHP/5.0.4 Server at 192.168.90.84 Port 80

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""
error Apache:

[Wed Oct 12 11:31:05 2005] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Wed Oct 12 11:31:06 2005] [notice] Child 1764: Exit event signaled. Child
process is ending.
[Wed Oct 12 11:31:07 2005] [notice] Child 1764: Released the start mutex
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: Waiting for 250 worker
threads to exit.
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: All worker threads have
exited.
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: Child process is exiting
[Wed Oct 12 11:31:11 2005] [notice] Parent: Child process exited
successfully.
[Wed Oct 12 11:31:13 2005] [notice] Apache/2.0.53 (Win32) PHP/5.0.4
configured -- resuming normal operations
[Wed Oct 12 11:31:14 2005] [notice] Server built: Feb 10 2005 06:11:34
[Wed Oct 12 11:31:14 2005] [notice] Parent: Created child process 1492
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Child process is running
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Acquired the start mutex.
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Starting 250 worker threads.
[Wed Oct 12 11:32:00 2005] [error] [client 192.168.90.84] malformed header
from script. Bad header=trtrtrtrtr: matweb.exe, referer:
http://192.168.90.84/upload.php3

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""


"Erwin Moller"
<si******************************************@spam yourself.com> a écrit dans
le message de news: 43***********************@news.xs4all.nl...
Patrick Masson wrote:
Hello,

Our configuration :

Apache 2.0.53
PHP 5.0.4
PC Windows 2000
MATLAB 6.1

We work on a consulting project in France which involves MATLAB Web
server, Database Toolbox. This application allows user to have a web
interface to MATLAB functions which invokes database connection to
Microsoft Access. This application, in order to run, needs a proper and
safe installation of Apache and PHP. This MATLAB based application
behaves
as expected.

The concept of this application is as follow :

- from HTML pages, the user fills specific information and then applies
them (click OK or another action)
- Apache and PHP interprets/gets user's information filled in the HTML
page - Apache and PHP then executes a connection to MATLAB via MATLAB
webserver - MATLAB performs data processing, database conection,
savesfigures, and then returns to Apache and PHP, an html form in a text
format, and some images stored in a specific temporayr folder
- Apache and PHP are supposed to get those informations in order to
update
the HTML page and publish this new one (PHP does this work by replacing
some keyword, like $Name by a value returned by MATLAB, insert images
produced by MATLAB in the HTML page)

BUT, in one case, in one specific selection, we run into troubles with
this application. PHP and Apache generate an error :

see error web.txt, for an overview of the error generated by our internet
explorer
see error apache.txt, for an overview of the apache error log
see page html.txt, for an overview of the last HTML page invoked before
the issue pops up

I also put in my public folder apache configuration's file (httpd.conf),
php.ini file and upload.php3, PHP script used to create dynamically the
new HTML page.

Files are stored in \\home-toaster\public\Patrick_Masson\tmw

I would need your help debugging this error and find ways to dig into
this
error. As of today, my attempts did fail and I am still faced to a lack
of
new ideas to get into it.

All tips and tricks to debug or solve this issue would be highly
appreciated.

Thank you very mcuh for your help.

Best regards,

Patrick Masson

PS: this issue is critical and I would need urgent help.


Hi Patrick,

Why don't you show us the content of the errors?
Where are they?
We cannot browse your personal homedirectory from here...

Regards,
Erwin Moller

Oct 12 '05 #3
Hi,

I can send files to you if you give me your email address.

Patrick

"Patrick Masson" <pm*****@mathworks.fr> a écrit dans le message de news:
di**********@fred.mathworks.com...
Hi Erwin,

The files are in:

\\home-toaster\public\Patrick_Masson\tmw

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""

Error web:

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

Please contact the server administrator, pm*****@mathworks.fr 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.
--------------------------------------------------------------------------------

Apache/2.0.53 (Win32) PHP/5.0.4 Server at 192.168.90.84 Port 80

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""
error Apache:

[Wed Oct 12 11:31:05 2005] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Wed Oct 12 11:31:06 2005] [notice] Child 1764: Exit event signaled. Child
process is ending.
[Wed Oct 12 11:31:07 2005] [notice] Child 1764: Released the start mutex
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: Waiting for 250 worker
threads to exit.
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: All worker threads have
exited.
[Wed Oct 12 11:31:10 2005] [notice] Child 1764: Child process is exiting
[Wed Oct 12 11:31:11 2005] [notice] Parent: Child process exited
successfully.
[Wed Oct 12 11:31:13 2005] [notice] Apache/2.0.53 (Win32) PHP/5.0.4
configured -- resuming normal operations
[Wed Oct 12 11:31:14 2005] [notice] Server built: Feb 10 2005 06:11:34
[Wed Oct 12 11:31:14 2005] [notice] Parent: Created child process 1492
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Child process is running
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Acquired the start mutex.
[Wed Oct 12 11:31:14 2005] [notice] Child 1492: Starting 250 worker
threads.
[Wed Oct 12 11:32:00 2005] [error] [client 192.168.90.84] malformed header
from script. Bad header=trtrtrtrtr: matweb.exe, referer:
http://192.168.90.84/upload.php3

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""


"Erwin Moller"
<si******************************************@spam yourself.com> a écrit
dans le message de news: 43***********************@news.xs4all.nl...
Patrick Masson wrote:
Hello,

Our configuration :

Apache 2.0.53
PHP 5.0.4
PC Windows 2000
MATLAB 6.1

We work on a consulting project in France which involves MATLAB Web
server, Database Toolbox. This application allows user to have a web
interface to MATLAB functions which invokes database connection to
Microsoft Access. This application, in order to run, needs a proper and
safe installation of Apache and PHP. This MATLAB based application
behaves
as expected.

The concept of this application is as follow :

- from HTML pages, the user fills specific information and then applies
them (click OK or another action)
- Apache and PHP interprets/gets user's information filled in the HTML
page - Apache and PHP then executes a connection to MATLAB via MATLAB
webserver - MATLAB performs data processing, database conection,
savesfigures, and then returns to Apache and PHP, an html form in a text
format, and some images stored in a specific temporayr folder
- Apache and PHP are supposed to get those informations in order to
update
the HTML page and publish this new one (PHP does this work by replacing
some keyword, like $Name by a value returned by MATLAB, insert images
produced by MATLAB in the HTML page)

BUT, in one case, in one specific selection, we run into troubles with
this application. PHP and Apache generate an error :

see error web.txt, for an overview of the error generated by our
internet
explorer
see error apache.txt, for an overview of the apache error log
see page html.txt, for an overview of the last HTML page invoked before
the issue pops up

I also put in my public folder apache configuration's file (httpd.conf),
php.ini file and upload.php3, PHP script used to create dynamically the
new HTML page.

Files are stored in \\home-toaster\public\Patrick_Masson\tmw

I would need your help debugging this error and find ways to dig into
this
error. As of today, my attempts did fail and I am still faced to a lack
of
new ideas to get into it.

All tips and tricks to debug or solve this issue would be highly
appreciated.

Thank you very mcuh for your help.

Best regards,

Patrick Masson

PS: this issue is critical and I would need urgent help.


Hi Patrick,

Why don't you show us the content of the errors?
Where are they?
We cannot browse your personal homedirectory from here...

Regards,
Erwin Moller


Oct 12 '05 #4
>Error web:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
This error has several causes all of them related to a CGI or PHP
program not generating correct headers (Content-type:, etc.)

1. The program dumped core or aborted before generating any output.
2. The program could not be executed due to incorrect permissions
(either Apache or OS) or missing shared libraries.
3. The program generated error messages *BEFORE* the Content-type
header about things like missing include files or libraries,
or debugging code is misplaced.
4. The program forgot to output the Content-type header or the blank
line separating the headers from the content.
[Wed Oct 12 11:32:00 2005] [error] [client 192.168.90.84] malformed header
from script. Bad header=trtrtrtrtr: matweb.exe, referer:
http://192.168.90.84/upload.php3


This error message suggests that something is trying to output
content without headers.
Gordon L. Burditt
Oct 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Seagull Manager | last post by:
Running Apache 1.3, PHP 4.3, and WinXP, configured acc. to instructions on apache manual and php manual (as far as I can see), but getting "internal server error" in browser... log says "Premature...
1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
1
by: olegkon | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat...
1
by: Oleg Konovalov | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat...
0
by: Oleg Konovalov | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat...
0
by: Richard | last post by:
Hello, Where can I transmit an internal error in Crimson? I have written a simple java class that transforms an XML file and writes it in a file. It throws an error I don't understand. I...
5
by: angelhouse | last post by:
Hi, I am total newbie when it comes to Php and Apache so i apologise if this doesnt make sense but i will do my best from what someone has told me: Okay, I am hosting my website from home using...
4
by: liyanage | last post by:
I recently worked on error handling and three related issues/questions came up. 1.) I am trying to trigger Apache ErrorDocument handlers by setting appropriate HTTP status codes in my PHP...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.