component is not authorized by this account hint: [aMADoA0312e514]
component is not authorized by this account hint: [B3GVCa0189e575] 錯誤解決?
component is not authorized by this account hint: [rIP5ya0345e578]
component is not authorized by this account hint: [bFvHta0360e544]
錯誤信息為: 訪問微信接口錯誤, 錯誤代碼: 40001, 錯誤信息: invalid credential, access_token is invalid or not latest hint: [TitxZa0962vr47!],錯誤詳情:微信公眾平台授權異常, 系統已修復這個錯誤, 請刷新頁面重試.
錯誤信息為: 訪問微信接口錯誤, 錯誤代碼: 40001, 錯誤信息: invalid credential, access_token is invalid or not latest hint: [00aRpA0280vr57!],錯誤詳情:微信公眾平台授權異常, 系統已修復這個錯誤, 請刷新頁面重試.
訪問雲服務器錯誤, 可能原因:
1、您的服務器防火牆屏蔽了雲服務器IP;
2、您的服務器IP地址沒有授權(系統檢測到您的服務器IP為:“'..'”請把這個IP填到“系統管理——注冊站點——IP授權管理--填入備用IP欄,進行IP授權);
3、你也可以嘗試備用更新:移步備用更新頁面
在使用微贊 微擎提示 “請盡快完善您在微贊雲服務平台的站點注冊信息”。
解決辦法修改:/web/common/common.func.php
function site_profile_perfect_tips(){ global $_W; return ; // 這里直接返回即可!!! if ($_W['isfounder'] && (empty($_W['setting']['site']['token']))) { if (!defined('SITE_PROFILE_PERFECT_TIPS')) { $url = url('cloud/profile'); return <<<EOF $(function() { var html = '<div id="siteinfo-tips" class="upgrade-tips">'+ '<a href="{$url}" target="_blank">請盡快完善您在微贊雲服務平台的站點注冊信息。</a>'+ '</div>'; $('body').prepend(html); }); EOF; define('SITE_PROFILE_PERFECT_TIPS', true); } } return ''; }
覆蓋到\web\common目錄下即可!
以微贊為例解決此類問題:
打開\framework\model\cloud.mod.php 找到第23行代碼
- if(empty($_W['setting']['site']['key']) || empty($_W['setting']['site']['token'])) {
- return error('-1', "您的程序需要在微贊雲服務平台注冊你的站點資料, 來接入雲平台服務后才能使用相應功能.");
- }
把這三行代碼注釋掉就可以了,(注釋掉就是在每一行的開頭加上"//“就可以了),修改成這樣:
- //if(empty($_W['setting']['site']['key']) || empty($_W['setting']['site']['token'])) {
- // return error('-1', "您的程序需要在微贊雲服務平台注冊你的站點資料, 來接入雲平台服務后才能使用相應功能.");
- //}
然后,在找到第36行
- if ($dat['content'] == 'install-module-protect') {
- return error('-1', '此模塊已設置版權保護,您只能通過雲平台來安裝。');
- }
第151行
- if ($dat['content'] == 'install-theme-protect') {
- return error('-1', '此模板已設置版權保護,您只能通過雲平台來安裝。');
- }
分別注釋掉就可以了,當然你如果刪除掉,也是可以的,但最好還是不要刪除
