I am having some seemingly related problems with two extensions I bought recently.
The first one, 'All in One Shipping' produces the error 'admin/controller/event folder is not writable' on install.
The other one, 'Import / Export Pro', the error 'Warning: copy(/var/www/vhosts/lamdabookstore.gr/httpdocs/ie_pro/tmp/I-Import-2021-02-08-090429.xlsx): failed to open stream: No such file or directory in /var/www/vhosts/lamdabookstore.gr/httpdocs/admin/model/extension/module/ie_pro_file.php on line 137{"error":true,"message":"Could not open \/var\/www\/vhosts\/lamdabookstore.gr\/httpdocs\/ie_pro\/tmp\/I-Import-2021-02-08-090429.xlsx for reading! File does not exist."}'
I am not very familiar with Opencart, but are these folder permission errors?
The extension creators told me to change the open_basedir configuration on the server, but I don't know what to enter there.
It currenly has this value (Plesk): {WEBSPACEROOT}{/}{:}{TMP}{/}
https://www.opencart.com/index.php?rout ... n_id=33410
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Isn't free to download to test.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Rather than using this extension installer patch it would be better to stay away from OpenCart extensions which don't follow the rules. Or ask the extension authors to fix their extensions. It's a pitty that is no vetting procedure for extension on the OpenCart marketplace, there are simply too many junk extensions.xxvirusxx wrote: ↑Tue Feb 09, 2021 3:40 pmFirst install this extension then install both extensions. After installation disable or uninstall extension from below.
https://www.opencart.com/index.php?rout ... n_id=33410
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
What rules?
Uploading a file in admin/controller/catalog is not a rule?
Code: Select all
$allowed = [
'admin/controller/extension/',
'admin/language/',
'admin/model/extension/',
'admin/view/image/',
'admin/view/javascript/',
'admin/view/stylesheet/',
'admin/view/template/extension/',
'catalog/controller/extension/',
'catalog/language/',
'catalog/model/extension/',
'catalog/view/javascript/',
'catalog/view/theme/',
'system/config/',
'system/library/',
'image/catalog/'
];
Attachments
stupid_rules.png (27.94 KiB) Viewed 1141 times
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
xxvirusxx wrote: ↑Wed Feb 10, 2021 10:20 pmWhat rules?
Uploading a file in admin/controller/catalog is not a rule?
Code: Select all
$allowed = [ 'admin/controller/extension/', 'admin/language/', 'admin/model/extension/', 'admin/view/image/', 'admin/view/javascript/', 'admin/view/stylesheet/', 'admin/view/template/extension/', 'catalog/controller/extension/', 'catalog/language/', 'catalog/model/extension/', 'catalog/view/javascript/', 'catalog/view/theme/', 'system/config/', 'system/library/', 'image/catalog/' ];
It sure isn't since that directory does not exist out-of-the-box.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
admin/controller/catalog is not listed in the array.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
users can't check paid extensions if follow the rules from installer array.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
They can ask the author to fix an extension if it doesn't work with the OpenCart extension installer because of using non-allowed folders. Trying to put files into non-nallowed folders has to be regarded as a bug.users can't check paid extensions if follow the rules from installer array.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Correct.JNeuhoff wrote: ↑Wed Feb 10, 2021 11:05 pmThey can ask the author to fix an extension if it doesn't work with the OpenCart extension installer because of using non-allowed folders. Trying to put files into non-nallowed folders has to be regarded as a bug.users can't check paid extensions if follow the rules from installer array.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 126 guests