Help
Ask questions about how to do or fix things in Arrowchat
User avatar
perrada
Customer
 
Posts: 16
Joined: 20 Mar 2016, 23:01

 

by perrada 27 Dec 2016, 11:45

Hi,

I download new version arrowchat 2.0 and I want clean install, but If I run installer in Configuration tab I see this error:

Code: Select all
Oops! There is an error:
We were unable to connect to your database. Please go back to the database settings page. This might also be an indication that your session timed out or PHP sessions are not working entirely.


I dont know where is problem...

I install arrowchat to custom site and If I define mysql connection, all is ok.

Thanks for help
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 27 Dec 2016, 12:00

Open up your old includes/config.php file and use all the same database information from that file. Make sure to use the same user table, table prefix, etc.
User avatar
perrada
Customer
 
Posts: 16
Joined: 20 Mar 2016, 23:01

 

by perrada 27 Dec 2016, 20:23

I use the same database information... and not works... but if I definition database, connection is OK, but in step 4 (table configuration) is error...
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 27 Dec 2016, 21:09

perrada wrote:I use the same database information... and not works... but if I definition database, connection is OK, but in step 4 (table configuration) is error...

Something still isn't right! Make sure you use all the same values that you have listed for:

Code: Select all
   define('DB_USERTABLE', ''); 
   define('DB_USERTABLE_NAME', '');
   define('DB_USERTABLE_USERID', '');
   define('DB_USERTABLE_AVATAR', '');
   
   define('DB_FRIENDSTABLE', '');
   define('DB_FRIENDSTABLE_USERID', '');
   define('DB_FRIENDSTABLE_FRIENDID', '');
   define('DB_FRIENDSTABLE_FRIENDS', '');


and for the prefix:

Code: Select all
define('TABLE_PREFIX', ''); 
User avatar
perrada
Customer
 
Posts: 16
Joined: 20 Mar 2016, 23:01

 

by perrada 27 Dec 2016, 23:46

I dont know where is bug, but I uses the same value and not work :(

I use old ArrowChat and I have not problem with this...

I now dirty install (handmake) aver old installation, but arrowchat2 works weard...

If anyone write me, I see this: http://perrada.cz/arrow_chat_error.png