Hi guys, The problem is the following: 2 servers have the same php code+ .htaccess files, these files are updated via svn. The database is one for both servers. The problem is that main server doesn't work as it should. For example, when the user is logged, page is empty. I have ftp access only to the test server and have to find the error. THANKS
I guess the main server runs a "svn update ." on your demand, doesn't it? Is PHP showing warning/error message on HTML? If it isn't, is it logging errors to a file you can see? If you can see error output you are lost. All you can do is guess.
yes, it does nothing, just a black page I assume this could be a fatal error somewhere in the code, because errors reporting turned off on live server
Production PHP should log to /var/log/apache/error.log or somewhere else. You need to get that log in oder to solve the problem. It could be anything.
Doing so will activate all error/warning messages. That won't change where those messages are sent. If you want those messages to be sent to HTML output you could turn this option via ini_set() -> http://ar2.php.net/manual/en/errorfunc.configuration.php#ini.display-errors Doing this to a production system is strongly discouraged.
Hi guys , I believe I have found the error; Can the cookies assigned after some html output produce fatal error? On testing server the same code works well. I can also manually add a cookie to my browser and after that the production server shows a blank page error_reporting, yes, turned off on production server
Any header or cookie sent after HTML output will produce a warning/error. I don't think a fatal error could be produced.