View Single Post
Old 2nd August 2006, 15:07
t.roijers t.roijers is offline
Join Date: Feb 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default config.lib.php default web template

Hello Falko,

Killed the deamon, started the script and this is all i see:

ispconfig:~/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
ispconfig:~/ispconfig/scripts/lib #

No errors what so ever. But also no default template copied from /var/www/template to /var/www/$web_path

This is where the copy command is now~:
959 function make_docroot($doc_id,$hostname,$domainname,$web_qu ota,$update) {
960 global $go_info, $mod;
961 exec("cp -R /var/www/template/* /var/www/$web_path");

Originally Posted by falko
Maybe it's a better idea to insert that line in the make_docroot() function. For debugging purposes, you can kill the ispconfig_wconf daemon, create a web site, and then you run
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
on the shell. Any errors?
Reply With Quote