Dear Community,
I use webspace for my website and local for testing.
My web space works.
Now I reinstalled everything locally. This is how I did it:
Xampp 7.3 Open Card Version 3.0.3.7
Since GLOB_BREAK does not work on the Strato server, I changed the entries in the files accordingly.
Now an error occurs locally that has not existed before.
Is in the extension.php
$ files = glob (DIR_APPLICATION. 'controller / extension / extension / *. php', GLOB_BRACE);
Then I can select all extensions in the Extensions / Extensions admin board. So it is also correct.
However, in System / Setting / meStore / Images no images are displayed any more, only the folders without content.
I change the above entry in extension.php to:
$ files = glob (DIR_APPLICATION. 'controller / extension / extension / *. php', (defined ('GLOB_BRACE')? GLOB_BRACE | GLOB_ONLYDIR: GLOB_ONLYDIR));
I can select images, but the extension processing (see above) no longer works.
Does anyone know a solution to the problem?
Please no suggestion to change provider ).
In the filemanager.php i had declared :
$files = glob($directory . '/' . $filter_name . '*.{jpg,jpeg,png,gif,JPG,JPEG,PNG,GIF}', (defined('GLOB_BRACE') ? GLOB_BRACE | GLOB_ONLYDIR : GLOB_ONLYDIR));
I use webspace for my website and local for testing.
My web space works.
Now I reinstalled everything locally. This is how I did it:
Xampp 7.3 Open Card Version 3.0.3.7
Since GLOB_BREAK does not work on the Strato server, I changed the entries in the files accordingly.
Now an error occurs locally that has not existed before.
Is in the extension.php
$ files = glob (DIR_APPLICATION. 'controller / extension / extension / *. php', GLOB_BRACE);
Then I can select all extensions in the Extensions / Extensions admin board. So it is also correct.
However, in System / Setting / meStore / Images no images are displayed any more, only the folders without content.
I change the above entry in extension.php to:
$ files = glob (DIR_APPLICATION. 'controller / extension / extension / *. php', (defined ('GLOB_BRACE')? GLOB_BRACE | GLOB_ONLYDIR: GLOB_ONLYDIR));
I can select images, but the extension processing (see above) no longer works.
Does anyone know a solution to the problem?
Please no suggestion to change provider ).
In the filemanager.php i had declared :
$files = glob($directory . '/' . $filter_name . '*.{jpg,jpeg,png,gif,JPG,JPEG,PNG,GIF}', (defined('GLOB_BRACE') ? GLOB_BRACE | GLOB_ONLYDIR : GLOB_ONLYDIR));
See:
1. https://github.com/opencart/opencart/pull/7614
and
2. https://github.com/opencart/opencart/issues/8039
1. https://github.com/opencart/opencart/pull/7614
and
2. https://github.com/opencart/opencart/issues/8039
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Thank you!.OSWorX wrote: ↑Mon Mar 29, 2021 6:31 pmSee:
1. https://github.com/opencart/opencart/pull/7614
and
2. https://github.com/opencart/opencart/issues/8039
The first link didn't really help, in the end the discussion ended up with Shopware.
The second link helped me discover another file to edit. However, my problem persists.
Are there any other ideas?
Issue already fixed on the master branch. I would suggest to take a look over there.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hello Straightlight,straightlight wrote: ↑Tue Mar 30, 2021 2:02 amIssue already fixed on the master branch. I would suggest to take a look over there.
Master Branch is a finished product. I know what you mean.
That is why the GLOB_BRACE problem has existed for years.
I recognize the ideas behind it.
Opensource does not write itself .
I've been experimenting. It was fun, but now it's enough.
I will buy your master branch.
Open Cart is a great product, $ 20 doesn't hurt and (hopefully) motivates you to continue writing good code in the future .
Friendly Regards
Detlev
Eh? Opencart is free. I do not recommend you pay someone for it as you'll be ripped off.Detlev wrote: ↑Tue Mar 30, 2021 3:27 amHello Straightlight,straightlight wrote: ↑Tue Mar 30, 2021 2:02 amIssue already fixed on the master branch. I would suggest to take a look over there.
I will buy your master branch.
Open Cart is a great product, $ 20 doesn't hurt and (hopefully) motivates you to continue writing good code in the future .
Friendly Regards
Detlev
Mike
cue4cheap not cheap quality
While the master branch is, indeed, free - it does not mean bug-fixes or code tweaking originating from an incident / service request on the forum could not be done as a custom job. Send me a PM on the job if you'd like to have this done professionally from Github Opencart.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 91 guests