Closed Bug 549723 Opened 14 years ago Closed 14 years ago

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

Categories

(Websites Graveyard :: opentochoice.org, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: mauricio.beltran)

References

()

Details

Attachments

(1 file)

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
Assignee: carlos.ferro → mauricio.beltran
This has been fixed. Can you please confirm?

Thanks
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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 → ---
Fixed in r63608
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
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
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: