Bug #65887 [Nab]: Voting buttons on User Contributed Notes fail with error
| From: | marmel6942 at yahoo dot com | Date: | Tue, 10 Dec 2013 21:07:41 +0000 |
| Subject: | Bug #65887 [Nab]: Voting buttons on User Contributed Notes fail with error | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-17468@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65887&edit=1
ID: 65887
User updated by: marmel6942 at yahoo dot com
Reported by: marmel6942 at yahoo dot com
Summary: Voting buttons on User Contributed Notes fail with
error
Status: Not a bug
Type: Bug
Package: Website problem
Operating System: Debian x64
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
php.net exhibits broken behaviour as well.
An empty http response is generated, and the voting button turns to a red "X" with the
tooltip text, "Error :("
Previous Comments:
------------------------------------------------------------------------
[2013-12-10 19:49:53] googleguy@php.net
Some of the mirrors don't allow external requests. There's nothing I can do about that
part, but as for the tally not being reflected immediately after you cast the vote, this is expected
behavior.
Once you cast the vote the request is made through javascript to our main php server and the
database is updated then the new tally is returned through the API. That new tally is then provided
immediately through javascript. However, if you were to refresh the page you will still see the old
tallies because each php.net mirror keeps a local copy of the notes, which get updated periodically
(usually once every hour or so).
So changes to the ratings may not be reflected in real time across all mirrors.
------------------------------------------------------------------------
[2013-12-10 19:04:20] marmel6942 at yahoo dot com
Using www.php.net
Same response:
{"success":false,"msg":"Unable to complete your request at this time.
Please try again later..."}
If I continue to refresh without cache, I can occasionally get a success:
{"success":true,"update":-5}
However, it appears to not take effect as the vote tallies never change on subsequent refreshes.
------------------------------------------------------------------------
[2013-12-10 09:30:23] karldeux@php.net
Do you still have this problem? Are you using www.php.net or php.net? Need feedback.
------------------------------------------------------------------------
[2013-10-12 16:54:18] marmel6942 at yahoo dot com
Description:
------------
Voting buttons fail with red "X" on both Firefox and Chrome.
Response is:
{"success":false,"msg":"Unable to complete your request at this time.
Please try again later..."}
Expected result:
----------------
Vote will be acknowledged and counted.
Actual result:
--------------
Error is returned.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65887&edit=1