Page 1 of 1

Clean install of 2.1.4 fails immediately with error messages

Posted: Thu Jun 23, 2016 1:25 am
by d4creative
I am attempting a clean install on a host which I have very little control over the php setup. I get an immediate list of errors which I don't know how to interpret to get help from tech support.

Any advice would be welcome!

Here is the error page I get (not all as it wont fit in 1 post):

Code: Select all

Warning: chdir(): No such file or directory (errno 2) in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 274

Warning: file_put_contents(/lib/classes/class.wizard.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/class.nls.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/class.langtools.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

...LOTS MORE LINES LIKE THIS...

Warning: file_put_contents(/lib/classes/class.cms_smarty.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/accessor.functions.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/class.database.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/class.nlstools.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/class.wizard_step.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/base/misc.functions.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/base/class.request.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/base/class.session.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/base/compat.functions.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/base/class.app.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/lib/classes/base/class.utils.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183



Warning: file_put_contents(/README-PHAR.TXT): failed to open stream: Permission denied in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/data/version.php): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: file_put_contents(/data/data.tar.gz): failed to open stream: No such file or directory in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 183

Warning: chdir(): No such file or directory (errno 2) in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 189

Warning: Cannot modify header information - headers already sent by (output started at /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php:274) in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php:274) in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php:274) in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php:274) in /home/cfp15/completefeetpodiatry.com.au/cmsms/cmsms-2.1.4-install.php on line 71
 

Re: Clean install of 2.1.4 fails immediately with error mess

Posted: Thu Jun 23, 2016 1:50 am
by calguy1000
I looked this up and I think that:

a: You are using the phar installer
b: Your system does not properly set a temporary directory, or the TMPDIR environment variable.

Suggestions:
a: contact your host and tell them the cause (the error is very obvious for anybody that knows anything about php).
b: Set the TMPDIR environment variable to a writable directory before the PHP is executed (perhaps this can be done in the .htaccess)
c: Try using the expanded installer... (read the README first)
d: Try using the expanded installer with the argument that allows overriding the tmp directory.

I honestly don't think c or d will work... if your system doesn't have a temporary directory set properly, it also probably won't allow you to use putenv... and the phar extraction routines will not work.

Re: Clean install of 2.1.4 fails immediately with error mess

Posted: Thu Jun 23, 2016 1:58 am
by d4creative
Thank you. I am a designer, not a developer so I don't know all the ins and outs of server setup and environments. I don't manage the hosting but I'm sure that info will be helpful in getting the people who do to correct it.

:)