Im using v3.0.2.0.
When trying to add image to the category, the image manager is not working well.
Check the image below.
Please help. Thank you.
There is no folder in the manager.
When I try to upload picture, the following error occured
"Warning: Directory doesnt exists!"
I noticed now that even the products image manager has now become inaccessible.
Yesterday I can use product image manager without problem.
But now, after using category image manager, my product image manager malfunctioned.
I have tried to update the filemanager.php and filemanager.twig from github but still not working.
Please help.
Thank you.
Opencart Expert | sales[at]ost.agency
Skype - manish.osuniverse | Gtalk - manishmt
Extensions for Opencart @ https://www.ost.agency/product/product- ... extensions
ost.agency - ecommerce website design, development and digital company
Please remove last uploaded image manually using FTP or cPanel. PHP has resized limit that may be making problem to image manager to open that folder.ktae11 wrote: ↑Mon Jun 18, 2018 11:18 pmHello.
Im using v3.0.2.0.
When trying to add image to the category, the image manager is not working well.
Check the image below.
Please help. Thank you.
There is no folder in the manager.
When I try to upload picture, the following error occured
"Warning: Directory doesnt exists!"
I noticed now that even the products image manager has now become inaccessible.
Yesterday I can use product image manager without problem.
But now, after using category image manager, my product image manager malfunctioned.
I have tried to update the filemanager.php and filemanager.twig from github but still not working.
Please help.
Thank you.
let me know if your problem still didn't solve
Email: ravikumar1986ravi@gmail.com
OpenCart Support | Please email at: devinlabsolutions@gmail.com
Tried clearing the cache folder.ostechnologies wrote: ↑Tue Jun 19, 2018 3:40 pmTry clearing the clear the image/cache folder and also check the DIR_IMAGE path (syntax also) in config files.
The path is correct - define('DIR_IMAGE', '/home/mysitesh/public_html/image/');
But still not working.
Thanks for helping me. Really appreciate it
All images are less than 1mb but i still deleted the latest image.ravikumar22 wrote: ↑Tue Jun 19, 2018 5:27 pmPlease remove last uploaded image manually using FTP or cPanel. PHP has resized limit that may be making problem to image manager to open that folder.
let me know if your problem still didn't solve
Email: ravikumar1986ravi@gmail.com
But still not working.
Anyway, thanks for the help.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
recommended, if one really plans, to run an efficient Shop. That's, what I tried
to tell you...
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Yeah you are right sir. Im not against you. You are right from the very start.Infact, all my images are all less than 200kb, I just mentioned less than 1mb.
Please help me with my main concern.
makes everything to just be a theoretical Discussion, leading to nothing, but
wasted time.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
https://github.com/opencart/opencart/issues/5078
add .'/' after realpath
I meet the problem today, and found might be this line on storage/modification/admin/controller/common/filemanager.php [line 240]
if (!is_dir($directory) || substr(str_replace('\\', '/', realpath($directory)), 0, strlen(DIR_IMAGE . '')) != str_replace('\\', '/', DIR_IMAGE . ''))
because realpath did not contain "/" on the end, so if DIR_IMAGE contains "/" on the end of dirname,
and User want to upload file on the image root. The test will be always fail.
I fixed this by replace line as follows solved my problem.
if (!is_dir($directory) || substr(str_replace('\\', '/', realpath($directory)).'/', 0, strlen(DIR_IMAGE . '')) != str_replace('\\', '/', DIR_IMAGE . ''))
Attachments
image_manager.jpg (76.51 KiB) Viewed 11733 times
test_product.jpg (100.27 KiB) Viewed 11733 times
Login into your cpanel and search php.ini file ( MultiPHP INI Editor) under basic mode select Home directory and change memory_limit 128M to 512M and apply, same changes for domain name & you have done, cheers
Users browsing this forum: Baidu [Spider] and 409 guests