Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorxiphias
    • CommentTimeFeb 13th 2017
     
    While trying to update the code be able to run on newer PHP versions I ran into some ereg() to preg() replacements. No biggy. But all of a sudden I got the above error when logging into the Admin even though server info stated: GD Version: bundled (2.0.34 compatible)

    When looking at the PHP log files there was a preg() error. After the update below, error gone and plogger running fine again.

    plog-includes/lib/phpthumb/phpthumb.functions.php line 362
    Old:
    if (ereg_match('bundled \((.+)\)$', $gd_info['GD Version'], $matches)) {

    New:
    if (preg_match('/bundled \((.+)\)$/', $gd_info['GD Version'], $matches)) {