Menu

#311 Upgrade from MRBS 1.4beta2 causes double up of first two periods ?

Minor
open
nobody
None
1
2014-09-21
2014-09-21
Anonymous
No

Hello

I inherited an mrbs install and tried to move it to a new server and decommission the old server it runs from but received error mrbs Deprecated: Function set_magic_quotes_runtime() is deprecated on line 527. So I know this is because its a much newer version of MySQL and I found it was running MRBS 1.4beta2 so I tried to upgrade initially to the newest and then tried 1.4.5 but both had the same side effect that I get the first two periods doubled up and it throws everthing out of whack. I attached a before and after shot as I thought it was easiest to show what I meant. I looked in the config file but couldn't see if I did something wrong. I reverted to a backup so its running again on the old server. Any help is greatly appreciated

1 Attachments

Discussion

  • John Beranek

    John Beranek - 2014-09-21

    The period configuration in your config.inc.php just needs to start with the line:

    unset($periods); 
    
     
  • Anonymous

    Anonymous - 2014-09-21

    Thanks for the quick response, worked like a charm ! On the new server it still gives
    Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampp\htdocs\mrbs\web\config.inc.php on line 539
    Should I comment out that line in the config ?

     
  • John Beranek

    John Beranek - 2014-09-21

    Recommendation (especially if coming from an older version of MRBS) is to start with a clean config.inc.php and then copy in just your customisations.

     
MongoDB Logo MongoDB