Estoy intentando implementar un sistema de usuarios, que personalmente me parece muy bueno... es de código abierto y tal
[URL="http://iambot.net/projects/phpuserauth/"]http://iambot.net/projects/phpuserauth/ [/URL]
La cuestión es que con XAMPP 1.7.7, 1.7.6, 1.7.5, 1.7.5 y 1.7.3 me falla, pero sin embargo con webhost000 me funciona de maravilla!
Os copio el error que me aparece y a ver si me podéis ayudar a solucionarlo.
Gracias!!
Cita:
Si tenéis alguna duda me lo comentáis. Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp1.7.7\php\PEAR\Config.php on line 80
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp1.7.7\php\PEAR\Config.php on line 166
Notice: Use of undefined constant DEV_MODE - assumed 'DEV_MODE' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 34
Notice: Use of undefined constant TABLE_FIELDS - assumed 'TABLE_FIELDS' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 41
Notice: unserialize() [function.unserialize]: Error at offset 0 of 12 bytes in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 41
Notice: Use of undefined constant SESSION_FIELDS - assumed 'SESSION_FIELDS' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 42
Notice: Use of undefined constant SESSION_FIELDS - assumed 'SESSION_FIELDS' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 43
Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Notice: Use of undefined constant DB_USER - assumed 'DB_USER' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Notice: Use of undefined constant DB_PASS - assumed 'DB_PASS' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Notice: Use of undefined constant DB_NAME - assumed 'DB_NAME' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Warning: mysqli::mysqli() [mysqli.mysqli]: php_network_getaddresses: getaddrinfo failed: Host desconocido. in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Warning: mysqli::mysqli() [mysqli.mysqli]: [2002] php_network_getaddresses: getaddrinfo failed: Host desconocido. (trying to connect via tcp://DB_HOST:3306) inC:\xampp1.7.7\htdocs\phpuserauth\user\lib\userau th.class.php on line 49
Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): php_network_getaddresses: getaddrinfo failed: Host desconocido. in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Error: DB Connection Error: php_network_getaddresses: getaddrinfo failed: Host desconocido.
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp1.7.7\php\PEAR\Config.php on line 166
Notice: Use of undefined constant DEV_MODE - assumed 'DEV_MODE' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 34
Notice: Use of undefined constant TABLE_FIELDS - assumed 'TABLE_FIELDS' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 41
Notice: unserialize() [function.unserialize]: Error at offset 0 of 12 bytes in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 41
Notice: Use of undefined constant SESSION_FIELDS - assumed 'SESSION_FIELDS' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 42
Notice: Use of undefined constant SESSION_FIELDS - assumed 'SESSION_FIELDS' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 43
Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Notice: Use of undefined constant DB_USER - assumed 'DB_USER' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Notice: Use of undefined constant DB_PASS - assumed 'DB_PASS' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Notice: Use of undefined constant DB_NAME - assumed 'DB_NAME' in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Warning: mysqli::mysqli() [mysqli.mysqli]: php_network_getaddresses: getaddrinfo failed: Host desconocido. in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Warning: mysqli::mysqli() [mysqli.mysqli]: [2002] php_network_getaddresses: getaddrinfo failed: Host desconocido. (trying to connect via tcp://DB_HOST:3306) inC:\xampp1.7.7\htdocs\phpuserauth\user\lib\userau th.class.php on line 49
Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): php_network_getaddresses: getaddrinfo failed: Host desconocido. in C:\xampp1.7.7\htdocs\phpuserauth\user\lib\userauth .class.php on line 49
Error: DB Connection Error: php_network_getaddresses: getaddrinfo failed: Host desconocido.