Page 1 of 1

Issus with upgrade 2.2.2 -> 2.2.3.1

Posted: Fri Sep 08, 2017 2:35 pm
by pschoenb
Hello,

when trying to upgrade from 2.2.2 to 2.2.3.1, I get:

Code: Select all

Warning: is_dir(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/www/web35/:/usr/share/php/) in phar:///home/www/web35/html/cmsms-2.2.3.1-install.php/app/class.cms_install.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at phar:///home/www/web35/html/cmsms-2.2.3.1-install.php/app/class.cms_install.php:39) in phar:///home/www/web35/html/cmsms-2.2.3.1-install.php/app/class.cms_install.php on line 395
When proceeding to step 2, I get an empty page and the same messages above.

I never had such a problem before. Neither webspace configuration nor the config.php have been changed.

Re: Issus with upgrade 2.2.2 -> 2.2.3.1

Posted: Fri Sep 08, 2017 3:04 pm
by calguy1000
Well, I think something has changed on your server environment.... whether you changed it, or your host did, or it changed because of an upgrade.

The line 39 tests if the system temporary directory (identified by sys_get_temp_dir() is writable.

This error tells me that although your sys_get_temp_dir() function returns a value, that directory is not writable due to open_basedir.

Though that line changed from v2.2 to 2.2.3.1 it only changed in a minor way. and would not cause this issue.