Hi,
I'm getting lots of errors in Sugar since upgrading to 4.2 and restoring the database but the most pressing at the moment is that I can't upgrade, When I go to the upgrade wizard in admin, I get this error:
The following upgrades have been installed:
Warning: unlink(): SAFE MODE Restriction in effect. The script whose uid/gid is 10659/10001 is not allowed to access /var/tmp/7z2v4I owned by uid/gid 2525/0 in /usr/local/psa/home/vhosts/(hostname)/httpdocs/crm/include/utils/file_utils.php on line 66
Specified directory '' for zip file 'cache/upload//upgrades/patch/stage_two.zip' extraction does not exist.
If I then upload the 4.2.1a file I get
Warning: move_uploaded_file(/usr/local/psa/home/vhosts/(hostname)/httpdocs/crm//usr/local/psa/home/vhosts/excellerate.org/httpdocs/crm/cache/upload/SugarSuite-Patch-4[1].2.1a.zip): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/(hostname)/httpdocs/crm/modules/Administration/UpgradeWizard.php on line 84
Warning: move_uploaded_file(): Unable to move '/tmp/php7z2v4I' to '/usr/local/psa/home/vhosts/(hostname)/httpdocs/crm//usr/local/psa/home/vhosts/excellerate.org/httpdocs/crm/cache/upload/SugarSuite-Patch-4[1].2.1a.zip' in /usr/local/psa/home/vhosts/(hostname)/httpdocs/crm/modules/Administration/UpgradeWizard.php on line 84
Not valid upload.
There are a couple of issues here. Firstly, I am running on a proper hosted web service not running Sugar on my own PC so that means I cannot change php.ini. All the other posts on this problem suggest editing php.ini, once again I cannot do that. Previous versions of Sugar ran fine, no errors.
Secondly, config.php points all the temp directories to somewhere inside the Sugar folder. Yes I know about the security implications but have no choice as var/tmp is not accessible to me. And yet Sugar, according to the above error is still trying to access var/tmp.
I checked line 66 and config.php, and the tmp_dir is set to (my host path)/crm/tmp/
The pipeline graph files are being correctly stored in the tmp directory I have configured.
I have set all folders in the Sugar installation to 777 to overcome any permissions problems, yet there it is.
So can anyone tell me why Sugar is still trying to get to /var/tmp/ and how I stop it?
Pete


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks