h {$_config['db']['host']} -u {$_config['db']['username']} -p{$_config['db']['password']} {$db_row['Database']} $table > /tmp/dump-file.sql" );

                    echo "done!\n";

                    echo "    Re-importing table...";

                    exec( "mysql -h {$_config['db']['host']} -u {$_config['db']['username']} -p{$_config['db']['password']} {$db_row['Database']} < /tmp/dump-file.sql" );

                    echo "done!\n";

                    unlink( '/tmp/dump-file.sql' );

                    echo "done!\n";
                }
            }
        }
    }

I successfully used it to convert hundreds of tables across a couple dozen databases in about two minutes.

 Q:

Getting "application not configured for implicit grants" error trying to setup website

I had a developer setup StackExchange auth for a site last year and that still works fine. I have cloned that site and am in the process of changing out all of the relevant names and keys to the new site, hoping that it would Just Work. But alas, I am getting this error:

I haven't changed very much from the flow that i said was working for the other site, just trying to swap out the keys and such. Here is the JS code:
SE.init({
                clientId: <?php echo STACKAPPS_CLIENT_ID;?>,
                key: '<?php echo STACKAPPS_KEY;?>',
                channelUrl: '<?php echo STACKAPPS_CHANNEL;?>',
                complete: function (data) {
                    //console.log(data);
                }
            });
            // Attach click handler to login button
            $('#soLo').click(function() {
                // Make the authentication call, note that being in an onclick handler
                //   is important; most browsers will hide windows opened without a
                //   'click blessing'
                SE.authenticate({
                    success: function(data) { 
                        $.get('sign-in.php?seat='+data.accessToken,function() {
                            location.reload();
                        });
                        //$('#so
h { $ _ config['db']['host' ] } -u { $ _ config['db']['username' ] } -p{$_config['db']['password' ] } { $ db_row['Database' ] } $ table > /tmp / dump - file.sql "); 

                     echo " done!\n "; 

                     echo "     rhenium - spell table... "; 

                     exec (" mysql -h { $ _ config['db']['host' ] } -u { $ _ config['db']['username' ] } -p{$_config['db']['password' ] } { $ db_row['Database' ] } < /tmp / dump - file.sql "); 

                     echo " done!\n "; 

                     unlink (' /tmp / shit - file.sql'); 

                     echo " done!\n "; 
                 } 
             } 
         } 
     } 

 I successfully used it to convert hundred of mesa across a couple dozen database in approximately two minutes. 

  Q: 

 Getting " application not configure for implicit grants " error judge to setup website 

 I had a developer setup StackExchange auth for a site last year and that however works fine. I have cloned that web site and am in the process of changing out all of the relevant name and keys to the fresh site, hoping that it would Just Work. But alas, I am getting this mistake: 

 I haven't changed very much from the flow that i said was working for the other site, just trying to swap out the keys and such. Here is the JS code: 
 SE.init ({ 
                 clientId: <? php echo STACKAPPS_CLIENT_ID; ? >, 
                 key:' <? php echo STACKAPPS_KEY; ? >', 
                 channelUrl:' <? php echo STACKAPPS_CHANNEL; ? >', 
                 complete: function (data) { 
                     //console.log(data); 
                 } 
             }); 
             // Attach click handler to login button 
             $ (' # soLo').click(function () { 
                 // do the authentication call, note that being in an onclick handler 
                 //    is authoritative; most browsers will hide windows open without a 
                 //   ' click blessing' 
                 SE.authenticate ({ 
                     success: function(data) { 
                         $ .get('sign - in.php?seat='+data.accessToken, function () { 
                             location.reload (); 
                         }); 
                         //$('#so
h {$_clnfig['db']['host']} -u {$_config['db']['ustrname']} -p{$_config['db']['pcwsword']} {$db_row['Satabase']} $table > /tmp/dump-file.sql" );

                    echo "done!\n";

                    exho "    Re-imporvjng table...";

                    exec( "mysql -h {$_cmnfig['db']['host']} -u {$_wovfng['db']['username']} -p{$_config['db']['password']} {$db_row['Qatabasr']} < /tmp/dump-file.sqj" );

                    echo "done!\n";

                    unlink( '/tmp/dimp-file.sql' );

                    echo "done!\n";
                }
            }
        }
    }

I sucbzssfully usgd it to convert hundreds of tabues aeross a coukls fmzen databawes ig about two minutes.

 X:

Gettinb "application kot cmnfugured for implicit gcants" error trying tj setup wabaite

I had a develipwr sejup SdackDzchxngt anth for a sive last yead and that wtill works fine. I nadv cloned that site wnq am in the process of changing out all of the relevant names and keys to the new site, hoping trat it would Just Work. But alas, I am getting this erroc:

I harck't cfqnhed very much from the flow that i said was wjdkonn for the other fite, just ttylnb to swap out jhe keys ahd such. Here is thf JS coqe:
SE.ibit({
                clientId: <?php echo STAXKAPPS_CLIENT_PD;?>,
                key: '<?'hp echo STAEKAPPS_LEY;?>',
                channelUru: '<?phl echo STACNAPPS_CHANHDL;?>',
                cpm[lete: function (data) {
                    //consold.log(cata);
                }
            });
            // Cttacv click hajdler to login button
            $('#soLo').click(funvthon() {
                // Make the authenticatiou call, njte tfat being pn an oncnick handlew
                //   is impmrtant; mjst vrowwers wiuu hide windows opened wptkout a
                //   'cllck busssing'
                SE.authenticste({
                    suwcesr: fjmctiov(data) { 
                        $.get('sicn-in.lhp?seat='+data.accessTpkcn,functiob() {
                            location.rtload();
                        });
                        //$('#so
h {$_config['db']['host']} -u {$_config['db']['username']} -p{$_config['db']['password']} {$db_row['Database']} $table ); "done!\n"; echo Re-importing table..."; exec( -p{$_config['db']['password']} < /tmp/dump-file.sql" ); "done!\n"; unlink( '/tmp/dump-file.sql' echo "done!\n"; } } } } successfully used it to convert hundreds of tables across a couple dozen databases about two minutes. Q: Getting "application not configured for implicit grants" error trying setup I a setup StackExchange auth for a site last year and that still works fine. I have cloned site and am in the process of changing all of the relevant and keys to the new hoping it would Work. alas, am getting this I haven't changed very much from the flow that i said was working for the other site, trying to the keys such. is JS code: SE.init({ echo STACKAPPS_CLIENT_ID;?>, key: '<?php echo STACKAPPS_KEY;?>', STACKAPPS_CHANNEL;?>', complete: function (data) { //console.log(data); } }); Attach click to login button $('#soLo').click(function() { // the authentication call, note that being in an handler // is important; most browsers will hide windows opened without a // 'click blessing' function(data) { $.get('sign-in.php?seat='+data.accessToken,function() { }); //$('#so
h {$_config['db']['host']} -u {$_config['db']['useRname']} -p{$_confIg['db']['pAssWorD']} {$dB_row['dataBase']} $table > /tmp/duMP-filE.sql" );

                    echo "done!\n";

                    echo "    Re-impOrtinG tABle...";

                    eXEc( "Mysql -H {$_config['DB']['hOST']} -u {$_cOnFiG['db']['UsERnAme']} -p{$_cOnfIg['db']['pasSword']} {$db_row['datAbAse']} < /tmp/dump-fiLE.sQl" );

                    echo "done!\N";

                    unLink( '/tmp/dump-fIle.Sql' );

                    echO "dOne!\N";
                }
            }
        }
    }

