Showing results for 
Search instead for 
Did you mean: 

Unable to get error messages on linux

Former Member
0 Kudos

Hi All,

I've got a strange problem.

In the follow I assume the all of you have used the test class saprfc_test.php

When I use the rfc library on a Windows server, if the data are wrong (the username the password the host ect) I got a error message with describe the error.

I made the same installation on Centos5, Ubuntu 8 and Fedora 9: it works fine only if the data are correct. In that case I can call successfully any bapi I want. If any information is wrong I don't get a error message. Simply the browser load a blank page.

Have you any idea of this weird behaviour?

On unix are you able to get error messages with the saprfc_test class?

Thank you very much


View Entire Topic
Former Member
0 Kudos

hi massimo,

i suppose it doesn't have to do anything with the script. you probably have the default php.ini settings on, one of which is display_errors=Off.

locate your php.ini and find the lines

error_reporting  =  E_ALL

; Print out errors (as a part of the output).  For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below).  Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = Off

probably you have to tune this a little