inc/error.inc.php
changeset 123 0aa6b2cf8006
parent 119 f74e4f88b680
child 132 155178ad24e4
equal deleted inserted replaced
122:2e2cc9cfa115 123:0aa6b2cf8006
    57 define("ERR_INV_ARG", _('Invalid argument(s) given to function %s'));
    57 define("ERR_INV_ARG", _('Invalid argument(s) given to function %s'));
    58 define("ERR_INV_ARGC", _('Invalid argument(s) given to function %s %s'));
    58 define("ERR_INV_ARGC", _('Invalid argument(s) given to function %s %s'));
    59 define("ERR_UNKNOWN", _('Unknown error.'));
    59 define("ERR_UNKNOWN", _('Unknown error.'));
    60 define("ERR_INV_EMAIL", _('Enter a valid email address.'));
    60 define("ERR_INV_EMAIL", _('Enter a valid email address.'));
    61 
    61 
       
    62 /* DATABASE */
       
    63 define("ERR_DB_NO_DB_NAME", _('No database name has been set in config.inc.php.'));
       
    64 define("ERR_DB_NO_DB_HOST", _('No database host has been set in config.inc.php.'));
       
    65 define("ERR_DB_NO_DB_USER", _('No database username has been set in config.inc.php.'));
       
    66 define("ERR_DB_NO_DB_PASS", _('No database password has been set in config.inc.php.'));
       
    67 define("ERR_DB_NO_DB_TYPE", _('No or unknown database type has been set in config.inc.php.'));
       
    68 
    62 /* DNS */
    69 /* DNS */
    63 define("ERR_DNS_CONTENT", _('Your content field doesnt have a legit value.'));
    70 define("ERR_DNS_CONTENT", _('Your content field doesnt have a legit value.'));
    64 define("ERR_DNS_HOSTNAME", _('Invalid hostname.'));
    71 define("ERR_DNS_HOSTNAME", _('Invalid hostname.'));
    65 define("ERR_DNS_RECORDTYPE", _('Invalid record type! You should not even been able to get that here.'));
    72 define("ERR_DNS_RECORDTYPE", _('Invalid record type! You should not even been able to get that here.'));
    66 define("ERR_DNS_IP", _('This is not a valid IPv4 or IPv6 address.')); 
    73 define("ERR_DNS_IP", _('This is not a valid IPv4 or IPv6 address.'));