<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thilo,<br>
<br>
<div class="moz-cite-prefix">On 30/08/2018 09:30, Thilo Schweizer
via ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!e1aa5c947726f7b1fe586220b80f2c25b375058cefd3ba1eb230273415dcbbbb782d547cfba99317f122708ed05357cd2f3d1d447af851281a4a2042f232697f!@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:"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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
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;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Arial",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@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:10.0pt;font-family:"Arial",sans-serif">Good
morning,<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></p>
</div>
</blockquote>
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>
<blockquote type="cite"
cite="mid:WM!e1aa5c947726f7b1fe586220b80f2c25b375058cefd3ba1eb230273415dcbbbb782d547cfba99317f122708ed05357cd2f3d1d447af851281a4a2042f232697f!@mx.jul.es">
<div class="WordSection1">
<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.</span></p>
</div>
</blockquote>
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 <tt>./5-httpd-php.sh</tt>.
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 class="moz-txt-link-freetext" href="https://zend.to/timezone.php">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>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'If I were a Brazilian without land or money or the means to feed
my children, I would be burning the rain forest too.' - Sting
<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>