file type error

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Post Reply
neiliob1973
Posts: 2
Joined: Mon Dec 04, 2017 3:12 pm

file type error

Post by neiliob1973 » Mon Dec 04, 2017 4:16 pm

I have just finished a fresh install of TimeTrex Community version 11 in ubuntu server 16.04, via the .deb installer.
I keep getting the error "Incorrect file type, must be a JPG or PNG". I have attempted to upload jpg, png, JPG, PNG...nothing has worked.
Before I go exploring in the config files, maybe there's something I missed.
Any suggestions?

I have attached my stats, as well as the error message.

THNX!
Attachments
TimeTrex-version.png
TimeTrex-version.png (114.11 KiB) Viewed 22 times
TimeTrex_Image_upload_error.png
TimeTrex_Image_upload_error.png (148.49 KiB) Viewed 22 times

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

Re: file type error

Post by shaunw » Mon Dec 04, 2017 6:18 pm

Have you tried a different web browser? Its possible that your web browser is sending the file with the wrong MIME type.

If you enabling logging in the TimeTrex .ini file, and check your TimeTrex log, it will will say what the MIME type its receiving is, on a line that contains: "Incorrect mime_type" (without quotes)

neiliob1973
Posts: 2
Joined: Mon Dec 04, 2017 3:12 pm

Re: file type error

Post by neiliob1973 » Mon Dec 04, 2017 6:29 pm

ok, thnx!
Initially used Chromium. Tried Chrome and Firefox, but no luck. I'll dig into the .ini file tomorrow and see what I can find.

THNX again!

Post Reply