Page 1 of 1

Extension Installer

Posted: Wed Jul 27, 2022 10:04 pm
by rickfriar
I tried placing a bug report and it was marked completed, but no resolve?
Anyway, I can install an extension, shows up in the moved storage folder (htdocs/storage) under marketplace but never shows that I downloaded it for install.
This is a fresh install. The only file shown in install is under /store/system/storage/marketplace/opencart.ocmod.zip (OpenCart Default Extensions).
So it downloads extensions now to the moved storage but the installer only recognizes the default storage?
Also every time I download an extention I get the following errors:

Code: Select all

2022-07-27 5:54:29 - PHP Warning: Undefined array key "package_name"
File: D:\xampp\htdocs\improdigy.com\store\administer\model\setting\extension.php
Line: 38

2022-07-27 5:54:29 - TypeError:  Opencart\System\Library\DB::escape(): Argument #1 ($value) must be of type string, null given, called in D:\xampp\htdocs\improdigy.com\store\administer\model\setting\extension.php on line 38
File: D:\xampp\htdocs\improdigy.com\store\system\library\db.php
Line: 56

Re: Extension Installer

Posted: Thu Jul 28, 2022 11:21 pm
by rickfriar
I Temp Fixed it for the time being:
File: "htdocs\xxxx.com\store\admin..\model\setting\extension.php"

Marketplace Extensions download, but never show updated for install. ('package_name' was not ever in $data array)
Resolved by changing:
package_name = '" . $this->db->escape($data['package_name'] on line 38 to
package_name = '" . $this->db->escape($data['code']

I was able to download multiple packages and install properly

Re: Extension Installer

Posted: Fri Jul 29, 2022 6:22 pm
by JNeuhoff
No need for duplicate posts, it appears to be resolved now, see https://github.com/opencart/opencart/bl ... ension.php