Not Solved phpBB3 > MyBB Merge Fatal Error: Uncaught exception
#6
Not Solved
Thanks for the suggestions. I thought I was supposed to get an email notification of replies, but I didn't, so that's why I'm just now getting back to you. I'll make the changes in index.php and functions.php and see how it goes.

Later: Well, poo. I got this error when I ran merge:
Quote:Parse error: syntax error, unexpected $end in C:\HostingSpaces\crsq\creationresearch.org\wwwroot\MyBB\merge\resources\functions.php on line 1046
The last function in functions.php reads:

 // Converts a String timezone (Europe/Berlin) to a MyBB number
 function get_timezone($zone)
 {
  try {
   $time = new DateTime('now', new DateTimeZone($zone));
   $off = $time->format('P');
  }
  catch(Exception $e) {
   return '';
  }
  
  list($h, $m) = explode(":", $off);
  
  list($h, $m) = explode(":", $off);

  $v = substr($h, 0, 1);
  $h = substr($h, 1);

  if(substr($h, 0, 1) == 0)
   $h = substr($h, 1);

  if($m == 30)
   $h .= ".5";
  else if($m == 45)
   $h .= ".75";

  if($v == "-")
   $h = "-{$h}";

  return $h;
}

The last line above is 1045, and line 1046 is the last line in the file and just has: ?>

Lane
Reply


Messages In This Thread
RE: phpBB3 > MyBB Merge Fatal Error: Uncaught exception - by LaneLester - 2015-06-22, 02:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)