I've just written modifications for the latest version of OC 3.0.3.1 and I'm moving on to the installation. An error occurs during installation:
The directory catalog/controller/common is not allowed to be written to!
The modified file is catalog/controller/common/footer.php
I'm working on XAMPP on Windows 10.
Someone knows how to solve the problem?
my website: Tworzenie sklepu internetowego
I have just found a solution.
You need to edit the file: admin/controller/marketplace/install.php
find a line
Code: Select all
$allowed = array(
'catalog/controller/common/'
I think it's a bad Opencart construction. This means that end users of Opencart need to edit the system files to install modifications. This is wrong solution.
It would make sense if the path admin/controller/marketplace/ was already on the list.
Then it would be enough to include the editing of the /controller/marketplace/install.php file in the modification and adding the necessary paths.
my website: Tworzenie sklepu internetowego
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
my website: Tworzenie sklepu internetowego
In contrary, OC is still on it's way forward, it's just not there yet.Opencart takes a step backwards.
But that's not an OC Problem, more one of those, jumping onto
driving trains. One can get hurt, by doing such, like in real life too,
if one is not a Pro in such ...
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
With this done, I get error trying to upload ext from Neuhoff import/export v 4.17DesignCart wrote: ↑Sat Mar 02, 2019 12:37 amI have just found a solution.
You need to edit the file: admin/controller/marketplace/install.php
find a lineand add a path to the array:Code: Select all
$allowed = array(
'catalog/controller/common/'
--- please reply only with verified data, that is: no 'I think', 'maybe' etc. ---
Also, a 3rd party extension for OpenCart 3 should not write files into this folder. Contact the extension author if it tries to do that, and ask them to fix the extension to comply with OpenCart standards.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
--- please reply only with verified data, that is: no 'I think', 'maybe' etc. ---
So could you add [SOLVED] to the start of this topic title?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 9 guests