Delicious      Technorati      Blinklist      Furl      Reddit

TimeTrex Time and Attendance

TimeTrex Time and Attendance


* FAQ    * Search
* Login   * Register

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Mon Sep 26, 2016 11:44 am 
Offline

Joined: Tue Sep 11, 2007 6:05 am
Posts: 23
I've got TimeTrex installed on my FreeBSD-10.3-RELEASE server. I tried to follow the instructions in the README.txt file and it all started out well, but I've seem to hit a snag. The browser window has a small dialog with the word initializing and a progress bar that made it to the far right. But that's where it stalled. I don't seem to have any idea on what to try next. Any advice would be appreciated.

I'm running PostgreSQL-9.5 with apache-2.4+php7.0, all installed from the ports collection. Apache and php are working as verified by the php.info page. PostgreSQL seems okay to it's running and showing up in the processes.


Top
 Profile  
 
PostPosted: Mon Sep 26, 2016 11:52 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7224
Can you please post a full uncropped screenshot of what you are seeing?


Top
 Profile  
 
PostPosted: Wed Sep 28, 2016 2:12 am 
Offline

Joined: Tue Sep 11, 2007 6:05 am
Posts: 23
Thanks for the assistance. Here is the screen shot of the web page. I'm using Chrome on a Windows 10 Pro desktop. The first progress bar starts and quickly fills the length of itself but then it freezes like this indefinitely.


Attachments:
TimetrexScreenShot.png
TimetrexScreenShot.png [ 27.5 KiB | Viewed 1140 times ]
Top
 Profile  
 
PostPosted: Wed Sep 28, 2016 7:47 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7224
Please check your Apache/PHP or TimeTrex error logs for more information. There is likely a problem with your setup.


Top
 Profile  
 
PostPosted: Wed Sep 28, 2016 5:06 pm 
Offline

Joined: Tue Sep 11, 2007 6:05 am
Posts: 23
I found this in the apache error log file:
Quote:
[Wed Sep 28 09:05:21.045366 2016] [:error] [pid 6852] [client 10.0.0.8:54421] PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/local/www/apache24/data/timetrex/interface/html5/global/APIGlobal.js.php:90\nStack trace:\n#0 {main}\n thrown in /usr/local/www/apache24/data/timetrex/interface/html5/global/APIGlobal.js.php on line 90, referer:10.0.0.254/timetrex/interface/html5/index.php?installer=1&disable_db=1&external_installer=0


Please note that I had to leave the "http://" part off the address because the forum interface kept turning it into an address and truncating it.


Top
 Profile  
 
PostPosted: Thu Sep 29, 2016 8:36 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7224
Please install the PHP JSON extension, this is normally included by PHP out-of-the-box, but for some reason it isn't on your system.


Top
 Profile  
 
PostPosted: Fri Sep 30, 2016 4:47 am 
Offline

Joined: Tue Sep 11, 2007 6:05 am
Posts: 23
Okay, thanks once again for the assistance. I installed the php json extension, along with several others that defaulted with the port. I saw it in the cleanup status lines after the port finished installing.
Quote:
===> Cleaning for php70-json-7.0.11
So it's in. I then retried the install from a web browser on my desktop and it hit the exact same error as before. And just as before the forum interface keeps turning part of this message into a URL so don't get confused where I substituted the back slashes for forward slashes. The only quick work around I could think of for this...
Quote:
[Fri Sep 30 11:33:23.223078 2016] [:error] [pid 1894] [client 10.0.0.4:51001] PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/local/www/apache24/data/timetrex/interface/html5/global/APIGlobal.js.php:90\nStack trace:\n#0 {main}\n thrown in /usr/local/www/apache24/data/timetrex/interface/html5/global/APIGlobal.js.php on line 90, referer: http:\\10.0.0.254/timetrex/interface/html5/index.php?installer=1&disable_db=1&external_installer=0


Top
 Profile  
 
PostPosted: Fri Sep 30, 2016 8:17 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7224
The extension may be installed, but sometimes you still need to enable it in the php.ini file (or however FreeBSD handles enabling PHP modules).


Top
 Profile  
 
PostPosted: Sun Oct 02, 2016 4:11 pm 
Offline

Joined: Tue Sep 11, 2007 6:05 am
Posts: 23
Okay, sorry once again to be such a pest but I really would like to get this working on my internal FreeBSD server before I present it to the clients. Here is what I can tell you I've done.

The json.so extension is supposedly in there. I also added a line for it in the php.ini file and I would get a duplicate. So I took it back out and apparently it works from the extension.ini file, not the php.ini file. I don't pretend to fully understand this so take what I say with a grain of salt. Here are a couple of screenshots from when I run info.php:

When I run attempt to load the page in my newly built Windows 10 with Edge web browser it keeps saying that it can't reach this page. At least a few days ago the script did try to run from another machine using Firefox browser, but tonight it's not even letting me get the install page loaded.

I turned off the firewall on the Windows machine just to be sure but it's still a no go.


Attachments:
Json02.png
Json02.png [ 2.44 KiB | Viewed 1107 times ]
Json01.png
Json01.png [ 48.97 KiB | Viewed 1107 times ]
Top
 Profile  
 
PostPosted: Mon Oct 03, 2016 7:56 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7224
If things have changed, please include your TimeTrex or Apache/PHP error logs as the error is likely different now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Time and Attendance




Powered by phpBB® Forum Software © phpBB Group