Hi, I just upgraded (No mods or Plugins) to 1.4.12 and I have this error:
Parse error: syntax error, unexpected '{' in /inc/functions.php on line 5605
The problem is on
// Then try the Microsoft method
if(class_exists('COM'))
{
try {
$util = new COM('CAPICOM.Utilities.1');
$output = base64_decode($util->GetRandom($count, 0));
}
catch(Exception $ex) { }
}
I added // before code and I solved it but it's normal?
It's random.
i have same problem. i editted the file and deleted the part above.
what is this problem about?
I do not believe, I have the same error also when i make a new installation
The version of PHP is 4.4.9
You'll need to be on PHP 5 for MyBB 1.6, no reason to still be on PHP 4 really.
MyBB went overboard with their random number generation...
(2010-04-14, 11:27 AM)MattRogowski Wrote: [ -> ]You'll need to be on PHP 5 for MyBB 1.6, no reason to still be on PHP 4 really.
Unfortunately is not my choice.
I read that one of the requirements for MyBB 1.4.xx is
PHP 4.3.11 or above with XML Extension installed !
http://wiki.mybboard.net/index.php/Requirements
When it is released 1.6 will change the hosting.
If you don't have the choice to use PHP 5 on your host then I would consider switching hosts. MyBB does not support below PHP 5 from 1.6 and in any new code as of the announcement regarding this some time ago. The reason why the wiki states 4.3.11 is because at the time of writing no PHP 5+ changes had been made.
(2010-04-14, 01:05 PM)TimB. Wrote: [ -> ]MyBB does not be supporting below PHP 5 from 1.6 and in any new code as of the announcement regarding this some time ago. The reason why the wiki states 4.3.11 is because at the time of writing no PHP 5+ changes had been made.
Perfect, very clear.
So stay away from altervista that using php 4 for free hosting.