2.1 upgrade procedu...
 
Notifications
Clear all

2.1 upgrade procedure?

6 Posts
2 Users
0 Reactions
655 Views
(@gecko64)
Posts: 82
Estimable Member
Topic starter
 

2.1 is the first upgrade we've done to our Combu installation. Is there a database upgrade script that we should run on the server, or how do we install the new SQL file on the server?

 
Posted : 19/09/2015 5:59 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Not this time, there isn't any change to the database with this version so it's fine what you have from previous (2.0.7). Usually you are informed of such SQL script or particular upgrade guideline when it's required in the release notes (newsletter, "History log" thread on this forum and release notes on Asset Store).

You can just delete Combu's Unity and web files (backup config.php so you haven't to re-configure but do a check with the default one on the updated package if there's some new constant) and use the new ones.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 19/09/2015 8:19 pm
(@gecko64)
Posts: 82
Estimable Member
Topic starter
 

Hmm, I actually did try that first (upgraded the Unity and server php files), but that broke Combu. I get these errors in unity when I try to login at runtime:

Combu login error:
UnityEngine.Debug:LogError(Object)
CombuLoginAndRegister:m__27(Boolean, String) (at Assets/0 Game Assets/Scripts/User Accounts/CombuLoginAndRegister.cs:176)
Combu.c__AnonStoreyF3:<>m__8B(String, String) (at Assets/Combu/Scripts/User.cs:89)
Combu.c__Iterator7A:MoveNext() (at Assets/Combu/Scripts/CombuManager.cs:411)

 

(I have other admin accounts already set up, which I'm trying to use, so I don't know why it's talking about the root user.)

and this error when I try to log into the Combu admin in a browser:

Error creating the default admin account (Access denied for user 'root'@'localhost' (using password: NO))

 
Posted : 20/09/2015 4:33 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

As you see MySql is not allowing access ("Access denied for user 'root'@'localhost' (using password: NO)") so check again the connection settings in config.php

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 20/09/2015 4:41 pm
(@gecko64)
Posts: 82
Estimable Member
Topic starter
 

Ah, right, forgot about that. Thanks! 

So I had a problem when I used the CB_Account.php file that you sent me last week, but it works when I use the one included in 2.1. That has the switch to retrieving username/pwd via email, so I don't need to use the custom file you sent?

 
Posted : 21/09/2015 12:38 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

gecko64 said
Ah, right, forgot about that. Thanks! 

So I had a problem when I used the CB_Account.php file that you sent me last week, but it works when I use the one included in 2.1. That has the switch to retrieving username/pwd via email, so I don't need to use the custom file you sent?

The changes have been integrated in 2.1 I think, if I'm not wrong it was to allow email in the constructor of CB_Account. Anyway please apply this fix.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 22/09/2015 11:33 am
Share: