Post by straightlight » Mon May 23, 2016 10:59 am

In system/library/language.php file, it is indicated that the all() and merge() function are in reflection for being deprecated.

That being said, the following list of files must be edited in order to avoid future problems:

Code: Select all

openbay.php,admin/controller/extension
amazon.php,admin/controller/openbay
amazonus.php,admin/controller/openbay
amazonus_product.php,admin/controller/openbay
amazon_product.php,admin/controller/openbay
ebay.php,admin/controller/openbay
ebay_profile.php,admin/controller/openbay
ebay_template.php,admin/controller/openbay
etsy.php,admin/controller/openbay
etsy_product.php,admin/controller/openbay
fba.php,admin/controller/openbay
The following errors and failures from Ajax requests could also return the right results from admin/view/template/openbay/amazonus_listing_advanced.tpl file:

Code: Select all

failure: function(){
            alert('<?php echo $error_load_nodes; ?>');
        },
        error: function(){
            alert('<?php echo $error_load_nodes; ?>');
        }
$error_load_nodes; is not defined from admin/controller/openbay/amazonus_product.php file.

I do, however, recommend to change this portion:

Code: Select all

error: function(){
            alert('<?php echo $error_load_nodes; ?>');
        }
for:

Code: Select all

error: function(xhr, ajaxOptions, thrownError) {
					alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
				}
and the same modifications that all applies to this method for other TPL files or to append them to a relative ID.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 2 guests