Post by zachair » Mon Apr 16, 2018 10:05 pm

This weekend our site stopped working when the search term is "axle" all other searches work just fine including "axles". The error log gives shows:
PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4752 bytes) in ...(file location)...system/library/image.php on line 26
From what I understand that error means an image is too big to be uploaded, but we're not uploading anything, just doing a search in the basic opencart search. Any ideas of where I can start looking?
Opencart 2.1.0.1

Newbie

Posts

Joined
Wed Jul 30, 2014 12:54 am

Post by MrPhil » Mon Apr 16, 2018 10:47 pm

That is very strange. Are you saying that a search for axles works fine, but a search for axle gives an image-related problem? Does axles return the same hits that axle is expected to, or far fewer (or none)? I'm wondering if perhaps axle gives a huge number of returns that is overflowing something?

User avatar
Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm

Post by zachair » Mon Apr 16, 2018 10:51 pm

From what I can tell, axle should give about 10 more hits than axles. The term axle breaks search on both the front and back end, with the same error showing up in the error_log

Newbie

Posts

Joined
Wed Jul 30, 2014 12:54 am

Post by straightlight » Mon Apr 16, 2018 11:48 pm

By focusing on the error message provided, I would suggest to view this topic on StackOverFlow: https://stackoverflow.com/questions/178 ... o-allocate

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by OSWorX » Tue Apr 17, 2018 1:19 am

I rather would assume, that one of your images (jpg) is either corrupt or too big!
Has nothing todo with the search and the used term.

Image


User avatar
Expert Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by zachair » Tue Apr 17, 2018 5:09 am

I found a large image that once I resized down the search started working again. Thanks ll

Newbie

Posts

Joined
Wed Jul 30, 2014 12:54 am
Who is online

Users browsing this forum: No registered users and 6 guests