UserPie icon indicating copy to clipboard operation
UserPie copied to clipboard

Unable to install UserPie... am I doing something wrong ?

Open csaoh opened this issue 12 years ago • 2 comments

Hello, I have trouble installing UserPie...

here is my database information: //Database Information $dbtype = "mysql"; $db_host = "localhost"; $db_user = "root"; $db_pass = ""; $db_name = "userpie"; $db_port = ""; $db_table_prefix = "userpie_";

When I go to the install page, everything works fine, but when I remove the install folder and try to access to the main page, I get this error:

Notice: Undefined variable: sql_db in C:\xampp\htdocs\userpie\models\config.php on line 21

Fatal error: Class name must be a valid object or a string in C:\xampp\htdocs\userpie\models\config.php on line 21

Am I doing something wrong ? Thank you !

csaoh avatar Jul 05 '13 14:07 csaoh

I am having the same issue. Did you find an answer? If so please share. Thank you!

drleroux avatar Oct 05 '13 01:10 drleroux

Change line 18 in config.php to: require_once("models/db/".$dbtype.".php");

T-Spoon avatar Oct 12 '13 13:10 T-Spoon