Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: problemas con recapchat mucore 2.2.0  (Visto 1549 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline Tauro14 Posteado: May 26, 2019, 03:47:48 PM

  • -1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 287
  • Gracias recibida: 3045
  • ar
ERROR para el propietario del sitio web:
el dominio de la clave de sitio web no es válido

hola resulta que me esta tirando este error en el registro uso mucore 2.2.0 como podria sacar el recapchat? ??



Offline MOYOne #1 Posteado: May 26, 2019, 09:24:47 PM

  • Diseñador
  • 0 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 841
  • Gracias recibida: 3422
  • pe
tienes que registrarte y poner la cuenta de recapcha en el admincp de la mucore!


Muchas veces se gana y otras se aprende, pero nunca se pierde.

Gracias:


Offline Tauro14 #2 Posteado: May 27, 2019, 12:18:28 AM

  • -1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 287
  • Gracias recibida: 3045
  • ar
tienes que registrarte y poner la cuenta de recapcha en el admincp de la mucore!

donde me registro?


Offline Hessen #3 Posteado: May 27, 2019, 12:45:58 AM

  • Diseñador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 332
  • Gracias recibida: 5947
  • pe

Online ZabiinoOo #4 Posteado: May 27, 2019, 12:47:55 AM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Administrador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 7.270
  • Gracias recibida: 125182
  • pe
tienes que registrarte y poner la cuenta de recapcha en el admincp de la mucore!

donde me registro?

Pone en google recaptca amigo y te aparecen dferentes tipos de pagina para crear captchas https://www.google.com/recaptcha/intro/v3.html




Prohibido pedir soporte via MP
Leer las reglas de cada seccion
we trust god

Gracias:


Offline Tauro14 #5 Posteado: May 27, 2019, 02:39:30 PM

  • -1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 287
  • Gracias recibida: 3045
  • ar
hola ya me registre y tengo la clave pero no se donde ponerla en el panel de mucore


Offline Tauro14 #6 Posteado: May 27, 2019, 02:53:08 PM

  • -1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 287
  • Gracias recibida: 3045
  • ar
hola ya me registre y tengo la clave pero no se donde ponerla en el panel de mucore

este es mi recaptchalib.php de la mucore 2.2.0


<?php
/**
 * This is a PHP library that handles calling reCAPTCHA.
 *    - Documentation and latest version
 *          https://developers.google.com/recaptcha/docs/php
 *    - Get a reCAPTCHA API Key
 *          https://www.google.com/recaptcha/admin/create
 *    - Discussion group
 *          http://groups.google.com/group/recaptcha
 *
 * @copyright Copyright (c) 2014, Google Inc.
 * @Link      http://www.google.com/recaptcha
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
/**
 * A ReCaptchaResponse is returned from checkAnswer().
 */
class ReCaptchaResponse
{
    public $success;
    public $errorCodes;
}
class ReCaptcha
{
    private static $_signupUrl = "https://www.google.com/recaptcha/admin";
    private static $_siteVerifyUrl =
        "https://www.google.com/recaptcha/api/siteverify?";
    private $_secret;
    private static $_version = "php_1.0";
    /**
     * Constructor.
     *
     * @param string $secret shared secret between site and ReCAPTCHA server.
     */
    function ReCaptcha($secret)
    {
        if ($secret == null || $secret == "") {
            die("To use reCAPTCHA you must get an API key from <a href='"
                . self::$_signupUrl . "'>" . self::$_signupUrl . "</a>");
        }
        $this->_secret=$secret;
    }
    /**
     * Encodes the given data into a query string format.
     *
     * @param array $data array of string elements to be encoded.
     *
     * @return string - encoded request.
     */
    private function _encodeQS($data)
    {
        $req = "";
        foreach ($data as $key => $value) {
            $req .= $key . '=' . urlencode(stripslashes($value)) . '&';
        }
        // Cut the last '&'
        $req=substr($req, 0, strlen($req)-1);
        return $req;
    }
    /**
     * Submits an HTTP GET to a reCAPTCHA server.
     *
     * @param string $path url path to recaptcha server.
     * @param array  $data array of parameters to be sent.
     *
     * @return array response
     */
    private function _submitHTTPGet($path, $data)
    {
        $req = $this->_encodeQS($data);
        $response = file_get_contents($path . $req);
        return $response;
    }
    /**
     * Calls the reCAPTCHA siteverify API to verify whether the user passes
     * CAPTCHA test.
     *
     * @param string $remoteIp   IP address of end user.
     * @param string $response   response string from recaptcha verification.
     *
     * @return ReCaptchaResponse
     */
    public function verifyResponse($remoteIp, $response)
    {
        // Discard empty solution submissions
        if ($response == null || strlen($response) == 0) {
            $recaptchaResponse = new ReCaptchaResponse();
            $recaptchaResponse->success = false;
            $recaptchaResponse->errorCodes = 'missing-input';
            return $recaptchaResponse;
        }
        $getResponse = $this->_submitHttpGet(
            self::$_siteVerifyUrl,
            array (
                'secret' => $this->_secret,
                'remoteip' => $remoteIp,
                'v' => self::$_version,
                'response' => $response
            )
        );
        $answers = json_decode($getResponse, true);
        $recaptchaResponse = new ReCaptchaResponse();
        if (trim($answers ['success']) == true) {
            $recaptchaResponse->success = true;
        } else {
            $recaptchaResponse->success = false;
            $recaptchaResponse->errorCodes = $answers [error-codes];
        }
        return $recaptchaResponse;
    }
}
?>


Offline Yalc #7 Posteado: May 27, 2019, 03:12:39 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 230
  • Gracias recibida: 6001
  • ve
hola ya me registre y tengo la clave pero no se donde ponerla en el panel de mucore

se coloca en el panel admincp


Offline Tauro14 #8 Posteado: May 27, 2019, 03:14:22 PM

  • -1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 287
  • Gracias recibida: 3045
  • ar
hola ya me registre y tengo la clave pero no se donde ponerla en el panel de mucore

se coloca en el panel admincp

hola acabo de colocarlo pero cuando me quiero registrar me sale este otro error


http://prntscr.com/nu2yhv


y si saco el catcha por el codigo tampoco me deja :S


Offline Yalc #9 Posteado: May 27, 2019, 03:17:03 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 230
  • Gracias recibida: 6001
  • ve
hola ya me registre y tengo la clave pero no se donde ponerla en el panel de mucore

se coloca en el panel admincp

hola acabo de colocarlo pero cuando me quiero registrar me sale este otro error


http://prntscr.com/nu2yhv


y si saco el catcha por el codigo tampoco me deja :S

cambia entonces al tipo imagen para que no tengas ese problema

Gracias:


Offline Tauro14 #10 Posteado: May 27, 2019, 03:20:39 PM

  • -1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 287
  • Gracias recibida: 3045
  • ar
hola ya me registre y tengo la clave pero no se donde ponerla en el panel de mucore

se coloca en el panel admincp

hola acabo de colocarlo pero cuando me quiero registrar me sale este otro error


hola tambien me tirar error :S

http://prntscr.com/nu31l3


http://prntscr.com/nu2yhv


y si saco el catcha por el codigo tampoco me deja :S

cambia entonces al tipo imagen para que no tengas ese problema


Offline Gaboo; #11 Posteado: May 27, 2019, 09:11:41 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.415
  • Gracias recibida: 2365
  • ve
hola ya me registre y tengo la clave pero no se donde ponerla en el panel de mucore

este es mi recaptchalib.php de la mucore 2.2.0


<?php
/**
 * This is a PHP library that handles calling reCAPTCHA.
 *    - Documentation and latest version
 *          https://developers.google.com/recaptcha/docs/php
 *    - Get a reCAPTCHA API Key
 *          https://www.google.com/recaptcha/admin/create
 *    - Discussion group
 *          http://groups.google.com/group/recaptcha
 *
 * @copyright Copyright (c) 2014, Google Inc.
 * @Link      http://www.google.com/recaptcha
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
/**
 * A ReCaptchaResponse is returned from checkAnswer().
 */
class ReCaptchaResponse
{
    public $success;
    public $errorCodes;
}
class ReCaptcha
{
    private static $_signupUrl = "https://www.google.com/recaptcha/admin";
    private static $_siteVerifyUrl =
        "https://www.google.com/recaptcha/api/siteverify?";
    private $_secret;
    private static $_version = "php_1.0";
    /**
     * Constructor.
     *
     * @param string $secret shared secret between site and ReCAPTCHA server.
     */
    function ReCaptcha($secret)
    {
        if ($secret == null || $secret == "") {
            die("To use reCAPTCHA you must get an API key from <a href='"
                . self::$_signupUrl . "'>" . self::$_signupUrl . "</a>");
        }
        $this->_secret=$secret;
    }
    /**
     * Encodes the given data into a query string format.
     *
     * @param array $data array of string elements to be encoded.
     *
     * @return string - encoded request.
     */
    private function _encodeQS($data)
    {
        $req = "";
        foreach ($data as $key => $value) {
            $req .= $key . '=' . urlencode(stripslashes($value)) . '&';
        }
        // Cut the last '&'
        $req=substr($req, 0, strlen($req)-1);
        return $req;
    }
    /**
     * Submits an HTTP GET to a reCAPTCHA server.
     *
     * @param string $path url path to recaptcha server.
     * @param array  $data array of parameters to be sent.
     *
     * @return array response
     */
    private function _submitHTTPGet($path, $data)
    {
        $req = $this->_encodeQS($data);
        $response = file_get_contents($path . $req);
        return $response;
    }
    /**
     * Calls the reCAPTCHA siteverify API to verify whether the user passes
     * CAPTCHA test.
     *
     * @param string $remoteIp   IP address of end user.
     * @param string $response   response string from recaptcha verification.
     *
     * @return ReCaptchaResponse
     */
    public function verifyResponse($remoteIp, $response)
    {
        // Discard empty solution submissions
        if ($response == null || strlen($response) == 0) {
            $recaptchaResponse = new ReCaptchaResponse();
            $recaptchaResponse->success = false;
            $recaptchaResponse->errorCodes = 'missing-input';
            return $recaptchaResponse;
        }
        $getResponse = $this->_submitHttpGet(
            self::$_siteVerifyUrl,
            array (
                'secret' => $this->_secret,
                'remoteip' => $remoteIp,
                'v' => self::$_version,
                'response' => $response
            )
        );
        $answers = json_decode($getResponse, true);
        $recaptchaResponse = new ReCaptchaResponse();
        if (trim($answers ['success']) == true) {
            $recaptchaResponse->success = true;
        } else {
            $recaptchaResponse->success = false;
            $recaptchaResponse->errorCodes = $answers [error-codes];
        }
        return $recaptchaResponse;
    }
}
?>

El codigo va en el modulo de register.php, acoto que esto debe ser agregado por el admincp.

saludos.


Offline Hessen #12 Posteado: May 27, 2019, 10:41:07 PM

  • Diseñador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 332
  • Gracias recibida: 5947
  • pe
@Tauro14  ve a tu admincp y en encryptacion MD5 coloca No eso lo ubicas donde editas url de tu web y titulo.


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
942 Views
Last post May 12, 2017, 08:18:30 PM
by ZabiinoOo
4 Replies
992 Views
Last post December 10, 2017, 12:03:55 PM
by sparky
3 Replies
755 Views
Last post August 04, 2018, 01:32:42 PM
by 92nato
0 Replies
490 Views
Last post July 21, 2019, 11:43:58 AM
by rosariomuonline
6 Replies
621 Views
Last post July 23, 2020, 01:29:55 PM
by mochaso05