DAViCal
 All Classes Namespaces Functions Variables Pages
davical_configuration_missing.php
1 <?php
2 include("page-header.php");
3 
4  echo <<<EOBODY
5 <h1>DAViCal Not Configured</h1>
6 <h2>The Bad News</h2>
7 <p>There is no configuration file present in <b>/etc/davical/config.php</b> (or in <b>$_SERVER[SERVER_NAME]-conf.php</b>) so
8  your installation is not fully set up.</p>
9 <h2>The Good News</h2>
10 <p>Well, you're seeing this! At least you have DAViCal <i>installed</i> :-) You also have Apache and PHP working
11  and so really you are well on the road to success!</p>
12 <h2>The Dubious News</h2>
13 <p>You could try and <a href="setup.php">click here</a> and see if that enlightens you at all.
14  Or rather have a look at the <a href="https://www.davical.org/installation.php">Installation
15  guide</a> and the <a href="https://wiki.davical.org/index.php/Main_Page">wiki</a>. Or make some guesses.
16  Or bug us on IRC or the mailing lists :-)</p>
17 <h2>The Really Basic Help</h2>
18 <p>The configuration file should look something like this:</p>
19 <pre>
20 &lt;?php
21 // \$c->domain_name = 'davical.example.com';
22 // \$c->sysabbr = 'davical';
23 // \$c->system_name = 'DAViCal CalDAV Server';
24 
25  \$c->admin_email = 'admin@example.com';
26  \$c->pg_connect[] = 'dbname=davical user=davical_app';
27 
28 </pre>
29 <p>The only really <em>essential</em> thing there is that connect string for the database, although
30 configuring someone for the admin e-mail is a really good idea.</p>
31 EOBODY;
32 
33 include("page-footer.php");