Exactly... and that's (absolute) is where the /home/username/ comes in at. With a cpanel, if you have uploaded the file to your web root it would usually be /home/username/public_html (if I remember correctly from my short foray into cPanel before I ran screaming the other way).
I know this may sound stupid... but have you made sure that the file that it is referencing can be read by others than the owner. I have sometimes found files that could only be read by the owner and nobody else.
First, test your environment with a simple script.
Code:
$ pwd
/home/floren
$ php -v
PHP 5.6.8 (cli) (built: Apr 23 2015 11:12:29)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
$ vi time.php
$ cat time.php
<?php
var_dump(time());
$ php time.php
int(1431291146)
That importer you are trying to run belongs to a specific location with probably a ton of deps, you cannot just place it anywhere you like. While running the importer from proper location, tailf the PHP server logs to see what is going on. If you are not familiar with all this, hire a consultant. @MattW should be able to sort all this for you, quickly.
His problem is not the missing dep.
His problem is that he can`t locate the script if he call it from php.
This happens on all locations even in his home.
"Unexpected error occurred. Please try again later" is an error returned by XenForo (same happens when clicking the link above), so accessing the script through the CLI is working fine, it is just the script is producing an error.
"Unexpected error occurred. Please try again later" is an error returned by XenForo (same happens when clicking the link above), so accessing the script through the CLI is working fine, it is just the script is producing an error.