Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question SMF2K Script Error

More
13 years 8 months ago #1 by gyrene2083
Hello All,

I'm taking the plunge and I look forward to doing so, I have been using SMF and I have had a few problems with it and I'm at the point where I want to take the plunge to Kunena. I have tried the SMF2K script, this is what I have so far :
Code:
<?php function connectbdd() { global $db_server , $db_user, $db_passwd, $db_name, $db_character_set; if( false == mysql_connect(localhost , username, password) ) die("Error"); if( false == mysql_select_db(database) )// FILL with your database name die("Error."); mysql_query('SET NAMES '.$db_character_set); } ?>

When I run the script I get the following error;


Parse error: syntax error, unexpected T_VARIABLE in /home1/siempre1/public_html/mysql.php on line 7

Any help anyone could provide would be greatly appreciated.

-Semper Fi
gyrene2083

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago - 13 years 8 months ago #2 by gyrene2083
Replied by gyrene2083 on topic Re: SMF2K Script Error
Ok I seemed to fix the above error, but I get this one instead;
Code:
Parse error: syntax error, unexpected '@' in /home1/siempre1/public_html/mysql.php on line 7
Last edit: 13 years 8 months ago by gyrene2083.

Please Log in or Create an account to join the conversation.

Time to create page: 1.198 seconds