Hi
I hope this is the right place to put this apologies if not. I have installed Modx a few times now and have never had an issue. I am trying to install on a different server for a client and keep coming up with the following errors...I am not up on my errors so am unsure how to proceed...I tried to install the latest version and got the same errors, I went back a version just to make sure it wasnt the version I was trying to install, so I am either not making something writable or The hosting doesnt support this system, which I was assured it would. please note I have taken out the user path and just replaced with ...(user path) in the errors.
Any help much appreciated as I am v stuck
Thanks in advance
Louise
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10401 is not allowed to access ...(user path)/modx-2.2.0-pl2/core/cache/setup owned by uid 80 in ...(user path)/modx-2.2.0-pl2/setup/includes/parser/modinstallsmarty.class.php on line 93
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10401 is not allowed to access ...(user path)/modx-2.2.0-pl2/core/cache/setup owned by uid 80 in ...(user path)/modx-2.2.0-pl2/core/model/smarty/sysplugins/smarty_internal_write_file.php on line 28
Warning: file_put_contents() [function.file-put-contents]: open_basedir restriction in effect. File(/var/tmp/wrtnuaWQD) is not within the allowed path(s): (...(user path):/tmp) in ...(user path)/modx-2.2.0-pl2/core/model/smarty/sysplugins/smarty_internal_write_file.php on line 33
Warning: file_put_contents(/var/tmp/wrtnuaWQD) [function.file-put-contents]: failed to open stream: Operation not permitted in ...(user path)/modx-2.2.0-pl2/core/model/smarty/sysplugins/smarty_internal_write_file.php on line 33
Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /var/tmp/wrtnuaWQD' in ...(user path)/modx-2.2.0-pl2/core/model/smarty/sysplugins/smarty_internal_write_file.php:35 Stack trace: #0 ...(user path)/modx-2.2.0-pl2/core/model/smarty/sysplugins/smarty_internal_template.php(271): Smarty_Internal_Write_File::writeFile('/usr/local/psa/...', '<?php /* Smarty...', Object(modInstallSmarty)) #1 ...(user path)/modx-2.2.0-pl2/core/model/smarty/sysplugins/smarty_internal_template.php(412): Smarty_Internal_Template->compileTemplateSource() #2 ...(user path)/modx-2.2.0-pl2/core/model/smarty/sysplugins/smarty_internal_template.php(554): Smarty_Internal_Template->renderTemplate() #3 ...(user path)/modx-2.2.0-pl2/core/model/smarty/Smarty.class.php(335): Smarty_Inter in /usr/local/psa/home/vhosts/bodyflexibilityclinic.co.uk/httpdocs/modx-2.2.0-pl2/core/model/smarty/sysplugins/smarty_internal_write_file.php on line 35
Looks as though you have safe mode :- 'Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect' and open basedir restrictions :- Warning: file_put_contents() [function.file-put-contents]: open_basedir restriction in effect.'
You may also have perms problems :- The script whose uid is 10401 is not allowed to access ...(user path)/modx-2.2.0-pl2/core/cache/setup owned by uid 80.....
If safe mode is on it needs to be turned off by your hosts.
Use MODx, or the cat gets it!
Hi
Thanks I will contact my hosts and see if they have safe mode on.