0 Replies Latest reply on Jun 8, 2010 1:00 PM by hectorgonzalez

    $SESSION and $_SESSION is an undefined variable

      Hello,

       

      After a succesfull installation of Apache as Load Balancer + Cluster + JBoss-5.1.0.GA + Quercus + Win2K3

       

      I tested several php files to demonstrate that works, like phpinfo, create and retrieve records to/from MySQL; before to attempt to install Joomla 1.5.18

       

      I discovered that I have to copy the joomla installation folder under quercus, in order to be able to see the joomla/installation/index.php page.

       

      Saddly, I can see all page, however the very first lines, this is what I get:

       

      C:\jboss-5.1.0.GA\server\all\deploy\quercus.war\joomla\libraries\joomla\import.php:33: Notice: $_SESSION is an undefined variable C:\jboss-5.1.0.GA\server\all\deploy\quercus.war\joomla\libraries\joomla\import.php:33: Notice: $_SESSION is an undefined variable C:\jboss-5.1.0.GA\server\all\deploy\quercus.war\joomla\libraries\joomla\import.php:33: Notice: $SESSION is an undefined variable

       

      I am able to see everything else from the page, which I attached as print screen

       

      I surf a little bit at Quercus site http://www.caucho.com/resin-javadoc/com/caucho/quercus/env/package-summary.html and says:

       

      ResinSessionArrayValue  Represents the $_SESSION

      SessionArrayValue          Represents the $_SESSION

       

      When I run phpinfo(); under Quercus this is what I get:

      Quercus

      PHP Version => 5.2.0
      System => Windows 2003 5.2 x86
      Build Date => 20091124
      Configure Command => n/a
      Server API => CGI
      Virtual Directory Support => disabled
      Configuration File (php.ini) Path => null
      PHP API => 20031224
      PHP Extension => 20041030
      Debug Build => no
      Thread Safety => enabled
      Registered PHP Streams => php, file, http, https
      


      I am confuse ...

      *** Do I need to declare the class or package which has the ResinSessionArrayValue  and SessionArrayValue  in the import.php file or

      *** Do I need to setup Quercus and how, in order that can read the setting on php.ini?

       

      Thanks in advance,

      Hector