Bienvenue, Invité
Nom d'utilisateur : Mot de passe :


This Help forum is for issues relates to the latest release (1.7.10/11/12). For issues related to development versions please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

SUJET : [SOLVED] PDF Reports give white screen.

PDF Reports give white screen. il y a 6 mois 1 semaine #1

  • Harrie24
  • Portrait de Harrie24
  • Hors Ligne
  • New
  • Messages : 15
All standard PDF reports give a white screen. HTML does work however.

The error is:

/home/deb9112/domains/harrievanhelvoort.nl/public_html/vendor/tecnickcom/tcpdf/tcpdf.php:17786 "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
#0 /vendor/composer/ClassLoader.php:444 ErrorException(""continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?")
#1 /vendor/composer/ClassLoader.php:444 include()
#2 /vendor/composer/ClassLoader.php:322 Composer\Autoload\includeFile('/home/deb9112/domains/harrieva…')
#3 unknown:unknown loadClass('TCPDF')
#4 /app/Report/ReportTcpdf.php:25 spl_autoload_call('TCPDF')
#5 /vendor/composer/ClassLoader.php:444 include('/home/deb9112/domains/harrieva…')
#6 /vendor/composer/ClassLoader.php:322 Composer\Autoload\includeFile('/home/deb9112/domains/harrieva…')
#7 unknown:unknown loadClass('Fisharebest\\Webtrees\\Report\\Re…')
#8 /app/Report/ReportPdf.php:66 spl_autoload_call('Fisharebest\\Webtrees\\Report\\Re…')
#9 /app/Report/ReportParserGenerate.php:332 setup()
#10 /app/Report/ReportParserGenerate.php:161 docStartHandler([array])
#11 unknown:unknown startElement([resource], 'Doc', [array])
#12 /app/Report/ReportParserBase.php:45 xml_parse([resource], '<?xml version="1.0" encoding="…', false)
#13 /app/Report/ReportParserGenerate.php:131 __construct('modules_v3/descendancy_report/…')
#14 /reportengine.php:282 __construct('modules_v3/descendancy_report/…', [ReportPdf], [array])
Webtrees 1.7.12
PHP 7.3.1
L'administrateur a désactivé l'accès en écriture pour le public.

PDF Reports give white screen. il y a 6 mois 1 semaine #2

  • fisharebest
  • Portrait de fisharebest
  • en ligne
  • Administrator
  • Messages : 11221
Reports are based on the TCPDF library which was abandoned many years ago.

Basically, you upgraded to PHP 7.3, and the TCPDF library isn't compatible with PHP 7.3

There is very limited support for it, and updates come slowly...

Luckily, a patch for PHP 7.3 was released recently and I already added it to webtrees.

Just wait for the next release (1.7.13). I'll try to do at the weekend.

If you can't wait - it is just a one-line change. You can see it here:

github.com/tecnickcom/TCPDF/pull/91/files
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net
Dernière édition: il y a 6 mois 1 semaine par fisharebest.
L'administrateur a désactivé l'accès en écriture pour le public.

PDF Reports give white screen. il y a 6 mois 1 semaine #3

  • Harrie24
  • Portrait de Harrie24
  • Hors Ligne
  • New
  • Messages : 15
Great! It works.
Thanks.
Webtrees 1.7.12
PHP 7.3.1
L'administrateur a désactivé l'accès en écriture pour le public.

[SOLVED] PDF Reports give white screen. il y a 6 mois 1 semaine #4

  • Harrie24
  • Portrait de Harrie24
  • Hors Ligne
  • New
  • Messages : 15
Problem solved.
Webtrees 1.7.12
PHP 7.3.1
L'administrateur a désactivé l'accès en écriture pour le public.
Propulsé par Kunena