Refbase - Error @ installation on Apache

  • Florian

    Florian - 2009-11-17

    Hi there,

    I tried to install RefBase today on a Windows Computer running Apache 2.2.11, PHP 5.3.0 and MySQL 5.1.36 using WAMPServer 2.0

    After installation, and setting up the initialize/ (username, password and MySQL database name),
    the RefBase page loads, and I can login and klick all the links (import, search and so on), but all those error-messages pop up:

    Deprecated: Function ereg() is deprecated in F:\apache\htdocs\refbase-0.9.5\includes\ on line 4300
    this goes on (you can take a look, If you like ->

    I thought this was a problem with the mySQL-user, but I checked the MyPHP client and all the settings of our database seem fine (all the grants are set correctly)

    I checked the php.ini, and all the neccessary settings are on "ON" or "1" (also the safe_mode is on "OFF")

    I'm running out of ideas…we also tried a manual installation - same thing.

    Its probably some really stupid error, but thank you anyways for your time.


  • Matthias Steffens

    Hi Florian,

    sorry for the trouble you're facing. These E_DEPRECATED errors are not a problem with your installation, since (as I've also discovered recently) PHP 5.3.0 has  quite a few of its older functions. This causes problems for refbase.


    refbase-0.9.5 makes abundant use of some of these (now deprecated) functions, such as 'ereg()' or 'split()'.

    I've started to replace these functions with their recommended replacement functions, but this process isn't done yet, and I can't say when I'll be able to upload my changes. I'll try to do this ASAP, though.

    For the time being, would you be able to either deploy refbase with PHP 5.2.x or suppress error messages on your server?


  • Florian

    Florian - 2009-11-17


    thx for the quick reply…

    I'll ask my boss if its possible to install the new PHP version. Otherwise, like you said, it should be possible to check for those error-messages in the php.ini?

    Greetz ;-)
    Oh, and thx for the pics in the last mail. You guys had the original Army-Bunny boots - I always get laughs when I put mine on in the winter… ;-)

  • Florian

    Florian - 2009-11-17

    Me again…
    My boss wants to refrain from reinstalling PHP, since it was installed in the actual setting in a bundle. But maybe it is possible to upgrade the WAMP server? I read in a couple forums that Upgrading WAMP 2.0 to 2.0i helps dealing with the PHP5.3 issue.
    It might be possible to just upgrade WAMP "on the fly" and leave the apache and all the other stuff untouched.

  • Richard Karnesky

    As Matthias pointed out, the warning notices are relatively benign.  You should probably not emit your errors and warnings to the world in a production environment anyway.  Set  display_errors = Off in php.ini

  • Florian

    Florian - 2009-11-18

    Okidoki. Thx for all your help.

  • Matthias Steffens

    As already reported in other forum threads, I've (finally!) updated the bleeding-edge branch of the refbase Subversion repository at Sourceforge. This newest revision (#1337) should work with PHP5 w/o emitting E_DEPRECATED errors. This may need more testing, but most (if not all) of the issues should be fixed now. Let me know if this isn't the case for you.

    More information on how to obtain, install or update the refbase SVN version is available at:

    HTH, Matthias


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks