Category: UCenter

编辑UCenter_1.6.0_SC_UTF8/model/base.php 0

Enable the MySQL enhanced extension under UCenter_1.6.0_sc_utf8, that is, the mysqli extension

浏览量: 1 1. Copy Discuz_x3.2_sc_utf8/upload/uc_server/lib/dbi. class.php to ucenter_1.6.0_sc_utf8/lib/dbi.class.php 2. Edit ucenter_1.6.0_sc_utf8/model/base.php function init_db() { //require_once uc_root.lib/db.class.php; if(function_exists(“mysqli_connect”)) { require_once UC_ROOT.lib/dbi.class.php; } else { require_once UC_ROOT.lib/db.class.php; } $this->db = new ucserver_db(); $this->db->connect(uc_dbhost, uc_dbuser, uc_dbpw, uc_dbname,...

更新客户端缓存失败! 0

Integrate PHPCMS_V9.5.8_UTF8 in ucenter_1.6.0_sc_utf8, update the solution to the client cache failure!

浏览量: 1 Solution process: Add the following method to phpsso_server/api/uc.php class uc_note: //update client cache function updateClient($get, $post) { if(!api_updateClient) { return api_return_forbidden; } $cacheFile = dirname(__file__)./uc_client/data/cache/settings.php; $fp = fopen($cachefile,w); $s = “<?php\r\n”; $s...

解决之后,截图如下 0

After the integration of TiPask_V2.5_UTF8_20140606 and UCenter_1.6.0_SC_UTF8, the solution to the avatar cannot be displayed!

浏览量: 0 The screenshot of the avatar cannot be displayed, on the active user page,http://zhidao.hmwis.com/user/activelist.html: Solution: lib/global.func.php function get_avatar_dir //return $setting[‘ucenter_url’]./avatar.php?uid=. $UID .&size=middle; @Include TiPask_root ./data/ucconfig.inc.php; return UC_API ./avatar.php?uid=. $UID .&size=middle; The reason is:...

在phpcms中退出提示退出成功,查看源代码,可以看见已经发现同步js通知 0

Integrate PHPCMS and TiPask under ucenter, and find that logging in through phpcms can be synchronized to tipask, but quit through phpcms, it cannot be synchronized to the solution of tipask!

浏览量: 1 Analyze the code execution process: 1. kchmc.net/phpcms/modules/member/index.php $SynLogoutstr = $this->client-> ps_member_synlogout(); 2. kchmc.net/phpcms/modules/member/classes/client.class.php Modified to be as follows: /** * Synchronized exit * @param string $UID * @return string javascript user sync...