• CONTACT
  • ABOUT US
Debugman Programming Blogs
  • HOME
  • HTML & CSS
  • PHP
  • CMS
    • WORDPRESS
  • JOOMLA
  • Web Hosting
  • Database
  • Miscellaneous

[ Solved ] Opencart Product edit tab image upload is not working

Ilavarasan Ila/27 Jul, 17/1187/0
PHPWeb Hosting

Here i have mentioned solutions for opencart image upload issues for the product.
Opencart is one of the famous e-commerce CMS platform in PHP. We have developed one website for our customer. After migrating new server we are facing image upload issue for the product. we thought the issues are fully based on Js. But finally, we found the culprit. the problem is based on server and memory(php.ini). So we want to share the experience here.

Troubleshooting Tips for Those Who Cannot Upload Images to OpenCart

  1. we need to check the error.log file in the admin folder. you can see the following error ( Allowed memory size of 67108864 bytes exhausted (tried to allocate 4000 bytes) in /home/********/public_html/system/library/image.php on line 34 )
  2. If you are getting above message in error log. definitely, the error will be a Php.ini file
  3. If you are using shared hosting please contact hosting provider and ask them to increase memory size. But in some hosting provider, we can modify the php.ini file.
  4. If you are using a dedicated server or virtual private server. you can directly modify the php.ini file script
    add the php.ini file in root folder of the website.

below code, you need to modify the php.ini file. Now we can upload product image.

“memory_limit = 512M;
max_execution_time = 300;
post_max_size = 999M;
upload_max_filesize = 998M;”

Thanks

ecommerceimage upload issueopencartphp.ini fileweb hosting

Zendesk chat Integration with wordpress website

27 Jul, 17

platform identifier technology lookup technology...

27 Jul, 17
Avatar
Ilavarasan Ila
Online Media Expert | Web Consultant | Web Design | Web strategy I am a senior Wordpress developer with 5+ years of experience with a passion for building high-quality software and web products.

Related Posts

MiscellaneousPHPWeb Hosting

Solved; htaccess works in localhost but doesn’t...

CMSWeb HostingWORDPRESS

Shared Hosting vs Managed wordpress hosting difference...

CMSPHPWORDPRESS

How to fix themify theme warning on theme-function.php...

Categories

  • CMS (9)
  • HTML & CSS (2)
  • Miscellaneous (3)
  • PHP (14)
  • Uncategorized (4)
  • Web Hosting (4)
  • WORDPRESS (13)

Recent Comments

    Tags

    404page admin template AWS basic test case codeigniter codeigniter not working in aws CSS disable directory ecommerce extesnion frontend UI GENERAL hosting htaccess htaccess not working html image upload issue interfax interfax customization logo making magento extensions magento themes mvc framework opencart opencart themes php php.ini file platform identifier platform lookup PLUGIN SERVER shared hosting shared hosting vs wordpress managed hosting technology lookup Testcase top market place web hosting WINDOWS woocommerce WORDPRESS wordpress hosting wordpress managed hosting wordpress themes

    Recent Posts

    Solved; htaccess works in localhost but...

    18 Dec, 18

    Shared Hosting vs Managed wordpress hosting...

    31 Aug, 18

    How to fix themify theme warning on...

    09 Mar, 18

    Social Icons

    Copyright@2018-19 All Rights Reserved