Can't update preferences

Post issues, bugs, and feature requests about the various WineHQ websites to this forum.
Locked
dtris
Newbie
Newbie
Posts: 2
Joined: Sun Oct 06, 2019 8:29 am

Can't update preferences

Post by dtris »

Hi,

whenever I try to update my preferences, I get the following error:

Code: Select all

Error Message: Uncaught Error: Call to undefined function ereg() in /home/winehq/opt/appdb/preferences.php:49 Stack trace: #0 {main} thrown

File: preferences.php:49
I suppose that this happens because PHP's ereg was removed in PHP 7 and the preferences page was not updated.
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't update preferences

Post by dimesio »

Please file a bug. https://bugs.winehq.org/
User avatar
jnewman
Site Admin
Site Admin
Posts: 94
Joined: Thu Feb 21, 2008 3:23 pm

Re: Can't update preferences

Post by jnewman »

I'll get a fix in for this.
User avatar
jnewman
Site Admin
Site Admin
Posts: 94
Joined: Thu Feb 21, 2008 3:23 pm

Re: Can't update preferences

Post by jnewman »

Should be fixed now. I also found a few other ereg() calls in the code and fixed them as well.
dtris
Newbie
Newbie
Posts: 2
Joined: Sun Oct 06, 2019 8:29 am

Re: Can't update preferences

Post by dtris »

Seems to be working fine 👍
Locked