Points of Required Attention™
Acmlmboard 2 Released
Github/GIT | @acmlmboard | IRC: #abdev
Chatting Places
IRC: #kafuka | Discord

Affiliates
Super Mario Bros. X | Kuribo64
Views: 4,787,000
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Calendar | Stats | Ranks | Online users | Search
01-22-18 09:51 PM
Guest: Register | Login

0 users currently in AcmlmBoard Developer Zone | 1 guest

Main - AcmlmBoard Developer Zone - PHP Deprecated functionality Report
Next newer thread | Next older thread


Emuz
Posted on 04-27-15 12:07 PM Link | ID: 84675
Acmlmistrator

11 Hit Combo:
Mother's Rosario
Level: 92


Posts: 2632/2933
EXP: 7475884
Next: 281053

Since: 12-30-11
From: Akron, Ohio; USA

Last post: 1 hour
Last view: 26 min.
I guess I got my first report related to future versions of PHP choking on our code.

We could document and future proof as we get reports:

On Posted Threads and User Profile, I get this error(s):


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/??????/public_html/board/lib/post.php on line 226

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/??????/public_html/board/lib/post.php on line 226


That would be this line:
$s=str_replace("&exppct&",sprintf("%d",$edone*100/lvlexp($lvl)),$s);


Looks like they are making changes with regexp...

The Dynamic Profile Administrator™


"Wastashi Dake ga Inai Boaado"

StapleButter
Posted on 04-27-15 12:54 PM Link | ID: 84676
Developer
Acmlmboard has... side effects
Level: 69


Posts: 749/1548
EXP: 2862704
Next: 7039

Since: 01-05-12
From: France

Last post: 4 days
Last view: 2 days
Probably this line:

$s= preg_replace('@&(\d+)&@sie','max($1 - '.$post['num'].', 0)', $s);


But from an older version.


(also damnit some of the toolbar buttons are confusing; I thought [] was for code)

____________________
Kuribo64 - we hack shit

Next newer thread | Next older thread
Main - AcmlmBoard Developer Zone - PHP Deprecated functionality Report


Acmlmboard v2.5.3 (1/7/2018)
© 2005-2018 Acmlm, Emuz, et al.

Page rendered in 0.033 seconds. (673KB of memory used)
MySQL - queries: 59, rows: 515/539, time: 0.017 seconds.