Post by yixuantai » Tue May 29, 2018 11:47 pm

Hi friend, was wondering if I could get some help with this. When trying to Import some products in my store, I am getting the error below.
Code: Select all
2018-05-29 6:49:59 - PHP Fatal Error: Allowed memory size of 120586240 bytes exhausted (tried to allocate 2097152 bytes) in /home/wwwroot/yxt-ec/domain/yxt-ec/web/admin/model/extension/export_import.php on line 953
Image https://prnt.sc/jo4nuh

I had change OC and ADMIN PHP.INI Files:
magic_quotes_gpc = Off; register_globals = Off; default_charset = UTF-8;
memory_limit = 64M; change to: memory_limit = 640M;
It is still Error.

ps: I use ( Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz, 4GB RAM ) ( apache-2.4 PHP 5.6 mysql-generic-5.5 nginx-1.12 ) for my web.

Can anyone please let me know how to fix this? It's only happening with the newest items I've put up. Any help would be appreciated, thank you for your time. :)

Newbie

Posts

Joined
Sun May 27, 2018 5:34 pm

Post by IP_CAM » Wed May 30, 2018 12:56 am

Well, regardless of your php.ini Settings, they only apply, if your Hoster allows
you to use that kind of memory, otherwise, default Server Settings will be used. Check
in your Server Admin PHP Sections, you might be able to change the value there as well.
Ernie
---
Image

Attachments

set_php_server_memory_limit.jpg

set_php_server_memory_limit.jpg (88.19 KiB) Viewed 419 times


For Sale: Top URL's, including an OpenCart V-Pro Installation, similar to:
http://www.bigmax.ch - http://www.ipcam.li - http://www.jti.li
For Information + URL's offered, please contact me at: jti@jacob.ch
I am NOT available for Custom Support in existing OC Installations!
My Github Repositories: https://github.com/IP-CAM
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by ravikumar22 » Wed May 30, 2018 8:17 pm

yixuantai wrote:
Tue May 29, 2018 11:47 pm
Hi friend, was wondering if I could get some help with this. When trying to Import some products in my store, I am getting the error below.
Code: Select all
2018-05-29 6:49:59 - PHP Fatal Error: Allowed memory size of 120586240 bytes exhausted (tried to allocate 2097152 bytes) in /home/wwwroot/yxt-ec/domain/yxt-ec/web/admin/model/extension/export_import.php on line 953
Image https://prnt.sc/jo4nuh

I had change OC and ADMIN PHP.INI Files:
magic_quotes_gpc = Off; register_globals = Off; default_charset = UTF-8;
memory_limit = 64M; change to: memory_limit = 640M;
It is still Error.

ps: I use ( Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz, 4GB RAM ) ( apache-2.4 PHP 5.6 mysql-generic-5.5 nginx-1.12 ) for my web.

Can anyone please let me know how to fix this? It's only happening with the newest items I've put up. Any help would be appreciated, thank you for your time. :)
hi, try this it will surely solve your problem. this is my blog link regarding the same problem. https://thephpfreelancer.blogspot.com/2 ... n-php.html
you have to add ini_set('memory_limit', -1); in beginning of the file export_import.php and it would be solved
if still getting problem. contact me
Email: ravikumar1986ravi@gmail.com
Skype: ravi1986kumar

User avatar
New member
Online

Posts

Joined
Sun Apr 12, 2015 6:33 am
Who is online

Users browsing this forum: No registered users and 3 guests