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 »

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: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Unable to import ANY data

Post by mikeb »

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
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
RevDarkman
Posts: 6
Joined: Thu Nov 12, 2015 8:48 am

Re: Unable to import ANY data

Post by RevDarkman »

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 »

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 »

Fixed by changing the permissions of:

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


to 775
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Unable to import ANY data

Post by mikeb »

During the installation process System Requirements check it should check and notify you have any permission problems.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
RevDarkman
Posts: 6
Joined: Thu Nov 12, 2015 8:48 am

Re: Unable to import ANY data

Post by RevDarkman »

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