Network connection was lost

Ask your questions regarding TimeTrex installation here.
Post Reply
deker0
Posts: 3
Joined: Sat Jul 30, 2016 10:14 pm

Network connection was lost

Post by deker0 » Sat Jul 30, 2016 10:21 pm

Hi all, I just found out about Timetrex and decided to give it a try. I keep getting stuck at the DB credentials step -

I am using Fedora 20 as my OS, Timetrex 9.1.2, MariaDB (MySQL), PHP 5.5.26.

I unzip the download into /var/www/html (Apache root), then go to http://localhost/timetrex/interface/install/install.php

Requirements check goes ok, then I am prompted for DB information. I've already created the DB in advance with username and pass.

It says - "The network connection was lost. Please check your network connection then try again."


Thanks in advance.

shaunw
Posts: 7353
Joined: Tue Sep 19, 2006 2:22 pm

Re: Network connection was lost

Post by shaunw » Mon Aug 01, 2016 11:55 am

Can you please post a screenshot and any errors from your log files.

See this FAQ for more information:
http://forums.timetrex.com/viewtopic.php?f=6&t=89

deker0
Posts: 3
Joined: Sat Jul 30, 2016 10:14 pm

Re: Network connection was lost

Post by deker0 » Mon Aug 01, 2016 12:38 pm

So, I managed to resolve it, the issue was related to the timezone setting.

Find your timezone here - http://php.net/manual/en/timezones.america.php

And then enter it into your php.ini file and restart your web server (Apache in my case).

DrK
Posts: 8
Joined: Fri Jul 29, 2016 1:03 am

Re: Network connection was lost

Post by DrK » Tue Aug 02, 2016 10:18 am

Hi, I too had network lost error but the TZ change didn't fix it. I verified the change in phpinfo() as

date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezone Europe/London

My error is:
Capture4.PNG
On the page it refers to a username and password for the time management. Is this a linux user name or sql username. If the latter do I need to create it, or does the install do it for me, I note this but it is 10 years old so it may be automated now...
http://forums.timetrex.com/viewtopic.php?f=6&t=65

Where should I check next please?

Setup:
TimeTrex_Community_Edition_v9.1.2 on Linux 4.4.0-31-generic
PHP Version 7.0.8-0ubuntu0.16.04.1

shaunw
Posts: 7353
Joined: Tue Sep 19, 2006 2:22 pm

Re: Network connection was lost

Post by shaunw » Tue Aug 02, 2016 11:54 am

The actual cause of the issue likely wasn't the timezone setting itself, but more likely the fact that you have your PHP configure to display error messages, which corrupts the data being sent to the browser and results in the network connection lost error message. So the "Network Connection Lost" error during the installation wizard is most likely a problem with the server configuration. In production environments, PHP should never have display error messages enabled for this and many other reasons.

DrK: Please start a new topic for your issue, as its unlikely to be related.

Post Reply