Unable to import ANY data

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Post Reply
RevDarkman
Posts: 6
Joined: Thu Nov 12, 2015 8:48 am

Unable to import ANY data

Post by RevDarkman » Fri May 18, 2018 2:09 am

Hi all

Just install 11.2.2 on Ubuntu with PHP 7 and apache 2 with postgres.

Install works fine, adding data manually works fine, everything in the interface works as it should but none of the importing works, stop saying ERROR: Unable to upload file."

This happens at stage 2 of the import, upon clicking next after selecting the file.

mikeb
Posts: 435
Joined: Thu Jul 27, 2006 11:58 am

Re: Unable to import ANY data

Post by mikeb » Fri May 18, 2018 9:05 am

Likely a permissions issue, you will need to enable debug logging and attach the log here. For instructions on doing that please see: viewtopic.php?f=6&t=89

RevDarkman
Posts: 6
Joined: Thu Nov 12, 2015 8:48 am

Re: Unable to import ANY data

Post by RevDarkman » Mon May 21, 2018 1:51 am

I have enabled debug but am getting no logs. /var/log/timetrex is empty... I'll keep at it!

Manually entering data works just fine...

RevDarkman
Posts: 6
Joined: Thu Nov 12, 2015 8:48 am

Re: Unable to import ANY data

Post by RevDarkman » Mon May 21, 2018 2:21 am

Code: Select all

Cannot serve directory /usr/share/timetrex/html/interface/install/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
Here's the only error I have found so far..

RevDarkman
Posts: 6
Joined: Thu Nov 12, 2015 8:48 am

Re: Unable to import ANY data

Post by RevDarkman » Mon May 21, 2018 7:32 am

Fixed by changing the permissions of:

/var/lib/timetrex
/var/cache/timetrex


to 775

mikeb
Posts: 435
Joined: Thu Jul 27, 2006 11:58 am

Re: Unable to import ANY data

Post by mikeb » Tue May 22, 2018 4:56 pm

During the installation process System Requirements check it should check and notify you have any permission problems.

RevDarkman
Posts: 6
Joined: Thu Nov 12, 2015 8:48 am

Re: Unable to import ANY data

Post by RevDarkman » Fri May 25, 2018 5:16 am

Well it didn't for some reason, but all ok now and testing continues!

Post Reply