SymptomsThe following error is shown when try to open a site in Sitebuilder Wizard:
Internal Sitebuilder error.
File: /usr/local/sitebuilder/include/SB/Site/Compiler/Target/FileSystem.php; Line: 72
Message: Cannot create directory '/usr/local/sitebuilder/htdocs/sites/0f/0f8199d880c7a8e29a9bcbaaf9d27310/__edit'; Code: 0
CauseIncorrect owner of site directory.
ResolutionVerify and fix owner of site sirectory, it should be owned by Apache user. For example to change owner of all sites directories:
~# chown -R apache:apache /usr/local/sitebuilder/htdocs/sites
for Debian and Ubuntu:
~# chown -R www-data:www-data /opt/sitebuilder/htdocs/sites