Jump to content

NeilFawcett

New Members
  • Posts

    4
  • Joined

  • Last visited

NeilFawcett's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Sorry, my point is, is that warningsaying, "something serious is wrong now!" Or, "this needs attention soon?" ie: If I fix it in a couple of weeks, that's OK? For the meantime it will work just as per PHP 5.3? What's odd, is I didn't get that warning under PHP 5.3? ps: I'm not entirely sure what script is causing the error, so I'll probably FTP the entire site down and then do a search for the command being used...
  2. Having upgrade from PHP 5.3 to 5.5 I can see some warning along the lines of:- PHP Deprecated: Function split() is deprecated in /xxxxxxxxxx.php(791) : eval()'d code on line 2 Now, is this reporting a problem? Or it is just a warning that can be ignored? The manual suggests it's still in 5.5? - http://php.net/manual/en/function.split.php So is this an urgent issue for the moment, and I can track down the code in the coming weeks knowing it's just a warning as such?
  3. Some by brute force and a lot of ignorance I've fixed it Seems under PHP5.5 it has to use the mysqli case!
  4. I have a PHP script which we use with VBulletin. The script works under PHP 5.3, but when we change to PHP 5.5 the code produces a "database error." The line it happens on is:- $db->connect( $config['Database']['dbname'], $config['MasterServer']['servername'], $config['MasterServer']['port'], $config['MasterServer']['username'], $config['MasterServer']['password'], $config['MasterServer']['usepconnect'], $config['SlaveServer']['servername'], $config['SlaveServer']['port'], $config['SlaveServer']['username'], $config['SlaveServer']['password'], $config['SlaveServer']['usepconnect'], $config['Mysqli']['ini_file'] I'm hoping quite simply that for PHP 5.5 that command needs to be altered in someway? Thanks for any help... ps: Preceding that code is the following in case it's important:- switch (strtolower($config['Database']['dbtype'])) { // load standard MySQL class case 'mysql': case '': { $db =& new vB_Database($vbulletin); break; } // load MySQLi class case 'mysqli': { $db =& new vB_Database_MySQLi($vbulletin); break; } // load extended, non MySQL class default: { die('Fatal error: Database class not found'); } }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.