Post by firepatches » Fri May 15, 2015 8:18 am

Memory Error in subdomain of main domain

I get this error when I try to edit Products in the subdomain, dirtydildostore.com, of my main domain, firefighterapparelstore.com.

I have edited to php.ini to increase the memory but still get the error.
And the weird thing is that this only appears when I try to go to PAGE 4 of the product page.
When I try PAGE 5, 11, etc, any page but PAGE 4, it works fine.
How do I find out what is causing this error?

This is the error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 11980 bytes) in /home/fire0411/public_html/dirtydildostore/system/library/image.php on line 34

User avatar
New member

Posts

Joined
Mon Mar 12, 2012 9:17 pm
Location - Wilmington, NC

Post by PeteA » Fri May 15, 2015 6:57 pm

It's down to a product on Page 4 having a very large image which when being resized, consumed more than the standard 64Mb of RAM allocated to PHP.

This came up recently: http://forum.opencart.com/viewtopic.php?f=20&t=143938 and a few suggestions were made on there.

New member

Posts

Joined
Wed Jul 30, 2014 5:46 pm

Post by firepatches » Fri May 15, 2015 7:34 pm

Thanks!
The pain is trying to find the image :-)

--
Website: http://www.FireApparelStore.com
Art Samples: http://www.Engine55.com
Facebook: http://www.facebook.com/pages/FireAppar ... 0811808792


User avatar
New member

Posts

Joined
Mon Mar 12, 2012 9:17 pm
Location - Wilmington, NC

Post by IP_CAM » Fri May 15, 2015 11:24 pm

Just to mention this:
PHP Server Memory Settings are SOMETIMES to be made in the SERVER_USER Admin PHP Setting Section, if such EXISTS! It cannot be done by OC-Setting alone. And it may not be possible, on cheap Hosts, since it is a 'fundamental' Server Setting, especially on shared Servers, and therefore, possibly, directly related with Server Fees, paid by the Customers.

Lot's of finest Tools ar just waiting to be downloaded and used for such Tasks!

File/Code Manager: (Great Tool, I just don't like black screens, it makes my Eyes sore...)
http://www.opencart.com/index.php?route ... n_id=17423

OpenShop Extensions: ( File Manager Image below ) My favoured Admin EXTENSION!!! :D
http://openshop.org.ua/

Web Filemanager for OpenCart: ( See image below )
http://www.opencart.com/index.php?route ... n_id=20624

Image Manager Header Admin: ( See image below )
http://www.opencart.com/index.php?route ... n_id=19176

Filemanager vqMod: ( Untested )
http://www.opencart.com/index.php?route ... n_id=15718

Image Editor: ( Untested )
http://www.opencart.com/index.php?route ... on_id=6905

AND MORE... ;)

Good Luck
Ernie
bigmax.ch/shop/
Last edited by IP_CAM on Wed Feb 10, 2016 3:34 am, edited 4 times in total.

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

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

Post by firepatches » Sat May 16, 2015 3:29 am

Will these work on this subdomain as it is an XML script used to generate the products, qty, etc for the site

--
Website: http://www.FireApparelStore.com
Art Samples: http://www.Engine55.com
Facebook: http://www.facebook.com/pages/FireAppar ... 0811808792


User avatar
New member

Posts

Joined
Mon Mar 12, 2012 9:17 pm
Location - Wilmington, NC

Post by firepatches » Sat May 16, 2015 3:30 am

...i'm being hosted by Arvixe....

--
Website: http://www.FireApparelStore.com
Art Samples: http://www.Engine55.com
Facebook: http://www.facebook.com/pages/FireAppar ... 0811808792


User avatar
New member

Posts

Joined
Mon Mar 12, 2012 9:17 pm
Location - Wilmington, NC

Post by IP_CAM » Sat May 16, 2015 4:03 am

>> it is an XML script used to <<
You may have to adjust the image 'link/path-related' content of the XML file accordingly, but how should I know? ???
--
A Subdomain Shop call's, probably, usually, or possibly, for the same Images, and Data, and/or Subs, related, as it's Main Domain, SO, according to my non-existant Knowledge on this (yet). it would depend on the configuration, as well, I assume...!? I just believe, or recall, from somewhere, that NOT all Admin Functions CAN BE executed from a Subdomain. It could, eventually, end up in a Mess...!?
--
Regarding Subdomains, I have be trying to explain this, for V.1.5.6.x at least, just recently on this Page. ;)
I would, generally, 'call' images, even Scripts, wherever possibly, from specificly defined Sub-Domains, it really does have a SWELL performance effect on Browsers, due to the 'multitask' like download capabillities of Browsers. In addition, Page Performance Testers like it as well, you will too! It's all there, on Page, what it takes, to make it work.
http://forum.opencart.com/viewtopic.php?f=20&t=144617

Good Luck
Ernie
bigmax.ch/os/

PS. Regarding image Sizes and Dimensions, read here, and find links to very handy free Image Tools!
http://forum.opencart.com/viewtopic.php ... ze#p508148

Uploading 1'000+px Wide and 1+MB Image Files, is, like filling a stomach with 4 BigMac's, at once!
Among with a Load of Coke. Would anyone, exept for a plain Beginner, really groove on such? :crazy:

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

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

Users browsing this forum: No registered users and 34 guests