Fix SHOPNC 100010 error when using QQ Interconnect, shopnc100010_php tutorial

Source: Internet
Author: User
Tags call back what callback

Fix SHOPNC 100010 error when using QQ interconnect, shopnc100010


QQ interconnection does not allow the URL Hash exists, and SHOPNC by default is act=toqq&op=g such a link callback, so it will cause the setup failed, or 100010 error.

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. QQ interconnect fill in http://Domain/shop/api_qq.php

shop/api_qq.php

<?php/** * Portal File * * Unified portal for initialization information * * * @copyright Copyright (c) 2007-2013 SHOPNC Inc. (http://www.cnnewyork.com) * @lic Ense http://www.cnnewyork.com/* @link http://www.cnnewyork.com/* @since File available since Release v1.1 */define (' Base_path ', str_replace (' \ \ ', '/', dirname (__file__))), require_once (DirName (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 ';

Also attached, other programs using QQ Interconnect 100010 Error Resolution method

Method/Step

1, first, enter the QQ Internet website, this can be found in Baidu search. Go in and find the upper right corner of the "login", you can use QQ to quickly login;

2. After login, go to "Admin Center" and find "create app" because we are connected to our website, so choose the type of website, as shown in. Of course, if you want to connect with mobile apps, choose mobile apps;

3, the choice is good, next is to fill in the information of the website. There is also the need to verify the site, here will not repeat. It is important to fill in the callback address.

4, when you call back to fill in the address, the site is configured good QQ interconnection, when logging in, may appear redirect URI is illegal (100010) error, at this time, do not close the window, the error window in the Address bar to find the URL as shown;

5, that is, the Redirect_uri behind a Web site, the site is re-filled in the above mentioned callback address bar. Then use QQ to log in, you can succeed.

Precautions

As many people on the web say they need a callback address consistent. This tells you what callback addresses are and how to make them consistent.

The above is the QQ internet Login error redirect URI is illegal (100010) solution Introduction, hope to be helpful to everyone!

http://www.bkjia.com/PHPjc/1069355.html www.bkjia.com true http://www.bkjia.com/PHPjc/1069355.html techarticle Fix SHOPNC Use QQ interconnect prompt 100010 error, shopnc100010 QQ interconnect does not allow URL Hash exists, and SHOPNC default is ACT=TOQQ 3. QQ Internet fill in HTTP ://Domain/shop/api ...

  • 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.