MyBB Community Forums

Full Version: Parse error in inc/class_core.php on line 18 *(public $version = ...)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,
I have just installed the newest version of myBB (no upgrade) and also copied czech version downloaded from your server as well. I followed the install instructions however when I open the /install/ I get the following error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in ......./forum/inc/class_core.php on line 18

The problem occurs here:

class MyBB {
/**
* The friendly version number of MyBB we're running.
*
* @var string
*/
public $version = "1.6.0";

/**
* The version code of MyBB we're running.
*
* @var integer
*/

What is wrong?


Problem solved, the solution is phpBB. Toungue
MyBB 1.6 requires PHP 5 or newer, you seem to be using PHP 4.