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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yodarunamok at gmail dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC