Menu

#394 Call to undefined function dl() in config_check.php on line

Reproducible
closed-fixed
nobody
5
2010-12-12
2010-12-12
Anonymous
No

Since updating PHP version to 5.3.2-1ubuntu4.5, NOCC does not work anymore. When I access the start page (index.php) I get an empty page and the error log gets a fatal error:
PHP Fatal error: Call to undefined function dl() in [omitted]/utils/config_check.php on line 36

I use Ubuntu Server 10.04 Kernel 2.6.32-26-server and PHP version 5.3.2-1ubuntu4.5.
Might this be related to http://bugs.php.net/bug.php?id=48819

Cheers Jan

Discussion

  • Jan

    Jan - 2010-12-12

    I am using the latest NOCC version 1.8.3

     
  • Tim Gerundt

    Tim Gerundt - 2010-12-12

    patch file

     
  • Tim Gerundt

    Tim Gerundt - 2010-12-12

    Hi Jan,

    if you remove the whole "if (!extension_loaded('imap')) { }" block it should be work. I do this already in the SVN sources (r2346). The code will anyway not run under platform which are no Linux, since the extension don't end with the ".so". And I even this, that the most hoster will not allow the load of extensions. So I better remove this old code. :)

    Thank you very much for the bug report.

     
  • Tim Gerundt

    Tim Gerundt - 2010-12-12
    • status: open --> closed-fixed
     
  • Jan

    Jan - 2010-12-12

    Hi gerundt

    I needed to remove the mentioned block in config_check.php and to install php5-imap.
    Now NOCC runs.
    Cheers

     

Log in to post a comment.