Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Plone 4.2.5: The parameter, <em>category</em>, was omitted from the request #2

Open
spanish opened this issue Dec 8, 2014 · 0 comments

Comments

@spanish
Copy link

spanish commented Dec 8, 2014

Hello,

I can't use content ratings in Plone 4.2.5 (new testing buildout and new testing website).

plone.contentratings 1.1
contentratings 1.1

No problem with anonymous users (they can rate).

But logged users can't rate. This is the error:

Hora
08/12/2014 19:16
Nombre del Usuario
admin (admin)
URL de la Petición
http://425.test.com/calificaciones/front-page/updateRating
Tipo de Excepción
BadRequest
Valor de la Excepción

Site Error

An error was encountered while publishing this resource.

Invalid request

The parameter, category, was omitted from the request.

Make sure to specify all required parameters, and try the request again.


Troubleshooting Suggestions

  • The URL may be incorrect.
  • The parameters passed to this resource may be incorrect.
  • A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the error log.

If the error persists please contact the site maintainer. Thank you for your patience.

Traceback (innermost last):

Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 72, in mapply
Module ZPublisher.Publish, line 51, in missing_name
Module ZPublisher.HTTPResponse, line 741, in badRequestError

BadRequest:

Site Error

An error was encountered while publishing this resource.

Invalid request

The parameter, category, was omitted from the request.

Make sure to specify all required parameters, and try the request again.


Troubleshooting Suggestions

  • The URL may be incorrect.
  • The parameters passed to this resource may be incorrect.
  • A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the error log.

If the error persists please contact the site maintainer. Thank you for your patience.

Mostrar traza como texto
REQUEST
form
kukitTimeStamp '1418062579857'
cookies
__ac 'NmM2OTYyNjU3Mjc0NjE2NDo2MTZiNzUzNjU0MzI1MjUxNDAyMzMzMzc2YTY2NTQ1NTMyMzE%3D'
contentratings 'B463B92222C2E6B1EF77F5E6A64FE529'
default_horde_view 'auto'
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>>
other
AUTHENTICATION_PATH ''
TraversalRequestNameStack []
LANGUAGE 'es'
AUTHENTICATED_USER <PropertiedUser 'admin'>
URL 'http://425.test.com/calificaciones/front-page/updateRating'
VIRTUAL_URL 'http://425.test.com/calificaciones/front-page/updateRating'
VirtualRootPhysicalPath ('',)
SERVER_URL 'http://425.test.com'
LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding instance at 0x8bb5b90>
__ac 'NmM2OTYyNjU3Mjc0NjE2NDo2MTZiNzUzNjU0MzI1MjUxNDAyMzMzMzc2YTY2NTQ1NTMyMzE%3D'
PUBLISHED <Products.Five.metaclass.RatingKSSView object at 0x8bdd810>
method 'POST'
ACTUAL_URL 'http://425.test.com/calificaciones/front-page/updateRating'
VIRTUAL_URL_PARTS ('http://425.test.com', 'calificaciones/front-page/updateRating')
URL0 http://425.test.com/calificaciones/front-page/updateRating
URL1 http://425.test.com/calificaciones/front-page
URL2 http://425.test.com/calificaciones
URL3 http://425.test.com
BASE0 http://425.test.com
BASE1 http://425.test.com
BASE2 http://425.test.com/calificaciones
BASE3 http://425.test.com/calificaciones/front-page
BASE4 http://425.test.com/calificaciones/front-page/updateRating
environ
HTTP_X_FORWARDED_SERVER '425.test.com'
HTTP_REFERER 'http://425.test.com/calificaciones'
HTTP_ACCEPT_LANGUAGE 'es-es,es;q=0.5'
SERVER_SOFTWARE 'Zope/(2.13.19, python 2.6.4, linux2) ZServer/1.1'
SCRIPT_NAME ''
REQUEST_METHOD 'POST'
PATH_INFO '/VirtualHostBase/http/425.test.com:80/VirtualHostRoot/calificaciones/front-page/updateRating'
SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING 'kukitTimeStamp=1418062579857'
channel.creation_time 1418062579
CONNECTION_TYPE 'Keep-Alive'
HTTP_USER_AGENT 'Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0'
HTTP_COOKIE 'default_horde_view=auto; contentratings="B463B92222C2E6B1EF77F5E6A64FE529"; __ac="NmM2OTYyNjU3Mjc0NjE2NDo2MTZiNzUzNjU0MzI1MjUxNDAyMzMzMzc2YTY2NTQ1NTMyMzE%253D"'
SERVER_NAME 'servidor.test.net'
REMOTE_ADDR '127.0.0.1'
HTTP_VIA '1.1 425.test.com'
PATH_TRANSLATED '/VirtualHostBase/http/425.test.com:80/VirtualHostRoot/calificaciones/front-page/updateRating'
SERVER_PORT '9425'
CONTENT_LENGTH '0'
HTTP_PRAGMA 'no-cache'
HTTP_DNT '1'
HTTP_HOST 'localhost:9425'
HTTP_CACHE_CONTROL 'no-cache'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_X_FORWARDED_FOR '1.2.3.4'
HTTP_X_FORWARDED_HOST '425.test.com'
CONTENT_TYPE 'application/x-www-form-urlencoded; charset=UTF-8'
HTTP_ACCEPT_ENCODING 'gzip, deflate'


Any idea?

Thanks,

Manuel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant