Martok
Well-known member
Guests should be able to rate media/albums if the appropriate permissions are set in the Unregistered/Unconfirmed user group. However, when this is set, I get an error.
I have "Require comment when rating media or album" unticked.
When rating, I get the rating dialogue box as expected (without the text editor as I have disallowed comments). After submitting the rating I get:
There are server errors in the ACP for each attempt. Here is one:
I have "Require comment when rating media or album" unticked.
When rating, I get the rating dialogue box as expected (without the text editor as I have disallowed comments). After submitting the rating I get:
There are server errors in the ACP for each attempt. Here is one:
Code:
XenForo_Exception: An unexpected error occurred - library/XenGallery/DataWriter/Rating.php:73
Generated By: Unknown Account, 11 minutes ago
Stack Trace
#0 /XXXXXXXX/library/XenForo/DataWriter.php(1446): XenGallery_DataWriter_Rating->_preSave()
#1 /XXXXXXXX/library/XenForo/DataWriter.php(1385): XenForo_DataWriter->preSave()
#2 /XXXXXXXX/library/XenGallery/ControllerPublic/Album.php(584): XenForo_DataWriter->save()
#3 /XXXXXXXX/library/XenForo/FrontController.php(347): XenGallery_ControllerPublic_Album->actionRate()
#4 /XXXXXXXX/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /XXXXXXXX/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
["url"] => string(63) "http://www.mysite.com/media/albums/warframe.7/rate"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["rating"] => string(1) "3"
["_xfToken"] => string(8) "********"
["_xfConfirm"] => string(1) "1"
["_xfRequestUri"] => string(13) "/media/albums"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}