Hi,
i receive this error :
Parse error: syntax error, unexpected T_CLASS in /home6/e/expoflenu/www/airemotorhome.be/components/com_kunena/lib/kunena.config.class.php on line 65
and at line 65 i have :
abstract class CKunenaConfigBase
And i have the same error when i try to connect via my admin.
What’s the problem ?
Must I have to reinstall the component ?
3 answers
Hello easyweb!
I have viewed source code of the "kunena.config.class.php " file.
May be your server is running php 4.x, so that your server did not understand the systax of php 5.
You can fix this issue by remove "abstract" keyword and "public" keyword
OK I remove abstract and public but now i receive this error message
Parse error: syntax error, unexpected ‘;’, expecting ‘{‘ in /home6/e/expoflenu/www/airemotorhome.be/components/com_kunena/lib/kunena.config.class.php on line 75
In attach the difference in both files : before and after change
Thanks for helping
Hello easyweb!
You must change the syntax of abstract method in this file
format:
PHP Code:
abstract public function methodName();
convert to:
PHP Code:
function methodName(){ return ; }
for example:
PHP Code:
abstract public function &getInstance();
=>>
PHP Code:
function &getInstance(){ return ; }
goodluck