Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
No preview pictures using PHP > 7.0
Avatar
og #1
Member since May 2006 · 415 posts · Location: Bayern
Group memberships: Members
Show profile · Link to this post
Subject: No preview pictures using PHP > 7.0
I've recently tried to migrate the PHP-version of my Dokuwiki server from 7.0 to 7.2, but failed because there is an issue with the preview-pictures. They don't get rendered anymore, nor in the mediamanager or on the website.
Is this a known issue or what can be wrong?
Oli...
Avatar
peterfromearth #2
Member for 2 months · 19 posts · Location: Hunsrück
Group memberships: Members
Show profile · Link to this post
do you resize the images?

like {{image?250}}
Avatar
og #3
Member since May 2006 · 415 posts · Location: Bayern
Group memberships: Members
Show profile · Link to this post
Yes
Oli...
Avatar
peterfromearth #4
Member for 2 months · 19 posts · Location: Hunsrück
Group memberships: Members
Show profile · Link to this post
then this might be related to https://github.com/splitbrain/dokuwiki/issues/2474

can you execute this php statement on your server

var_dump(ini_get('memory_limit'));
Avatar
og #5
Member since May 2006 · 415 posts · Location: Bayern
Group memberships: Members
Show profile · Link to this post
Gives me this result:
string(2) "-1"

Enabling the allowdebug and use &do=debug in URL i get:

 [memory_limit] => Array
        (
            [global_value] => 128M
            [local_value] => 128M
            [access] => 7

But to prevent double posting, i'm going over to GitHub tickets.
Oli...
This post was edited on 2018-10-26, 16:18 by og.
Avatar
peterfromearth #6
Member for 2 months · 19 posts · Location: Hunsrück
Group memberships: Members
Show profile · Link to this post
ok thanks, that helped a lot!


Can you check if one of the workarounds work for you https://github.com/splitbrain/dokuwiki/issues/2474#issueco…
Avatar
og #7
Member since May 2006 · 415 posts · Location: Bayern
Group memberships: Members
Show profile · Link to this post
This patch will fix the issue: https://github.com/splitbrain/dokuwiki/pull/2420/files
Oli...
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-11-16, 21:19:36 (UTC +01:00)