Mantis - Quercus
Viewing Issue Advanced Details
590 crash always 12-28-05 01:47 05-06-06 14:24
administrator  
ferg  
normal  
closed  
fixed  
none    
none 3.0.19  
0000590: trying to impement gallery vsn 1.5.1 vias Quercus
In the index.php file there are a number of lines that use the defined function
e.g.
$postnuke = defined('_PN_VERSION_ID') ? true : false;

Quercus seems not to recognise this
com.caucho.quercus.QuercusRuntimeException: 'defined' is an unknown function.
[defined]
    at com.caucho.quercus.env.Env.error(Env.java:2281)
    at com.caucho.quercus.env.Env.error(Env.java:2114)
    at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:132)
    at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:96)
    at com.caucho.quercus.expr.Expr.evalBoolean(Expr.java:428)
    at com.caucho.quercus.expr.ConditionalExpr.eval(ConditionalExpr.java:70)
    at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:76)
    at com.caucho.quercus.expr.Expr.evalTop(Expr.java:300)
    at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:74)
    at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:111)
    at com.caucho.quercus.program.PhpProgram.execute(PhpProgram.java:259)
    at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:73)
    at com.caucho.quercus.page.PhpPage.executeTop(PhpPage.java:116)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:194)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
    at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:209)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:267)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:388)
    at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
    at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
    at java.lang.Thread.run()V(Unknown Source)

There are no notes attached to this issue.