<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    it is also here <a class="moz-txt-link-freetext" href="http://code.vtiger.com/vtiger/vtigercrm/issues/56">http://code.vtiger.com/vtiger/vtigercrm/issues/56</a>
    with a suggested one line patch, change line 39 of
    includes/main/WebUI.php to<br>
    <br>
    if ($userid &&
    vglobal('application_unique_key')==$_SESSION['app_unique_key']) {<br>
    <br>
    so that it checks that your session is one for the unique key of the
    instance. I am not sure if there is a better way to do it, but this
    should work whatever your apache settings are.<br>
    <br>
    Alan.<br>
    <br>
    <div class="moz-cite-prefix">On 22/04/16 12:38, Błażej Pabiszczak
      wrote:<br>
    </div>
    <blockquote
      cite="mid:a1919c684923771ddbb15be09b6c8c9a@yetiforce.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p lang="en-US">@Preexo</p>
      <p lang="en-US">Your problem is nothing new, every novice Vtiger
        programmer had a problem with it, you can find dozens of topics
        in Google, I even answered some of them, they all were related
        to this particular problem.</p>
      <p><span>The problem was discussed 10 years ago, here's one of
          these topics:<br>
          <a moz-do-not-send="true"
href="https://forums.vtiger.com/index.php?p=/discussion/16927/multiple-installations-on-the-same-apache-engine/p1"
            target="_blank" rel="noreferrer">https://forums.vtiger.com/index.php?p=/discussion/16927/multiple-installations-on-the-same-apache-engine/p1</a>.
          The solution itself is very simple, it's enough to separate
          sessions in the application [if Apache allows for that].</span></p>
      <p lang="en-US">You can find hundreds of problems like this one,
        they result from the fact that Vtiger doesn't introduce changes,
        and doesn't allow users to introduce them. If the users could
        introduce changes the problem would've been fixed 10 years ago.</p>
      <p lang="en-US">In our system it was one of the first things we
        changed, because for us it was a security error in a way.</p>
      <div>---<br>
        <div>Z poważaniem / Regards</div>
        <div> </div>
        <div><strong>Błażej Pabiszczak</strong></div>
        <div><em>Chief Executive Officer</em></div>
        <div>M: +48.884999123<br>
          E: <a moz-do-not-send="true" title="Mail do Błażej Pabiszczak"
            href="mailto:b.pabiszczak@yetiforce.com">b.pabiszczak@yetiforce.com</a></div>
        <hr>
        <p><span>YetiForce 3.0 LTS has arrived! </span><a
            moz-do-not-send="true"
            href="https://gitdeveloper.yetiforce.com/" rel="noreferrer">Test</a><span> the
            latest, most innovative open source system in the world, and
          </span><a moz-do-not-send="true"
            href="https://github.com/YetiForceCompany/YetiForceCRM"
            rel="noreferrer">join</a><span> our community.</span></p>
      </div>
      <p> </p>
      <p>W dniu 2016-04-22 10:07, Preexo napisał(a):</p>
      <blockquote type="cite" style="padding: 0 0.4em; border-left:
        #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
        <div class="pre" style="margin: 0; padding: 0; font-family:
          monospace">I just wasted half an hour of my life trying to get
          my head around this until<br>
          I realized it's just the session. Because I tried installing a
          dev<br>
          environment with a old session from the old dev environment in
          my browser.<br>
          This error comes up when installing a new vtiger with an old
          vtiger session<br>
          in the browser. :<br>
          <br>
          ```<br>
          PHP Fatal error:  Call to a member function Execute() on a
          non-object in<br>
/var/lib/shared/websites/custom/www/crmdev/include/database/PearDatabase.php<br>
          on line 357<br>
          ```<br>
          <br>
          I just leave this here for future reference. Close the
          browser, delete the<br>
          session, everything is fine...<br>
          <br>
          <br>
          <br>
          --<br>
          View this message in context: <a moz-do-not-send="true"
href="http://vtiger-crm.2324883.n4.nabble.com/Installing-vtiger-with-an-old-session-tp18855.html">http://vtiger-crm.2324883.n4.nabble.com/Installing-vtiger-with-an-old-session-tp18855.html</a><br>
          Sent from the vtigercrm-developers mailing list archive at
          Nabble.com.<br>
          _______________________________________________<br>
          <a moz-do-not-send="true" href="http://www.vtiger.com/">http://www.vtiger.com/</a></div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
    </blockquote>
    <br>
  </body>
</html>