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?
Enable the checkbox Log Debug Info to see in the console log what's returned from webservices.
FRANCESCO CROCETTI @ SKARED CREATIONS
debug log :
Unauthorized request
and error log :Failed to get Combu server info
error screenshot url:
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
Fixed a problem . Thank you very much~~ 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
Did you change the constants for the connection to your Wordpress database in login_wordpress.php?
FRANCESCO CROCETTI @ SKARED CREATIONS
Do I need to change any constant ?
If you open the file you will see:
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
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
You have the setting as described above , the same error occurs .
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
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