473,756 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3725
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 misconfiguratio n and was unable
to complete your request.

Please contact the server administrator, pm*****@mathwor ks.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=trtrtrtr tr: matweb.exe, referer:
http://192.168.90.84/upload.php3

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


"Erwin Moller"
<si************ *************** *************** @spamyourself.c om> 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*****@mathwo rks.fr> a écrit dans le message de news:
di**********@fr ed.mathworks.co m...
Hi Erwin,

The files are in:

\\home-toaster\public\ Patrick_Masson\ tmw

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

Error web:

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

Please contact the server administrator, pm*****@mathwor ks.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=trtrtrtr tr: matweb.exe, referer:
http://192.168.90.84/upload.php3

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


"Erwin Moller"
<si************ *************** *************** @spamyourself.c om> 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 misconfiguratio n 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=trtrtrtr tr: 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
7606
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 end of script headers" for my simple test scripts PHP runs fine from the command line, incidentally I tried changing the doc_root in php.ini from blank to the path of htdocs -- no difference.
1
6918
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
4061
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 4.1.29/JBoss 3.0.7, mod_jk 2.0.43 on Solaris 9, Intranet environment, Cocoon apps.
1
11455
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 4.1.29/JBoss 3.0.7, mod_jk 2.0.43 on Solaris 9, Intranet environment. Everything is fine on the first instance, but on the second instance when I do http://server2,
0
6372
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 4.1.29/JBoss 3.0.7, mod_jk 2.0.43 on Solaris 9, Intranet environment. Everything is fine on the first instance, but on the second instance when I do http://server2,
0
1877
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 suspect that this error is an internal error of Crimson (induced certainly by an error in my class because other classes work well). With this internal error it's more difficult for me to find the error in my class.
5
2785
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 Apache, I am trying to use PHP for my gallery and have installed Imagemagick to do so. but now when i am trying to view my pictures i get a square box with NO GD in it. What is it that i am doing wrong? I am running windows XP Home. Off...
4
6966
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 code, but I don't get the expected results. My PHP file:
10
6975
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 of section c. Not sure where went wrong as the web page displayed internal server error. Also, what is the error 543? and error 2114. Where to find the list of errors in websites as it is not the standard apache error. I could not find...
0
9271
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9838
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9708
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8709
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5140
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3805
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3354
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2665
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.