update-script 2.10 -> 2.11: Use of undefined constant GLOB_BRACE

Luisehahne

Quote
WebsiteBaker 2.11.0 incl. Fixes released
2018-03-03 : read more about ...
Have Fun

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

evaki

>>Yes announcwment in work  8-)  (Y)

(Kommt gelegen, da bei uns noch jemand ein "altes" Solaris -mit ZFS un so- betreibt.)

MfG. Evaki

Luisehahne

Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!


kct-networx

I'd like to say Thank you to both of you.
The fix I've tested works like a Charme for me.
It seems to be ready to move into the upcoming Release/Bugfix-release.

Great job!

Best regards
Markus


Gast

the fix is ready for intern test's - i've the same problem like you on strato server and it works

if interest for a test, send a PM - i hope, we can publish this fix tomorrow

kct-networx

Hi Dietmar,

thank you for your fast response!
Exactly, it seems to be a Solaris OS.

Would you recommend to stay at 2.10 until a fix is available?
Or is it safe to remove the GLOB_BRACE variable from /framework/function.php line 55?

Thank you!

Best regards
Markus

Luisehahne

Hi,

Note: The GLOB_BRACE flag is not available on some non GNU systems, like Solaris. Most of the Server by Strato are Solaris,

We are working for another sulotion without GLOB_BRACE.

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

kct-networx

Hey guys,

i recently upgraded from WB2.8.3+SP6 to 2.10 and everything went fine.
Many thanks to the team for that great job!

After that I've tried to upgrade to 2.11, but the upgrade script failed for the following reason at Step 10 (Checking all addons with a newer version (upgrade)):
Use of undefined constant GLOB_BRACE (line 55 in /framework/functions.php)

My Hoster: Strato
used PHP Version: 7.1.13
used SQL Version: 5.6.37

Does anybody know how to fix this?

Thanks in Advance!

Best regards
Markus

PS: I managed to complete the script, by removing GLOB_BRACE in line 55. But I'm not sure what else will be broken by using this "dirty fix".