Memory error in AbanteCart with other errors

Avatar
  • Answered
Two things, first, if you go to my website in your browser now, it is giving this:

Parse error: syntax error, unexpected 'else' (T_ELSE), expecting function (T_FUNCTION) in /home/smggun5/public_html/storefront/model/catalog/manufacturer.php on line 64

second, while trying to upload a file to the resource library in abantecart, it says this:
Fatal error: Out of memory (allocated 813170688) (tried to allocate 63360 bytes) in /home/smggun5/public_html/core/lib/image.php on line 108

Ideas? I'm not very knowledgeable, but am willing to learn...
Avatar
IMH Support Agent 5
Hello,

Thank you for your question regarding these PHP errors in Abante Cart. These appear to be PHP errors. The first indicates a syntax error, which is the actual language of the code being written incorrectly on line 64 of the manufacturer.php file. The other error is more difficult to isolate, but it is likely a part of the application is requesting too much information (perhaps erroneously) and causing a spike.

The good news is that the errors do not seem to be up on the site at the moment. If they return, I advise contacting a developer who has an intricate of the coding behind Abante Cart.

Best,
Christopher M.