Combu upgraded vers...
 
Notifications
Clear all

Combu upgraded version , bugs came out !

16 Posts
2 Users
0 Reactions
3,125 Views
 anhy
(@anhy)
Posts: 20
Eminent Member
Topic starter
 

Hello,

I have this error :
Failed to get Combu server info
UnityEngine.Debug:LogError(Object)
Combu.CombuManager:<Start>m__3B(Boolean, CombuServerInfo) (at Assets/Combu/Scripts/CombuManager.cs:308)
Combu.<GetServerInfo>c__AnonStorey24:<>m__3D(String, String) (at Assets/Combu/Scripts/CombuManager.cs:570)
Combu.<DownloadUrl>c__Iterator1:MoveNext() (at Assets/Combu/Scripts/CombuManager.cs:411)

What can I do with that?

 
Posted : 23/11/2015 7:52 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Enable the checkbox Log Debug Info to see in the console log what's returned from webservices.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 23/11/2015 10:35 am
 anhy
(@anhy)
Posts: 20
Eminent Member
Topic starter
 

debug log :

Sending: http://116.32.100.11/combu/server.php?action=info&sig_time=635839775311423664&sig_crc=2511fca82dfe89233b5ec2228878656362d9784d

Unauthorized request

 

and error log :Failed to get Combu server info

error screenshot url:

?dl=0

 
Posted : 24/11/2015 9:06 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Well, if it fails with "Unauthorized request" on the server info webservice it could only mean that the CRC parameter ("sig_crc" that is calculated in Unity) is wrong. Are you sure the secret key is correctly set and the same in both config.php and Unity? Also what deployment platform and Unity version are you using (because there were issues with the encryption functions in webplayer and/or webgl).

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 24/11/2015 10:54 am
 anhy
(@anhy)
Posts: 20
Eminent Member
Topic starter
 
Fixed a problem .

Thank you very much~~biggrin

but combu demo wordpress playing the scene 

error message : {"success":false,"message":"Connection to WP not established","errors":[]}

 
 https://www.dropbox.com/s/4n0jn68aipvltca/%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7%202015-11-26%2013.59.29.png ?dl=0
 
Posted : 26/11/2015 7:00 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Did you change the constants for the connection to your Wordpress database in login_wordpress.php?

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 26/11/2015 10:37 am
 anhy
(@anhy)
Posts: 20
Eminent Member
Topic starter
 
 
Do I need to change any constant ?
 
Posted : 26/11/2015 11:30 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

If you open the file you will see:

define ("WORDPRESS_SERVER", "localhost");
define ("WORDPRESS_NAME", "wordpress");
define ("WORDPRESS_USERNAME", "root");
define ("WORDPRESS_PASSWORD", "");
define ("WORDPRESS_ROOT", "../../../wp/");

The first 4 constants are the connection settings (similar to the constants GAME_DB_* in config.php), while WORDPRESS_ROOT must be set to the relative path to your wordpress installation (the sample value you see here assumes that wordpress is installed 3 directories up from the location of login_wordpress.php, you will need to fix this to yours).

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 26/11/2015 12:12 pm
 anhy
(@anhy)
Posts: 20
Eminent Member
Topic starter
 
Constant of the above , come out the same error you have changed . 
And Error comes when you import this file : combu_db_upgrade_from_2_1_1.sql

?dl=0

 
Posted : 26/11/2015 1:25 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Your table names are just wrong, I see they're lowercase but should be capitalized (for example CB_Account, not cb_account) else nothing will work. Your MySql configuration isn't probably set to accept case-sensitive names, please read here about MySql and apply changes to your my.ini (I don't know how it worked before if you was already using it, since you're running the upgrade script).

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 26/11/2015 1:30 pm
 anhy
(@anhy)
Posts: 20
Eminent Member
Topic starter
 
You have the setting as described above , the same error occurs .
 
Posted : 26/11/2015 2:24 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Sorry but it's not possible, if you had the case-sensitive setting on MySql you wouldn't had lowercase table names. If you changed this setting later then you have to drop all tables and recreate them from combu_db.sql (you need to run the *upgrade* SQL file only if you're upgrading from the version referenced in the filename).

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 26/11/2015 5:32 pm
 anhy
(@anhy)
Posts: 20
Eminent Member
Topic starter
 

I tried to have me up, come out again my error.frown

?dl=0

I will care what the wrong of.

 
Posted : 27/11/2015 8:44 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Also in this latest screenshot you see that the table names are still lowercase (cb_account instead of CB_Account).

Have you set the line lower_case_table_names=2 in the file my.ini and restarted MySql? After you do this, you must delete all the tables and run again combu_db.sql to recreate the tables correctly (you do NOT have to run combu_db_upgrade_from_2_1_1.sql because this file must be run only if you had installed Combu 2.1.1 and were upgrading from it).

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 27/11/2015 12:23 pm
 anhy
(@anhy)
Posts: 20
Eminent Member
Topic starter
 

The photo above, were placed the wrong link. If you look at these two pictures, setting you who have taught was run. However, leaving the same error in succession.frown

?dl=0

?dl=0

 
Posted : 27/11/2015 1:24 pm
Page 1 / 2
Share: