This error most time link to php.ini file and directory permission.
- First, confirm the public_html> image directory permission level is set to 755. If not then visit how to change file or directory permission.
- Still not solved then, create/edit php.ini file at below path
- Home directory where public_html is located.
allow_url_fopen = On
allow_url_include = Off
asp_tags = Off
display_errors = Off
enable_dl = Off
file_uploads = On
max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 128M
post_max_size = 8M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php56"
upload_max_filesize = 8M
zlib.output_compression = Off
- public_html directory or a directory where OpenCart is installed.
magic_quotes_gpc = Off;
register_globals = Off;
default_charset = UTF-8;
memory_limit = 64M
max_execution_time = 36000
upload_max_filesize = 8M
safe_mode = Off;
mysql.connect_timeout = 20;
session.auto_start = Off;
session.use_only_cookies = On;
session.use_cookies = On;
session.use_trans_sid = Off;
session.cookie_httponly = On;
session.gc_maxlifetime = 3600
allow_url_fopen = on
display_errors = Off
;error_reporting = E_ALL;
allow_url_include = Off
asp_tags = Off
enable_dl = Off
file_uploads = On
max_input_time = 60
max_input_vars = 1000
post_max_size = 8M
session.save_path = "/var/cpanel/php/sessions/ea-php56"
zlib.output_compression = Off
- Done..!
If still facing this issue then kindly comment to this answer.