I am running TimeTrex 2.2.11 on a Ubuntu linux server w/ MySQL. When I run the import_users.php from a browser I am getting "This script can only be called from the Command Line." Can I get some instructions on how to do this? I have over 100 employees to enter and importing a csv is obviously the easiest way to do it. Thanks in advance for any help!
-Shawn
Error when running import_users.php
-
- Posts: 12
- Joined: Wed May 14, 2008 11:05 am
- Location: Michigan
- Contact:
You need to run the script from the command line with the proper command line options as well.
Something like this:
Something like this:
Code: Select all
php /var/www/timetrex/tools/import/import_users.php