Page 1 of 1

Errors of the version 1.17.0

PostPosted: 28 Jun 2016, 15:35
by support
Here we describe the errors of the version 1.17.0

Re: Errors of the version 1.17.0

PostPosted: 06 Jul 2016, 14:26
by support
When a user who have only one listing is editing his/her listing, then the owner is deactivated/inactive (red icon shown) after editing is finished.

Solution: in the file protected\modules\userads\controllers\MainController.php instead of the code:

Code: Select all
$return = TariffPlans::checkAllowUserActivateAd($model->owner_id, true, '>='); 

enter:
Code: Select all
$return = TariffPlans::checkAllowUserActivateAd($model->owner_id, true, '>');  

Re: Errors of the version 1.17.0

PostPosted: 06 Jul 2016, 14:27
by support
Js-errors in the loading process of panoramic photo Solution: in the file ore_dev\protected\config\main.php instead of the code:
Code: Select all
'minScriptDisableMin' => array('/[-\.]min\.(?:js|css)$/i''/bootstrap.js$/i''/jquery.js$/i''/ckeditor.js$/i''/[-\.]pack\.(?:js|css)$/i'),  

enter:
Code: Select all
'minScriptDisableMin' => array('/[-\.]min\.(?:js|css)$/i''/bootstrap.js$/i''/jquery.js$/i''/jquery.panorama360.js$/i''/ckeditor.js$/i''/[-\.]pack\.(?:js|css)$/i'),   

Re: Errors of the version 1.17.0

PostPosted: 06 Jul 2016, 14:27
by support
Image cropping after uploading

In the file: protected/modules/entries/models/EntriesImage.php change the code
Code: Select all
$image->adaptiveThumb($width$height

to
Code: Select all
$image->thumb($width$height)