Mantis - Quercus
Viewing Issue Advanced Details
4014 block always 04-25-10 14:15 04-25-10 14:29
tanvir  
 
normal  
new 4.0.6  
open  
none    
none  
0004014: Quercus incompatible with CodeIgniter
We are trying to use Quercus for our CodeIgniter project and are getting spurious "Call to undefined method" errors. Even simple tutorial CodeIgniter projects are getting the same error. The same project running with the same PHP.INI on a standard PHP setup works fine (against the exact same database running on the same machine using the same code, except for the "base_url" config). Download this project and setup the database to see the issue (http://www.bambooinvoice.org/video_files/ci_sample_app.zip). [^]

Is Quercus compatible with CodeIgniter?
 ci_sample_app.zip [^] (900,603 bytes) 04-25-10 14:15
 php.ini [^] (44,719 bytes) 04-25-10 14:26

Notes
(0004542)
tanvir   
04-25-10 14:25   
This is the resin.conf fragment for the project:

            <web-app id="/ci_sample" document-directory="${resinHome}/../ci_sample" character-encoding="utf-8">
                 <servlet-mapping url-pattern="*.php" servlet-class="com.caucho.quercus.servlet.QuercusServlet">
                    <init>
                      <ini-file>php.ini</ini-file>
                    </init>
                  </servlet-mapping>
            </web-app>
(0004543)
tanvir   
04-25-10 14:27   
I have uploaded the PHP.INI that worked in standard setup but failed in Quercus.
(0004544)
tanvir   
04-25-10 14:29   
We are using CodeIgniter version 1.7.2 for our project, but the sample is using 1.4.0 and is also failing in the exact same way.