HTML interesse |
|
Ik ben bezig met het klantensysteem van freshmeat.
Ik loop echter wel tegen enkele problemen aan.
Dit is hoe hun de config invullen:
<?
define("PATH", "/data/httpd/www.freshway.biz/HTML/freshinvoice/");
define("DOMAIN", "freshway.biz");
define("URL", "http://www.freshway.biz/freshinvoice/");
define("MAILADDR", "sales@example.org");
define("FROMNAME", "Henk Smits");
define("BEDRIJFSNAAM", "Example.org");
define("AFSLUITING", "Met vriendelijke groet,\n\nHenk Smits\nExample.org");
define("DB_HOSTNAME", "localhost"); // LIKE localhost OR 192.168.1.2
define("DB_USERNAME", "username"); // LIKE freshinvoice OR adminstration
define("DB_PASSWORD", "password"); // LIKE ds8J2xj7
define("DB_DATABASE", "database"); // LIKE freshinvoice OR adminstration
define("MAILER","sendmail"); // qmail | mail | sendmail | smtp
if(MAILER=='smtp'){
define ("SMTP_HOST", "172.16.0.2");
}
<? define("PATH", "/data/httpd/www.freshway.biz/HTML/freshinvoice/"); define("DOMAIN", "freshway.biz"); define("URL", "http://www.freshway.biz/freshinvoice/"); define("MAILADDR", "sales@example.org"); define("FROMNAME", "Henk Smits"); define("BEDRIJFSNAAM", "Example.org"); define("AFSLUITING", "Met vriendelijke groet,\n\nHenk Smits\nExample.org"); define("DB_HOSTNAME", "localhost"); // LIKE localhost OR 192.168.1.2 define("DB_USERNAME", "username"); // LIKE freshinvoice OR adminstration define("DB_PASSWORD", "password"); // LIKE ds8J2xj7 define("DB_DATABASE", "database"); // LIKE freshinvoice OR adminstration define("MAILER","sendmail"); // qmail | mail | sendmail | smtp if(MAILER=='smtp'){ define ("SMTP_HOST", "172.16.0.2"); }
Dit is hoe ik hem invul:
<?
define("PATH", "www.domein.nl/administratie/");
define("DOMAIN", "domein.nl/");
define("URL", "http://www.domein.nl/administratie/");
define("MAILADDR", "info@domein.nl");
define("FROMNAME", "Naam");
define("BEDRIJFSNAAM", "Naam");
define("AFSLUITING", "Met vriendelijke groet,\n\n Naam\nDomein.nl Website ontwikkeling");
define("DB_HOSTNAME", "db.pcextreme.nl"); // LIKE localhost OR 192.168.1.2
define("DB_USERNAME", "naam"); // LIKE freshinvoice OR adminstration
define("DB_PASSWORD", "pass"); // LIKE ds8J2xj7
define("DB_DATABASE", "naam"); // LIKE freshinvoice OR adminstration
define("MAILER","sendmail"); // qmail | mail | sendmail | smtp
if(MAILER=='smtp'){
define ("SMTP_HOST", "mail.domein.nl");
}
<? define("PATH", "www.domein.nl/administratie/"); define("DOMAIN", "domein.nl/"); define("URL", "http://www.domein.nl/administratie/"); define("MAILADDR", "info@domein.nl"); define("BEDRIJFSNAAM", "Naam"); define("AFSLUITING", "Met vriendelijke groet,\n\n Naam\nDomein.nl Website ontwikkeling"); define("DB_HOSTNAME", "db.pcextreme.nl"); // LIKE localhost OR 192.168.1.2 define("DB_USERNAME", "naam"); // LIKE freshinvoice OR adminstration define("DB_PASSWORD", "pass"); // LIKE ds8J2xj7 define("DB_DATABASE", "naam"); // LIKE freshinvoice OR adminstration define("MAILER","sendmail"); // qmail | mail | sendmail | smtp if(MAILER=='smtp'){ define ("SMTP_HOST", "mail.domein.nl"); }
Echter krijg ik de volgende fouten:
Warning: scandir(/administratie/plugins/) [function.scandir]: failed to open dir: No such file or directory in /home/domein.nl/www/administratie/config.inc.php on line 38
Warning : scandir (/administratie /plugins /) [function.scandir ]: failed to open dir: No such file or directory in /home /domein .nl /www /administratie /config .inc .php on line 38
Warning: scandir() [function.scandir]: (errno 2): No such file or directory in /home/domein.nl/www/administratie/config.inc.php on line 38
Warning : scandir () [function.scandir ]: (errno 2): No such file or directory in /home /domein .nl /www /administratie /config .inc .php on line 38
Warning: Invalid argument supplied for foreach() in /home/domein.nl/www/administratie/config.inc.php on line 44
Warning: Invalid argument supplied for foreach() in /home/domein.nl/www/administratie/config.inc.php on line 44
Snapt iemand wat ik fout doe?
|