Fixed the error 100010 when ShopNC was connected via QQ.

Source: Internet
Author: User
This article describes how to fix the 100010 error message when ShopNC is connected by QQ and how to handle the problem. For more information, see

This article describes how to fix the 100010 error message when ShopNC is connected by QQ and how to handle the problem. For more information, see

QQ interconnection does not allow the existence of Hash in URLs. What is ShopNC by default? Act = toqq & op = g. Therefore, setting failure or 100010 error may occur.

1. Create a/shop/api_qq.php file.
2. Modify/shop/api/qq/comm/config. php

$ _ SESSION ["callback"] = SHOP_SITE_URL. "/api_qq.php ";

3. Enter the domain name/shop/api_qq.php for QQ Interconnection

Shop/api_qq.php

<? Php/*** portal file ** unified portal for initialization information *** @ copyright Copyright (c) 2007-2013 ShopNC Inc. () * @ license * @ link * @ since File available since Release v1.1 */define ('base _ path', str_replace ('\\',' http://www.jb51.net/ ', Dirname (_ FILE _); require_once (dirname (_ FILE __)). '/global. php '); session_save_path (BASE_DATA_PATH.DS. 'session '); require_once (BASE_DATA_PATH.DS. 'config/config. ini. php '); if (! Empty ($ config) & is_array ($ config) {$ site_url = $ config ['shop _ site_url ']; $ version = $ config ['version']; $ setup_date = $ config ['setup _ date']; $ gip = $ config ['gip']; $ dbtype = $ config ['dbdriver ']; $ dbcharset = $ config ['db'] [1] ['dbcharset']; $ dbserver = $ config ['db'] [1] ['dbhost']; $ dbserver_port = $ config ['db'] [1] ['dbport']; $ dbname = $ config ['db'] [1] ['dbname']; $ db_pre = $ config ['tablepre']; $ dbuser = $ config ['db'] [1] ['dbuser']; $ dbpasswd = $ config ['db'] [1] ['dbpwd']; $ lang_type = $ config ['lang _ type']; $ cookie_pre = $ config ['cookie _ pre'];} define ('shop _ SITE_URL ', $ site_url); include 'api/qq/oauth/qq_callback.php ';

Appendix: Solutions for 100010 errors in QQ interconnection using other programs

Method/step

1. First, go to the QQ Internet official website, which can be found in Baidu search. After entering, find "login" in the upper-right corner. You can use QQ for quick logon;

2. After logging on, go to the "Management Center" and find "create application". Because we are connecting our websites, select the website type, as shown in. Of course, if you want to connect to a mobile app, you can choose a mobile app;

3. After the selection, enter the website information. It also needs to verify the website. I will not go into details here. It is important to fill in the callback address.

4. When you enter the callback address and log on to the website After configuring QQ connection, the redirect uri is illegal (100010) error may occur. Do not close the window at this time, find the URL shown in the address bar of the error window;

5. Enter the URL following redirect_uri In the callback address bar. Use QQ to log on.

Notes

As many people on the Internet say, the callback address must be consistent. Here we will show you what the callback addresses are and how to make them consistent.

The above is the solution to the logon error redirect uri is illegal (100010) during QQ interconnection. I hope it will help you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.