Anonymous | Login | Signup for a new account | 11-22-2024 02:09 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0003980 | [Quercus] | crash | always | 04-03-10 20:19 | 04-11-10 16:30 | |||||||
Reporter | dleute | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | Platform | ||||||||
Status | new | OS | ||||||||||
Projection | none | OS Version | ||||||||||
ETA | none | Fixed in Version | Product Version | 4.0.3 | ||||||||
Product Build | ||||||||||||
Summary | 0003980: using php session_start() always causes a crash | |||||||||||
Description |
I'm using quercus 4.0.3 from ColdFusion 8 and the cf_php tag provided by sean corfield. Whenever any php script calls session_start inside a cf_php tag it results in a crash. See the crash log snippet in additional information. I've worked around my issue temporarily by changing and subclassing some symfony core files to write the data to a standard array which is then serialized to the database the same way a php session would be. As a side effect I was also unable to use session_encode. It should be noted, I'm not expecting the session commands to communicate with the browser or set cookies. I'm happy to pass the session id back to CF to do that. I just need all the internal session functionality so I don't need to change symfony code. |
|||||||||||
Steps To Reproduce | ||||||||||||
Additional Information |
My goal is to use enough of symfony php framework to let coldfusion pass some information to a php session accessed by symfony for the same user logged into CF. My idea was to use symfony itself to do all the session handling so I'm not trying to replicate work already done. My hack has worked. All that remains is getting quercus to allow session_start() to work so I don't have to change symfony core files. java.lang.NullPointerException at com.caucho.quercus.lib.session.SessionModule.session_start(SessionModule.java:421) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:135) at com.caucho.quercus.env.JavaInvoker.callMethod(JavaInvoker.java:686) at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:605) at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:187) at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:127) at com.caucho.quercus.expr.Expr.evalTop(Expr.java:376) at com.caucho.quercus.statement.ExprStatement.execute(ExprStatement.java:67) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:396) at com.caucho.quercus.script.QuercusCompiledScript.eval(QuercusCompiledScript.java:96) at javax.script.CompiledScript.eval(CompiledScript.java:89) |
|||||||||||
Attached Files | ||||||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed. 28 unique queries executed. |