Modify the interface configuration
Return to the module list
ID: {dede:var.uc_setings.appid/}
Server address:
In your UCenter address or directory changes, modify this, in general, please do not change
For example: http://www.site.com/uc_server (last do not add '/').
Server IP:
Under normal circumstances can leave blank. If UCenter fails to communicate with the application due to a domain name resolution problem, try setting the IP address of the server where the application is located.
Communication key:
Only English letters and numbers are allowed, limited to 64 bytes. The communication key on the application side must be consistent with this setting or the application will not be able to communicate with UCenter normally.
Connection method:
> Database way(MySQL)
> Interface method (fsockopen)
According to your server network environment, select the appropriate connection.
>
Database server:
Default: localhost, if the MySQL port is not the default 3306, please fill out the following form: 127.0.0.1: 6033.
database username:
Login uc server database user name.
Database password:
Login uc server database password.
Database name:
Login uc server database name.
Database table prefix:
Uc server database table prefix used, a not like uc_.
Correct configuration information:
define('UC_CONNECT', '{dede:var.uc_setings.connect/}'); define('UC_DBHOST', '{dede:var.uc_setings.dbhost/}'); define('UC_DBUSER', '{dede:var.uc_setings.dbuser/}'); define('UC_DBPW', '********'); define('UC_DBNAME', '{dede:var.uc_setings.dbname/}'); define('UC_DBCHARSET', 'gbk'); define('UC_DBTABLEPRE', '`{dede:var.uc_setings.dbname/}`.uc_'); define('UC_DBCONNECT', '0'); define('UC_KEY', '{dede:var.uc_setings.authkey/}'); define('UC_API', '{dede:var.uc_setings.ucapi/}'); define('UC_CHARSET', 'gbk'); define('UC_IP', '{dede:var.uc_setings.ucip/}'); define('UC_APPID', '{dede:var.uc_setings.appid/}'); define('UC_PPP', '20');
When the application of UCenter configuration information is lost, copy the left side of the code to the application's configuration file