Post by devtester478 » Mon Apr 30, 2018 8:03 pm

I am using opencart 2.3.0.2 version and found that the image manager's search box is not working. I tried to replacing code of admin/controller/common/filemanager.php with these below links:
https://raw.githubusercontent.com/openc ... anager.php
https://raw.githubusercontent.com/openc ... anager.php

None of code worked for me. I don't want to use any extension for searching images.

Can anyone help me to fix this bug.

Thanks
Dev

New member

Posts

Joined
Thu Mar 22, 2018 2:55 pm

Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by devtester478 » Tue May 01, 2018 12:05 pm

:( I tried but it's not working for me.

Any other way to fix this issue?

New member

Posts

Joined
Thu Mar 22, 2018 2:55 pm

Post by xxvirusxx » Tue May 01, 2018 2:37 pm

So you have tested before to modify filemanager.php?
For me is the only one who work

Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by devtester478 » Wed May 02, 2018 1:00 pm

Yes, I tried with the fresh filemanager.php file. But search is not working.

New member

Posts

Joined
Thu Mar 22, 2018 2:55 pm

Post by xxvirusxx » Wed May 02, 2018 3:02 pm

You have refreshed ocmod?

You can try another file manager fix..
https://www.opencart.com/index.php?rout ... n_id=29739

Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by devtester478 » Fri May 11, 2018 3:14 pm

I can not refresh after installing the extension as there are some files of the theme inside system > storage > modification in which i did some customization. When i refresh from admin panel catalog > extensions > modifications then my customization for system > storage > modification files overwrites.

I tried by installing the extension you provided me link. But that is also not working for me.

New member

Posts

Joined
Thu Mar 22, 2018 2:55 pm

Post by xxvirusxx » Fri May 11, 2018 4:14 pm

Why do you make modification in storage and not directly in theme files?

Weird first fix/extension tested on 3 websites and work.
You are sure if changed correctly the line?

This

Code: Select all

if (substr(str_replace('\\', '/', realpath($directory . '/' . $filter_name)), 0, strlen(DIR_IMAGE . 'catalog')) == DIR_IMAGE . 'catalog') {
in this

Code: Select all

if (substr(str_replace('\\', '/', ($directory . '/' . $filter_name)) . '/', 0, strlen(DIR_IMAGE . '')) == DIR_IMAGE . '') {
Also you can try to install another oc2.3.0.2 in another folder and test using clear ocmod cache.

Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by JEfromCanada » Fri Aug 24, 2018 5:24 am

I have had the same issue, with the image manager in OC 3.0.2 not working. After finding free extensions by OpenCart author "sonfil" that also didn't work, I analyzed them and corrected the issue with a vqmod and new helper file, which I have sent today to "sonfil". I have not tested it with any version of OC except 3.0.2, but it does work. Since I've never contributed to github, I'm not sure what's required to submit this fix to the code base.

If you send me an email, I can arrange to send you the vqmods and helper file. My address is info [at] jem-software.com

New member

Posts

Joined
Thu May 23, 2013 1:49 am
Who is online

Users browsing this forum: No registered users and 11 guests