<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thilo,<br>
    <br>
    As an easy test, try this:<br>
        1. Ubuntu has multiple php.ini files. The important one for
    ZendTo is /etc/php/72/apache2/php.ini. Make sure your timezone is
    correct in there.<br>
        2. Reboot your Ubuntu server. That will guarantee everything in
    the system agrees on the timezone.<br>
        3. Try logging in to ZendTo.<br>
        4. If that still fails to work properly (i.e. it effectively
    logs you out on 1st click anywhere), edit preferences.php and change
    'cookieTTL' by adding another 0 on the end, so you multiply it to 20
    hours instead of 2 hours (72000 instead of 7200 seconds).<br>
        5. Try ZendTo again.<br>
    <br>
    Let me know how you get on.<br>
    <br>
    Cheers,<br>
    Jules.<br>
    <br>
    <div class="moz-cite-prefix">On 30/08/2018 12:09, Thilo Schweizer
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:WM!017d823cdcbde0b081134d76578d0921edbb058badd11e40a0486cdd1161d22363edea263caab60c881be7936495394c!@mx.jul.es">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.E-MailFormatvorlage17
        {mso-style-type:personal;
        font-family:"Arial",sans-serif;
        color:windowtext;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage21
        {mso-style-type:personal;
        font-family:"Arial",sans-serif;
        color:#1F497D;}
span.E-MailFormatvorlage22
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">Hey
            again,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">Ubuntu
            12 is no longer supported, sorry.<br>
            Ubuntu themselves have 'end-of-life'd it and I can't get PHP
            7 for it.<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><i><span
              style="font-size:10.0pt;font-family:Wingdings;mso-fareast-language:DE">à</span></i><i><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">Yes
              it became clear after I looked at the third party
              repository for php7, no problem and not your fault.</span></i><i><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><br>
              <br>
              <o:p></o:p></span></i></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></b></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></b></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif">But
            now the users doesn‘t stay logged in at all, as soon as the
            site gets refreshed or any button/link is clicked you get
            logged off. So I decided to do a completely fresh install,
            including the os (I switched to OpenSuSE Leap 15.0).
            Everything worked flawless, no problems with the installer
            script anymore. At the end I used the scripts to adopt my
            config files and „tada“, exactly the same issue. I checked
            the timezone (system + php.ini – Europe/Berlin), I tried it
            with http instead of https, I even tried it with the
            original config files and a local test user – same problem!
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif">What
            did I miss?
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif">It’s
            kinda urgent, my colleagues are using zendto very frequently
            and in this state they aren’t able to send any files at all.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">My
            guess would be the timezone. The expiry time (an absolute
            point in time, not just "now + 2 hours") of the session
            cookies are set on the server, but their expiry is handled
            by the user's web browser. So if the timezone on the server
            isn't perfect, it can end up creating cookies that have
            already expired.<br>
            <br>
            Did you re-run the ZendTo Installer *after* you upgraded the
            Ubuntu 12 box to Ubuntu 14? If not, I would strongly advise
            you try that first, particularly stage number 5 (configuring
            Apache and php). You can run the stages individually. Look
            in the Installer directory and you'll see a "Ubuntu-Debian"
            dir. cd into that and just run </span>
          <tt><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">./5-httpd-php.sh</span></tt><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">.
            They work out that they aren't being run by install.sh and
            go and find the file(s) they need on their own.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><i><span
              style="font-size:10.0pt;font-family:Wingdings;mso-fareast-language:DE">à</span></i><i><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">I
              did rerun it, but I’m now on a fresh OpenSuSE Leap 15.0
              with a fresh zendto install, I just took the config files
              from the old zendto installation and converted them with
              the scripts.</span></i><i><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><br>
              <br>
            </span></i><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><br>
            My page about this<br>
                <a href="https://zend.to/timezone.php"
              moz-do-not-send="true">https://zend.to/timezone.php</a><br>
            is a bit out of date, but should help.<br>
            Make sure that /etc/localtime is the correct timezone (on
            some Linuxes it's a symlink into
            /usr/share/zoneinfo/<timezone>, on others it's a copy
            of a file in /usr/share/zoneinfo<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><i><span
              style="font-size:12.0pt;font-family:Wingdings;mso-fareast-language:DE">à</span></i><i><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">Yes,
              I have found that page before and I have checked the
              global timezone several times:<o:p></o:p></span></i></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">timedatectl<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">     
            Local time: Thu 2018-08-30 13:00:27 CEST<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"> 
            Universal time: Thu 2018-08-30 11:00:27 UTC<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">       
            RTC time: Thu 2018-08-30 11:00:26<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">      
            Time zone: Europe/Berlin (CEST, +0200)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">Network
            time on: no<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">NTP
            synchronized: yes<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">RTC
            in local TZ: no<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:windowtext">And
            also I looked for the php ini-files
            (/etc/php7/apache2/php.ini / /etc/php7/cli/php.ini)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">date.timezone
            = 'Europe/Berlin'<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:windowtext">Thank
            you!<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:windowtext">Regards<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:windowtext">Thilo<o:p></o:p></span></p>
        <p class="MsoNormal"><a name="_MailEndCompose"
            moz-do-not-send="true"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"><o:p> </o:p></span></a></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:windowtext;mso-fareast-language:DE">Von:</span></b><span
style="font-family:"Arial",sans-serif;color:windowtext;mso-fareast-language:DE">
                Jules Field [<a class="moz-txt-link-freetext" href="mailto:Jules@Zend.To">mailto:Jules@Zend.To</a>]
                <br>
                <b>Gesendet:</b> Donnerstag, 30. August 2018 11:21<br>
                <b>An:</b> ZendTo Users <a class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to"><zendto@zend.to></a><br>
                <b>Cc:</b> Thilo Schweizer
                <a class="moz-txt-link-rfc2396E" href="mailto:t.schweizer@merkle-partner.de"><t.schweizer@merkle-partner.de></a><br>
                <b>Betreff:</b> Re: [ZendTo] Login session problem
                (Users get logged off as soon as they click on any link)<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><span
            style="font-family:"Arial",sans-serif">Thilo,</span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p></o:p></span></p>
        <div>
          <p class="MsoNormal"><span
              style="font-family:"Arial",sans-serif">On
              30/08/2018 09:30, Thilo Schweizer via ZendTo wrote:<o:p></o:p></span></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Arial",sans-serif">Good
              morning,</span><span
              style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Arial",sans-serif">yesterday
              I ran an upgrade from v4.12 to v5.11-6 using the installer
              script on an Ubuntu VM (ESX-Server). After some troubles
              with Ubuntu 12.04 I ran an in place upgrade to 14.04 and
              finally got it to work.</span><span
              style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
        </blockquote>
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">Ubuntu
            12 is no longer supported, sorry.<br>
            Ubuntu themselves have 'end-of-life'd it and I can't get PHP
            7 for it.<br>
            <br>
            <br>
            <o:p></o:p></span></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Arial",sans-serif">But
              now the users doesn‘t stay logged in at all, as soon as
              the site gets refreshed or any button/link is clicked you
              get logged off. So I decided to do a completely fresh
              install, including the os (I switched to OpenSuSE Leap
              15.0). Everything worked flawless, no problems with the
              installer script anymore. At the end I used the scripts to
              adopt my config files and „tada“, exactly the same issue.
              I checked the timezone (system + php.ini – Europe/Berlin),
              I tried it with http instead of https, I even tried it
              with the original config files and a local test user –
              same problem!
            </span><span
              style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><span
              style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Arial",sans-serif">What
              did I miss?
            </span><span
              style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><span
              style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Arial",sans-serif">It’s
              kinda urgent, my colleagues are using zendto very
              frequently and in this state they aren’t able to send any
              files at all.</span><span
              style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
        </blockquote>
        <p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">My
            guess would be the timezone. The expiry time (an absolute
            point in time, not just "now + 2 hours") of the session
            cookies are set on the server, but their expiry is handled
            by the user's web browser. So if the timezone on the server
            isn't perfect, it can end up creating cookies that have
            already expired.<br>
            <br>
            Did you re-run the ZendTo Installer *after* you upgraded the
            Ubuntu 12 box to Ubuntu 14? If not, I would strongly advise
            you try that first, particularly stage number 5 (configuring
            Apache and php). You can run the stages individually. Look
            in the Installer directory and you'll see a "Ubuntu-Debian"
            dir. cd into that and just run </span>
          <tt><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">./5-httpd-php.sh</span></tt><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">.
            They work out that they aren't being run by install.sh and
            go and find the file(s) they need on their own.<br>
            <br>
            My page about this<br>
                <a href="https://zend.to/timezone.php"
              moz-do-not-send="true">https://zend.to/timezone.php</a><br>
            is a bit out of date, but should help.<br>
            Make sure that /etc/localtime is the correct timezone (on
            some Linuxes it's a symlink into
            /usr/share/zoneinfo/<timezone>, on others it's a copy
            of a file in /usr/share/zoneinfo.<br>
            <br>
            Hope that helps,<br>
            <br>
            <o:p></o:p></span></p>
        <pre><span style="font-family:"Arial",sans-serif">Jules<o:p></o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif">-- <o:p></o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif">Julian Field MEng CEng CITP MBCS MIEEE MACM<o:p></o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif">'If I were a Brazilian without land or money or the means to feed<o:p></o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif"> my children, I would be burning the rain forest too.' - Sting<o:p></o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif"><a href="http://www.Zend.To" moz-do-not-send="true">www.Zend.To</a><o:p></o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif">Twitter: @JulesFM<o:p></o:p></span></pre>
        <pre><span style="font-family:"Arial",sans-serif">PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<o:p></o:p></span></pre>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

How to stop time: kiss.
How to travel in time: read.
How to escape time: music.
How to feel time: write.
How to release time: breathe.

<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
  </body>
</html>