Richard Markink
New Pleskian
Getting a error when trying to add a domain using the plesk xml api.
error:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: Empty content was provided for config file /var/www/vhosts/system/elearning.richardmarkink.nl/conf/httpd.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
the website is added but there are no apache config files.
the xml code is used:
<packet>
<site>
<add>
<gen_setup>
<name>elearning.richardmarkink.nl</name>
<webspace-id>4</webspace-id>
</gen_setup>
<hosting>
<vrt_hst>
<property>
<name>fp</name>
<value>false</value>
</property>
<property>
<name>fp_auth</name>
<value>false</value>
</property>
<property>
<name>fp_admin_login</name>
<value/>
</property>
<property>
<name>fp_admin_password</name>
<value/>
</property>
<property>
<name>www_root</name>
<value>/elearning.coursenet.nl</value>
</property>
</vrt_hst>
</hosting>
</add>
</site>
</packet>
can someone give me a solution for this ? or what am i doing wrong ?
using plesk 12.5 on centos
error:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: Empty content was provided for config file /var/www/vhosts/system/elearning.richardmarkink.nl/conf/httpd.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
the website is added but there are no apache config files.
the xml code is used:
<packet>
<site>
<add>
<gen_setup>
<name>elearning.richardmarkink.nl</name>
<webspace-id>4</webspace-id>
</gen_setup>
<hosting>
<vrt_hst>
<property>
<name>fp</name>
<value>false</value>
</property>
<property>
<name>fp_auth</name>
<value>false</value>
</property>
<property>
<name>fp_admin_login</name>
<value/>
</property>
<property>
<name>fp_admin_password</name>
<value/>
</property>
<property>
<name>www_root</name>
<value>/elearning.coursenet.nl</value>
</property>
</vrt_hst>
</hosting>
</add>
</site>
</packet>
can someone give me a solution for this ? or what am i doing wrong ?
using plesk 12.5 on centos