I am not sure how this commit affects this but @bim-g should probably try to reproduce (inability to create instances on a clean vhost) and fix and re-submit in another PR.
After creating a sub-server, and create an instance, we get an error Failed to install script : Failed to open **/tikiconfig/prefs.ini.php** for writing : No such file or directory, while it on the sub-server.
So, proposition is to create the prefs file it does not exist before trying read file that does not exist.
Related task
@bim-g , @kroky I've reverted this change as it is now impossible to create instances on a clean vhost. and I didn't had a good way to reproduce this specific issue to try to fix the fix.
FYI @marclaporte
This reverts merge request !36
This change prevents any action on a new vhost (without previous tiki intslation) so is no longer possible to install a tiki.
This reverts merge request !36
This change prevents any action on a new vhost (without previous tiki intslation) so is no longer possible to install a tiki.
After creating a sub-server, and create an instance, we get an error Failed to install script : Failed to open **/tikiconfig/prefs.ini.php** for writing : No such file or directory, while it on the sub-server.
So, proposition is to create the prefs file it does not exist before trying read file that does not exist.
Related task