Post by Detlev » Mon Mar 29, 2021 5:14 pm

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 ;D ).

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));

Newbie

Posts

Joined
Tue Mar 09, 2021 9:56 pm

Post by OSWorX » Mon Mar 29, 2021 6:31 pm


Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Detlev » Tue Mar 30, 2021 12:48 am

Thank you!.
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?

Newbie

Posts

Joined
Tue Mar 09, 2021 9:56 pm

Post by straightlight » Tue Mar 30, 2021 2:02 am

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


Legendary Member

Posts

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

Post by Detlev » Tue Mar 30, 2021 3:27 am

straightlight wrote:
Tue Mar 30, 2021 2:02 am
Issue already fixed on the master branch. I would suggest to take a look over there.
Hello Straightlight,
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

Newbie

Posts

Joined
Tue Mar 09, 2021 9:56 pm

Post by Cue4cheap » Tue Mar 30, 2021 5:23 am

Detlev wrote:
Tue Mar 30, 2021 3:27 am
straightlight wrote:
Tue Mar 30, 2021 2:02 am
Issue already fixed on the master branch. I would suggest to take a look over there.
Hello Straightlight,
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.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by straightlight » Tue Mar 30, 2021 6:42 am

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


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 58 guests