gnashxalex Posted January 11, 2020 Posted January 11, 2020 He probrado varios vote4points y siempre alguno tira un error (jaypee, feefty) y no me funcionan Podrian aportar alguno que si les funcione?, Gracias de antemano Quote
Mael Posted January 11, 2020 Posted January 11, 2020 7 minutes ago, gnashxalex said: He probrado varios vote4points y siempre alguno tira un error (jaypee, feefty) y no me funcionan Podrian aportar alguno que si les funcione?, Gracias de antemano El año pasado he utilizado este sin problemas. https://github.com/sanasol/FluxCP_Addons-VoteForPoints Quote
gnashxalex Posted January 11, 2020 Author Posted January 11, 2020 On 1/11/2020 at 10:42 AM, Mael said: El año pasado he utilizado este sin problemas. https://github.com/sanasol/FluxCP_Addons-VoteForPoints Gracías, lo probare. Unable to vote for the server. Err no.3 Quote
Mael Posted January 11, 2020 Posted January 11, 2020 2 hours ago, gnashxalex said: Unable to vote for the server. Err no.3 Intenta modificando esto en los archivos SQL. CREATE TABLE IF NOT EXISTS `cp_vfp_logs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `sites_id` int(11) NOT NULL, `timestamp_expire` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `timestamp_voted` timestamp NULL, `ipaddress` varchar(155) NOT NULL, `account_id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; CREATE TABLE IF NOT EXISTS `cp_vfp_sites` ( `id` int(11) NOT NULL AUTO_INCREMENT, `votename` varchar(25) NOT NULL, `voteurl` varchar(255) NOT NULL, `voteinterval` int(11) NOT NULL, `votepoints` int(11) NOT NULL, `imgname` varchar(255) DEFAULT NULL, `imgurl` varchar(255) DEFAULT NULL, `datetime_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; ALTER TABLE `cp_createlog` ADD `votepoints` int(11) NOT NULL DEFAULT '0'; Quote
M a p l e Posted January 11, 2020 Posted January 11, 2020 (edited) 5 hours ago, Mael said: Intenta modificando esto en los archivos SQL. CREATE TABLE IF NOT EXISTS `cp_vfp_logs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `sites_id` int(11) NOT NULL, `timestamp_expire` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `timestamp_voted` timestamp NULL, `ipaddress` varchar(155) NOT NULL, `account_id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; CREATE TABLE IF NOT EXISTS `cp_vfp_sites` ( `id` int(11) NOT NULL AUTO_INCREMENT, `votename` varchar(25) NOT NULL, `voteurl` varchar(255) NOT NULL, `voteinterval` int(11) NOT NULL, `votepoints` int(11) NOT NULL, `imgname` varchar(255) DEFAULT NULL, `imgurl` varchar(255) DEFAULT NULL, `datetime_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; ALTER TABLE `cp_createlog` ADD `votepoints` int(11) NOT NULL DEFAULT '0'; También tengo este mismo problema, intenté agregar esta tabla sql y me dio lo mismo. Unable to vote for the server. Err no.3 #Edit ¡Encontré el problema! Debe crear una cuenta a través de fluxcp, para que su cuenta se genere en "cp_createlog". Estaba tratando de usar una cuenta creada manualmente. Entonces dio el error. Edited January 11, 2020 by KeyMaster 1 Quote
gnashxalex Posted January 11, 2020 Author Posted January 11, 2020 5 hours ago, KeyMaster said: También tengo este mismo problema, intenté agregar esta tabla sql y me dio lo mismo. Unable to vote for the server. Err no.3 #Edit ¡Encontré el problema! Debe crear una cuenta a través de fluxcp, para que su cuenta se genere en "cp_createlog". Estaba tratando de usar una cuenta creada manualmente. Entonces dio el error. 10 hours ago, Mael said: Intenta modificando esto en los archivos SQL. CREATE TABLE IF NOT EXISTS `cp_vfp_logs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `sites_id` int(11) NOT NULL, `timestamp_expire` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `timestamp_voted` timestamp NULL, `ipaddress` varchar(155) NOT NULL, `account_id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; CREATE TABLE IF NOT EXISTS `cp_vfp_sites` ( `id` int(11) NOT NULL AUTO_INCREMENT, `votename` varchar(25) NOT NULL, `voteurl` varchar(255) NOT NULL, `voteinterval` int(11) NOT NULL, `votepoints` int(11) NOT NULL, `imgname` varchar(255) DEFAULT NULL, `imgurl` varchar(255) DEFAULT NULL, `datetime_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; ALTER TABLE `cp_createlog` ADD `votepoints` int(11) NOT NULL DEFAULT '0'; Gracias por la ayuda, pero ahora no me tira ningun error, ahora le doy click a votar y no pasa nada y me cuenta como si me ha votado ya, pero no me redirecciona al top para votar Quote
Dark Lunacy Posted January 11, 2020 Posted January 11, 2020 (edited) 11 hours ago, KeyMaster said: También tengo este mismo problema, intenté agregar esta tabla sql y me dio lo mismo. Unable to vote for the server. Err no.3 #Edit ¡Encontré el problema! Debe crear una cuenta a través de fluxcp, para que su cuenta se genere en "cp_createlog". Estaba tratando de usar una cuenta creada manualmente. Entonces dio el error. Hola ¿Qué versión de mysql ocupas, y distro linux? En los logs de flux no aparece nada y tampoco en el debug mode. Me hice una cuenta y ahora obtengo el error: Unable to vote for the server. Err no. 1 Edited January 11, 2020 by Dark Lunacy Quote
Mael Posted January 12, 2020 Posted January 12, 2020 11 hours ago, gnashxalex said: Gracias por la ayuda, pero ahora no me tira ningun error, ahora le doy click a votar y no pasa nada y me cuenta como si me ha votado ya, pero no me redirecciona al top para votar https://github.com/sanasol/FluxCP_Addons-VoteForPoints/blob/master/config/addon.php#L4 Cambia por "vote" ? 1 Quote
Dark Lunacy Posted January 12, 2020 Posted January 12, 2020 1 hour ago, Mael said: https://github.com/sanasol/FluxCP_Addons-VoteForPoints/blob/master/config/addon.php#L4 Cambia por "vote" ? Hola, gracias por la ayuda. He seguido tus pasos que recomendaste más arriba, más esto último; aún así me sigue tirando el Unable to vote for the server. Err no. 1 Quote
Mael Posted January 12, 2020 Posted January 12, 2020 On 12/1/2020 at 13:44, Dark Lunacy said: Hola, gracias por la ayuda. He seguido tus pasos que recomendaste más arriba, más esto último; aún así me sigue tirando el Unable to vote for the server. Err no. 1 Consultaré con Sanasol, ya han pasado muchos meses desde que funcionaba el vote addon. Por cierto, publicación trasladada a una mejor ubicación. Quote
Dark Lunacy Posted January 12, 2020 Posted January 12, 2020 Hola de nuevo, gracias! Bueno, he logrado hacer desaparecer el Error No 1 desactivando el ''EnableVoteIPCheck'' /addons/voteforpoints/config/addon.php Me parece que está relacionado a estas líneas de código en /addons/voteforpoints/modules/voteforpoints/index.php: // voter is using invalid ip if (Flux::config('EnableIPVoteCheck') && !empty($_SERVER["HTTP_X_FORWARDED_FOR"]) || Flux::config('EnableIPVoteCheck') && !empty($_SERVER['HTTP_CLIENT_IP']) || Flux::config('EnableIPVoteCheck') && !empty($_SERVER['HTTP_X_FORWARDED'])) Solo que ahora al votar, no da los puntos. Quote
Mael Posted January 15, 2020 Posted January 15, 2020 On 1/12/2020 at 11:29 AM, Dark Lunacy said: Hola de nuevo, gracias! Bueno, he logrado hacer desaparecer el Error No 1 desactivando el ''EnableVoteIPCheck'' /addons/voteforpoints/config/addon.php Me parece que está relacionado a estas líneas de código en /addons/voteforpoints/modules/voteforpoints/index.php: // voter is using invalid ip if (Flux::config('EnableIPVoteCheck') && !empty($_SERVER["HTTP_X_FORWARDED_FOR"]) || Flux::config('EnableIPVoteCheck') && !empty($_SERVER['HTTP_CLIENT_IP']) || Flux::config('EnableIPVoteCheck') && !empty($_SERVER['HTTP_X_FORWARDED'])) Solo que ahora al votar, no da los puntos. On 1/11/2020 at 11:39 AM, gnashxalex said: Gracias por la ayuda, pero ahora no me tira ningun error, ahora le doy click a votar y no pasa nada y me cuenta como si me ha votado ya, pero no me redirecciona al top para votar https://github.com/sanasol/FluxCP_Addons-VoteForPoints/commit/68331492cbc96b35c4b5e29ddf24921c606dc11b 1 Quote
gnashxalex Posted January 15, 2020 Author Posted January 15, 2020 Gracias, Mael 18 minutes ago, Mael said: https://github.com/sanasol/FluxCP_Addons-VoteForPoints/commit/68331492cbc96b35c4b5e29ddf24921c606dc11b Quote
Mael Posted January 15, 2020 Posted January 15, 2020 On 1/16/2020 at 3:13 AM, gnashxalex said: Gracias, Mael Espero y puedan confirmar que el addon esté funcionando correctamente para que otras personas lo puedan tener a la mano. Nuevo update muchachos, por favor confirmar. @gnashxalex @Dark Lunacy https://github.com/sanasol/FluxCP_Addons-VoteForPoints/commit/b4cab297d64ecec531b16296418f0efb97568682#diff-2917ad71ad741fcfefe61ecb6648e79c Quote
Madeon Posted January 17, 2020 Posted January 17, 2020 9 hours ago, Mael said: Nuevo update muchachos, por favor confirmar. @gnashxalex @Dark Lunacy https://github.com/sanasol/FluxCP_Addons-VoteForPoints/commit/b4cab297d64ecec531b16296418f0efb97568682#diff-2917ad71ad741fcfefe61ecb6648e79c Si me funciono, muchisimas gracias mael 1 Quote
Mael Posted January 17, 2020 Posted January 17, 2020 1 hour ago, Madeon said: Si me funciono, muchisimas gracias mael Agradezcan a @Sanasol por su gentileza. Quote
Dark Lunacy Posted January 17, 2020 Posted January 17, 2020 19 hours ago, Mael said: Nuevo update muchachos, por favor confirmar. @gnashxalex @Dark Lunacy https://github.com/sanasol/FluxCP_Addons-VoteForPoints/commit/b4cab297d64ecec531b16296418f0efb97568682#diff-2917ad71ad741fcfefe61ecb6648e79c Hola! He ido reportando los errores que he ido encontrando acá: https://github.com/rathena/FluxCP/issues/251 Gracias a todos 1 Quote
Mael Posted January 17, 2020 Posted January 17, 2020 Just now, Dark Lunacy said: Hola! He ido reportando los errores que he ido encontrando acá: https://github.com/rathena/FluxCP/issues/251 Gracias a todos Me alegra, este addon apoyará a muchos. 2 Quote
Melk3000 Posted July 26, 2021 Posted July 26, 2021 Espero su ayuda, bajé el mas actualizado de Sanasol pero no me actualiza los votos en el cp, espero puedan apoyarme, gracias. Quote
Notorius Posted February 28, 2023 Posted February 28, 2023 (edited) El 1/17/2020 a las 8:31, Mael dijo: Me alegra, este complemento apoyará a muchos. Hola acabo de instalar este sistema de votos pero tengo un problema al momento de agregar alguna pagina para votos este solo se recarga y no agrega la nueva pagina aparece como si no hubiera echo nada no me sale ningun error en pantalla cual sera mi error? ademas de que no deja entrar a los usuarios que no son admin al panel de votacion https://prnt.sc/OYBippYKAbDm Edited February 28, 2023 by Notorius Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.