developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 7 years ago

Closed 7 years ago

#1509 closed bug (fixed)

Wrong HTTP status code with jTcpdfResponse

Reported by: flh Owned by:
Priority: normal Milestone: Jelix 1.2.12
Component: jelix:core:pdf Version: 1.5.0
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: OVH Php version: 5.4.6

Description

On OVH shared hosting, using jTcpdfResponse sends a 404 (Not Found) HTTP status code.

This can be fixed by calling :

$this->sendHttpHeaders()

(inherited from jResponse) in the first lines of jTcpdfResponse::output().

This bug does not occur on my local PHP installation: I cannot find which configuration setting on OVH side triggers this bug.

Change History (4)

comment:1 Changed 7 years ago by flh

  • Component changed from jelix to jelix:core:pdf

comment:2 Changed 7 years ago by laurentj

  • Milestone set to Jelix 1.5.1

comment:3 Changed 7 years ago by laurentj

  • Milestone changed from Jelix 1.5.1 to Jelix 1.2.12
  • Status changed from new to confirmed

comment:4 Changed 7 years ago by laurentj

  • Resolution set to fixed
  • Status changed from confirmed to closed
Note: See TracTickets for help on using tickets.