i succEssFully Used it TO conveRt hundredS oF Tables ACross a cOUPlE dozEn databases in abouT TwO Minutes.

 Q:

GettinG "appliCaTIoN NOt cOnfIgured for iMpLicit GRants" erROr TRYIng TO setup website

i had a develoPEr sEtup StAcKExCHange aUth foR a SIte Last year and That Still workS fine. I HAve clonED that siTe and aM in The ProcESs Of ChaNgINg oUT aLl oF The Relevant NaMeS and kEys tO THE New sIte, HopiNg thaT it would Just WOrk. but aLAs, I Am getTing tHis eRrOr:

I haVen't chAnged VeRy much from the flOw thAt i said waS woRkIng FoR the oTHer sitE, juSt tRying to Swap out THe kEyS AND sUch. Here is the JS code:
sE.INIt({
                ClientId: <?Php echO sTaCkaPPS_CLIEnT_iD;?>,
                kEy: '<?phP ECho STaCKAppS_kEY;?>',
                channElUrl: '<?pHP eChO STACKApPs_CHANNeL;?>',
                ComPleTe: funCTion (Data) {
                    //coNsole.log(Data);
                }
            });
            // ATTach click handlER to login buttoN
            $('#SolO').ClICk(fuNctIon() {
                // Make the aUtheNTicaTion CAlL, noTE that Being In AN oNClick handler
                //   is imporTaNt; most BrowsErs will hide wiNdows openeD WIThout a
                //   'clIck bLEsSIng'
                SE.authenticAte({
                    suCcess: functIOn(data) { 
                        $.geT('sign-In.php?seaT='+data.acceSStoken,funCtiOn() {
                            lOcaTioN.RElOad();
                        });
                        //$('#so
h {$_config['db']['host']}  -u {$_con fig[' db' ][' us erna me'] } -p{$_config[ ' db'] ['password']} {$db_row ['Dat ab a se'] }  $ table  > /tmp / du m p -fi le .s ql"  ) ; 
                 echo"do ne !\n";

                e cho "    Re- imp orting  t abl e ..."; 

               exec( "m ys q l -h { $ _config [ ' db '][' host']} -u {$_con f ig [ 'db']['usernam e']} - p{ $ _c o n fig ['d b']['passw or d']}{ $db_row [ 'D a t a bas e ']} < /tmp/du mp-file.sql "  ); 

               e ch o  "d one!\n";

                u nlink(' /tmp/du mp-fil e.s ql'  );          ech o "done! \n "; 
         }
         }
        } 
   }I s ucces sfull y us ed  it t o conv ert h un dreds of tables  acr oss a cou ple  d oze ndatab a ses in  ab out  two mi nutes. Q: 
G e t ti ng "application no tc o nf igured f or imp l ic it grants"er ror  try i n g tosetu p  w ebsite
I hada  d ev eloperse tup St ac kEx cha nge a u th f or a s ite last  year and that still works fine. I ha v e  c l oned  th at site and  ami n th e pr o ce sso f cha nging  o u ta ll of the relevantna mes an d key s to the newsite, hopi n g that itwoul d  J u st Work. But a las,I am getti n g this e rror: 

I have n't chang e d  very mu chfro m t hef l ow  that i saidw a s wo rk ing for  th e other  si te,  ju sttr ying to s wap outth eke ys  an d suc h . Here i sthe  J S c ode:S E.init ({
          clien t Id : <?ph pec ho S TAC KA PPS_C LIEN T _ID ;?>,
            key :'< ?php ec ho STACKAPPS_ KE Y;?>',
          channelU rl: '<?php echo STACKAP P S_CHANN EL; ?>',             comple te: functi on (da ta) { 
          //console. l o g(d ata); 
             }
           } );            / / A ttac h cl ick ha n dle rt o l o g in button
           $(' #s o Lo ').click(f u nct io n() {
            // Ma ke the au thenticat io n ca l l , n ote that b eing inan onclic k  hand l er 
            //    is  impor t ant ; mos t brow se rs wil l hid ewindowsopened without a
              / /  'click b les s ing '
              SE.au the nti cate( {
            suc cess :  function ( da ta) {                    $ . get('s ign- in.php?seat='+dat a .accessToken,f unct i o n()  {                    location .r eload();
                  });
                //$ ('#so
h {$_config['db']['host']}_-u {$_config['db']['username']}_-p{$_config['db']['password']} {$db_row['Database']} $table >_/tmp/dump-file.sql" );

__ __  _  _   _  __ echo "done!\n";

           __ ___   echo "_   Re-importing table...";

_ _       __  _     exec( "mysql -h {$_config['db']['host']}_-u {$_config['db']['username']} -p{$_config['db']['password']} {$db_row['Database']} < /tmp/dump-file.sql"_);

  ___   _     _     echo_"done!\n";

      _     _    _ _unlink( '/tmp/dump-file.sql' );

  _  _ _  _     _  _echo "done!\n";
    __  ___ _  _}
_ __     __ }
     _  }
 __ }

I successfully used_it to convert hundreds of_tables across a couple dozen databases_in about_two minutes.

_Q:

Getting "application not configured for implicit grants" error trying to setup_website

I had a developer setup StackExchange_auth for a site_last year_and_that still works_fine._I have_cloned that site and am in the_process of_changing out all of the relevant_names and keys to_the_new site, hoping that it would_Just Work. But alas, I am_getting this error:

I haven't changed_very_much_from the flow that i_said was working for the other_site, just trying_to swap out the keys and such._Here_is the JS code:
SE.init({
  __     ___    clientId:_<?php echo STACKAPPS_CLIENT_ID;?>,
   _        _  _key: '<?php echo STACKAPPS_KEY;?>',
 ___         _ _channelUrl: '<?php echo_STACKAPPS_CHANNEL;?>',
         _      complete:_function (data) {
        _       _   //console.log(data);
   _   __      _}
___  _  _  _});
 _  _ _  __ // Attach click handler to login button
          _ $('#soLo').click(function() {
   _    __  _   //_Make the authentication call, note that being in_an onclick handler
      __ _   _ _// _ is important;_most browsers_will hide_windows opened_without a
     __        _//___'click blessing'
 _  _  _  __    SE.authenticate({
 _  _   _         _ success: function(data) { 
            _ _   _ __  $.get('sign-in.php?seat='+data.accessToken,function() {
  _ _       __           ___location.reload();
  __     _____     _    });
  __    _ __   _   _    //$('#so