PDA

View Full Version : PHP ob_start caused error


maofukaialh
09-15-2010, 06:46 AM
ob_start ();
php code to use ob_start function that caused the error

====================
Error Description
====================
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.NoSuchMethodError: com.caucho.vfs.TempStream.openRead(Z)Lcom/caucho/vfs/ReadStream;
com.caucho.quercus.servlet.QuercusServletImpl.serv ice(QuercusServletImpl.java:229)
com.caucho.quercus.servlet.QuercusServlet.service( QuercusServlet.java:353)
javax.servlet.http.HttpServlet.service(HttpServlet .java:717)

root cause

java.lang.NoSuchMethodError: com.caucho.vfs.TempStream.openRead(Z)Lcom/caucho/vfs/ReadStream;
com.caucho.quercus.env.OutputBuffer.doFlush(Output Buffer.java:226)
com.caucho.quercus.env.OutputBuffer.close(OutputBu ffer.java:300)
com.caucho.quercus.env.Env.popOutputBuffer(Env.jav a:943)
com.caucho.quercus.env.Env.close(Env.java:4544)
com.caucho.quercus.servlet.QuercusServletImpl.serv ice(QuercusServletImpl.java:206)
com.caucho.quercus.servlet.QuercusServlet.service( QuercusServlet.java:353)
javax.servlet.http.HttpServlet.service(HttpServlet .java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.

emil
09-15-2010, 09:43 PM
Looks like you upgraded the Quercus jar, but not the resin-kernel.jar. Make sure you grab all the Quercus libraries from the same version.

Best,
Emil