GithubHelp home page GithubHelp logo

Comments (24)

qEssence avatar qEssence commented on July 28, 2024

I cannot replicate this,
I know you have activated the option on the backend ( Rating = yes) But, have you set up the permissions for registered users?
Backend -> Components -> sliComments -> Options -> Permisions

Cheers.

from slicomments.

ncldnl avatar ncldnl commented on July 28, 2024

:( yep, i checked permissions; actually i left them untouched, as per default.

from slicomments.

ncldnl avatar ncldnl commented on July 28, 2024

even with admin in the front end it says "invalid vote"

from slicomments.

jonnsl avatar jonnsl commented on July 28, 2024

That's weird. an invalid vote is a vote different than -1(dislike) or 1(like);
are you using some 3rd party extension for sef urls?
Could you send me the vote link? it should be something like this [...]/index.php/component/slicomments/?task=comments.vote&v=1&id=1&3f2874bc26ff14bbda386280ce5c0653=1

from slicomments.

ncldnl avatar ncldnl commented on July 28, 2024

http://miereromaneasca.ro/index.php/component/slicomments/?task=comments.vote&v=-1&id=17&503895835b4ea01bef68471aeec8b308=1

from slicomments.

qEssence avatar qEssence commented on July 28, 2024

I can verify this, so weird. :/

Edit: Tested on J2.5.1 No problems so far.

Try disabling the kunena integration. Just to try.

from slicomments.

ncldnl avatar ncldnl commented on July 28, 2024

i disabled kunena integration from sliComments (link names & avatar fields)
and i disabled kunena from "extension manager"

still, same error

from slicomments.

ncldnl avatar ncldnl commented on July 28, 2024

Also changed to English, as default language for the site, no solution

from slicomments.

jonnsl avatar jonnsl commented on July 28, 2024

wich joomla version are you using? which php version the server is running? are you using any other extensions other than kunena and slicomments? can you confirm that the error returned is "invalid vote" by changing the language to english?

from slicomments.

ncldnl avatar ncldnl commented on July 28, 2024

Joomla 2.5.1
PHP 5.2.17
Extensions: Akeeba/JCE/Kunena/tabulizer
i confirm error is the same, after changing site language to English.

from slicomments.

ncldnl avatar ncldnl commented on July 28, 2024

i took a fresh local intallation, installed 2.5.0 Joomla, no extension but sliComments
and still get the same error! so weird!

PHP Built On Darwin MACDN-6.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
Database Version 5.1.44
Database Collation utf8_general_ci
PHP Version 5.3.2
Web Server Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 2.5.0 Stable [ Ember ] 24-Jan-2012 14:00 GMT
Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10

from slicomments.

ncldnl avatar ncldnl commented on July 28, 2024

uffffff, i tried with a fresh local installation of joomla 1.7.3, still same error
what possibly can be wrong? do you have live site using this extension?

PHP Built On Darwin MACDN-6.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
Database Version 5.1.44
Database Collation utf8_general_ci
PHP Version 5.3.2
Web Server Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 1.7.3 Stable [ Ember ] 14-Nov-2011 14:00 GMT
Joomla! Platform Version Joomla Platform 11.2.0 Stable+Modified [ Omar ] 27-Jul-2011 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10

from slicomments.

qEssence avatar qEssence commented on July 28, 2024

Hi @ncldnl , please, create a phpinfo.php file in your server, it must contain the following string:

While it doesn't include version information about your database scheme, it does include version information about PHP, Apache/IIS, GD, and other things. It also contains a description of many important settings, which could possibly be causing problems with your installation.

Save , and upload it to your server, somewhere we can access to. I think this way @jonnsl will be able to ensure your settings are ok :)

from slicomments.

jonnsl avatar jonnsl commented on July 28, 2024

actually, there is no need to create the phpinfo file.

from slicomments.

qEssence avatar qEssence commented on July 28, 2024

i'm sorry, just tryng to help.

from slicomments.

skunker avatar skunker commented on July 28, 2024

This is actually the &v=1 in the URL which is causing the problem "invalid vote", if we replace that with &v=1 the problem is gone, I can't exactly identify whats causing this yet, but this solves the problem. ;)

from slicomments.

skunker avatar skunker commented on July 28, 2024

&

from slicomments.

iseo avatar iseo commented on July 28, 2024

Has this problem been solved yet?

I have tried changing - 'index.php?option=com_slicomments&task=comments.vote&v=1' to index.php?option=com_slicomments&task=comments.vote&v=1 on lines 24 & 24 of default_comments.php.

But Its still appearing in the browser as 'index.php?option=com_slicomments&task=comments.vote&v=1'

Sorry I have worked it out - you need to put in & amp;amp; without the space. so the link now appears on the live site as

  • 'index.php?option=com_slicomments&task=comments.vote&v=1'

from slicomments.

jonnsl avatar jonnsl commented on July 28, 2024

Sorry about that, but I can reproduce this error no matter how hard I try. and change & to & should not have any effect.

from slicomments.

kasleyy avatar kasleyy commented on July 28, 2024

hi
I tried slicomments with joomla 2.5.4, but the vote does not work with anyone
error (invalid vote) i get this error with debug firefox

"NetworkError: 500 Internal Server Error - http://www.mysite.com/component/slicomments/?task=comments.vote&v=-1&id=1&0660626a164ce66661dad2c1a42d0637=1&format=raw"

how can I fix this? thanks all

from slicomments.

kasleyy avatar kasleyy commented on July 28, 2024

you can help someone solved the problem in the php.ini file server
set ( open_basedir = Off )

from slicomments.

rodvold avatar rodvold commented on July 28, 2024

Just installed latest release 1.3.2 and still experiencing the invalid vote - anyone find a work around without messing with open_base dir

from slicomments.

rodvold avatar rodvold commented on July 28, 2024

setting open_basedir off doesn't fix the problem with j2.5 and 1.3.2

from slicomments.

jonnsl avatar jonnsl commented on July 28, 2024

This issue is caused by a workaround used by joomla when "magic_quotes_gpc" is set to "on".
I will report this bug to the joomla developers, and release a fix for slicomments.
The best solution would be turn off magic_quotes.

from slicomments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.