Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Installation Issues » eregi(): REG_BADRPT (# 256)
Re: eregi(): REG_BADRPT (# 256) [message #285 is a reply to message #283] Thu, 21 September 2006 05:38 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2361
Registered: April 2006
Location: Surrey, UK
Senior Member
Strange. That code works without problem on both of my local PC's as well as my hosted server. The code in question is actually on line 125 and should look as follows:
if (!empty($dbprefix)) {
    if (!eregi('^(' .$dbprefix .')', $dbname)) {
        // prefix may be different on different servers
        $dbname = $dbprefix .$dbname;
    } // if
} // if

Either you have a corrupt version of file dml.mysql.class.inc or you have something wrong with your PHP installation.

BTW, what value are you passing in for $dbprefix (from your config.inc file)?


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Install all tables in one DB
Next Topic: Install Problem
Goto Forum:
  


Current Time: Fri Sep 27 11:56:35 EDT 2024

Total time taken to generate the page: 0.05430 seconds