管理面板中的opencart图像上载错误

管理面板中的opencart图像上载错误,opencart,image-upload,Opencart,Image Upload,我在opencart 2.3.0.2中工作 每当我上传产品图片时,每次我都会出错 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 22464 bytes) in /XXXX/XXXX/public_html/system/library/image.php on line 26 我的图像大小(以kb为单位)仍有错误,我也尝试了 在index.php中 ini_set("memory_

我在opencart 2.3.0.2中工作 每当我上传产品图片时,每次我都会出错

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 22464 bytes) in /XXXX/XXXX/public_html/system/library/image.php on line 26
我的图像大小(以kb为单位)仍有错误,我也尝试了
在index.php中

ini_set("memory_limit",2048);
在php.ini文件中

memory_limit = 128M;

我仍然没有得到任何解决办法。任何帮助,谢谢。

下次别忘了使用格式化工具。一些主机帐户内存有限,他们忽略了php。请尝试查看主机内部,谢谢@Innervisions获得了解决方案