php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77068 Attempt to Up-vote an Answer Fails
Submitted: 2018-10-26 17:41 UTC Modified: 2019-05-20 13:10 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: yodarunamok at gmail dot com Assigned:
Status: Duplicate Package: Website problem
PHP Version: Irrelevant OS: MacOS 10.12.6
Private report: No CVE-ID: None
 [2018-10-26 17:41 UTC] yodarunamok at gmail dot com
Description:
------------
In both Chrome and Firefox, attempts to up-vote a helpful comment result in a red "x" in place of the score count, and a "Something went wrong :(" error at the top of the page. (The answer I'm trying to up-vote REALLY deserves it.) This happened the first time I attempted to up-vote the issue, and it presently has a score of zero.

Test script:
---------------
1- Navigate to https://secure.php.net/manual/en/xml.installation.php
2- Scroll down to Alex Ivaylov's answer.
3- Click the up arrow next to it.
4- You will see the error described above, and no vote is counted.

Expected result:
----------------
The answer's score should increase.

Actual result:
--------------
A red "x" in place of the score count, and a "Something went wrong :(" error at the top of the page.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-10-26 20:18 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2018-11-07 01:26 UTC] a at b dot c dot de
Try switching to one of the non-https mirrors at http://www.php.net/mirrors.php and trying there.

It's like there's some sort of same-origin thing going on; the script sends an OPTIONS request to https://php.net/ that comes back with a 301 to https://secure.php.net/ which is never followed up (meanwhile similar redirects happen as normal).
 [2019-05-20 13:10 UTC] petk@php.net
-Status: Verified +Status: Duplicate
 [2019-05-20 13:10 UTC] petk@php.net
Hello, there has been now a migration to only "one" site so this issue will be resolved once the redirections are done correctly. Reported here https://bugs.php.net/bug.php?id=78040 And also closing this one in favour of the bug https://bugs.php.net/74126

Thank you for reporting issues you're having.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue May 21 00:01:27 2019 UTC