Call to undefined function get_post() when trying to download flyer asset

VERIFIED FIXED

Status

P1
critical
VERIFIED FIXED
9 years ago
8 years ago

People

(Reporter: stephend, Assigned: mauricio.beltran)

Tracking

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
STR:

1. Load http://opentochoice2.stage.mozilla.com/2010/02/flyer/
2. Click on "Download", which loads http://opentochoice2.stage.mozilla.com/opentochoice_content/themes/mozilla_choice/download.php?id=329&file=http://opentochoice.org/opentochoice_content/uploads/2010/02/FlyerOut_ColorFinal_A4_EN.pdf

Expected Results:

Flyer loads

Actual Results:

Fatal error: Call to undefined function get_post() in /data/www/opentochoice2.stage.mozilla.com/trunk/opentochoice_content/themes/mozilla_choice/download.php  on line 7
Priority: -- → P1

Updated

9 years ago
Assignee: carlos.ferro → mauricio.beltran

Comment 1

9 years ago
This has been fixed. Can you please confirm?

Thanks
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

9 years ago
Created attachment 429870 [details]
Screenshot of regression
(Reporter)

Comment 3

9 years ago
Please see the screenshot in comment 2; now, the PDF is being recognized as JPEG, but is returned as a PHP file?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Comment 4

9 years ago
Fixed in r63608

Updated

9 years ago
Status: REOPENED → RESOLVED
Last Resolved: 9 years ago9 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

9 years ago
Verified FIXED; the link constructs are actually different, now, like so:

http://opentochoice.org/opentochoice_content/uploads/2010/02/FlyerOut_ColorFinal_A4_EN.pdf

Beau-ti-ful!
Status: RESOLVED → VERIFIED

Updated

8 years ago
Component: opentochoice.org → opentochoice.org
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.