We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37601
    • 8 Posts
    Hi Everyone,

    I'm a newbie, have read so much great stuff about Modx and can't wait to get going, but have hit a snag on installation. I'm getting the following errors when I navigate to the setup folder - any assistance would be amazing, thanks!

    I'm installing: REVOLUTION VERSION 2.1.3, I have very little experience/knowledge with regards to server and mySQL details, but the site is hosted with this hosting package which doesn't give much away: http://www.haisoft.co.uk/perso.php

    Steve

    Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10678 is not allowed to access /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/cache/setup owned by uid 48 in /var/www/vhosts/dunhilldesign.co.uk/httpdocs/setup/includes/modinstallsmarty.class.php on line 89

    Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10678 is not allowed to access /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/cache/setup owned by uid 48 in /var/www/vhosts/dunhilldesign.co.uk/httpdocs/setup/includes/modinstallsmarty.class.php on line 94

    Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10678 is not allowed to access /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/cache/setup owned by uid 48 in /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/model/smarty/sysplugins/smarty_internal_write_file.php on line 28

    Warning: tempnam() [function.tempnam]: SAFE MODE Restriction in effect. The script whose uid is 10678 is not allowed to access /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/cache/setup owned by uid 48 in /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/model/smarty/sysplugins/smarty_internal_write_file.php on line 31

    Warning: file_put_contents() [function.file-put-contents]: Filename cannot be empty in /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/model/smarty/sysplugins/smarty_internal_write_file.php on line 33

    Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file ' in /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/model/smarty/sysplugins/smarty_internal_write_file.php:35 Stack trace: #0 /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/model/smarty/sysplugins/smarty_internal_template.php(271): Smarty_Internal_Write_File::writeFile('/var/www/vhosts...', '<?php /* Smarty...', Object(modInstallSmarty)) #1 /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/model/smarty/sysplugins/smarty_internal_template.php(412): Smarty_Internal_Template->compileTemplateSource() #2 /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/model/smarty/sysplugins/smarty_internal_template.php(554): Smarty_Internal_Template->renderTemplate() #3 /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/model/smarty/Smarty.class.php(335): Smarty_Internal_Template->getRenderedTemplate() #4 /var/www/vhosts/dunhilldesign.co.uk/httpdocs/setup/includes/modinstallsmarty.class.php(69): Smarty->fetch('header.tpl') #5 /var/www/vhosts/dunhilldes in /var/www/vhosts/dunhilldesign.co.uk/httpdocs/core/model/smarty/sysplugins/smarty_internal_write_file.php on line 35 [ed. note: dunboy last edited this post 12 years, 6 months ago.]
      • 3749
      • 24,544 Posts
      This means that the server has safe_mode enabled. MODX can't create the files and directories it needs.

      You can contact your hosting service to see if they will disable safe_mode for you (or switch hosting services).

      Welcome to MODX.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 37601
        • 8 Posts
        Many thanks for your assistance BobRay - I've contacted the hosting company.
          • 37601
          • 8 Posts
          I've now disabled safe-mode and was going through the installation stages, but then cam across the following two errors on the Installation Summary

          Errors were encountered during core installation.:

          Error creating table for class modActiveUser

          Error saving the default admin user.
          Array ( [0] => 00000 )

          Is this easily remedied?

          Thanks,

          Steve