PDA

View Full Version : Flynax v3.2, security patch #1 (11 Jun, 2012)



John
June 11, 2012, 06:52 AM
Hello,
This instruction describes home to implement the security patch for Flynax 3.2 version, here it is:

BTW, if you see that the changes already done then someone from Flynax tech. dep. already implemented the fix for your website.

1. Make sure you save file copy before making changes in.

2. download the .htaccess.zip file and unzip it on your computer to some directory, zip archive contains
.htaccess file which should be copied to your server to the following directories:
- /files/
- /files/images/
- /tmp/upload/

3. changes in file
- open the following file for edit: /admin/controllers/accounts.inc.php
- find the code (line ~ 416):


/* check type */
if( empty($profile_data['type']) )
{
$errors[] = $lang['notice_choose_account_type'];
}

- and replace it with this code


/* check type */
if( empty($profile_data['type']) )
{
$errors[] = $lang['notice_choose_account_type'];
}

if ( $back = $rlCommon -> checkDynamicForm( $account_data, $account_fields ) )
{
foreach ( $back as $error )
{
$errors[] = $error;
}
}

- save changes

So there are only 4 steps for Flynax 3.2 version, feel free to ask your questions.

John