Product edit on fresh install of 1.4.2 results in "problem loading page"

Started by perplexed, July 02, 2025, 11:56:19 AM

Previous topic - Next topic

perplexed

More problems with 1.4.2 on a fresh install. When attempting to add and edit a new (first product) receive this:

"Looks like there's a problem with this site

https://garlicstore.copperkfarm.com/index.php?rt=catalog/product/update&product_id=127&s=admin123&token=GSW0p3do7Wijok2yFiiWx0f4SorAr1rI might have a temporary problem or it could have moved.

Error code: 500 Internal Server Error

    The site could be temporarily unavailable or too busy. Try again in a few moments."


abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

perplexed

Attached is a snipet from the error log (Abantecart). Problem with insufficient memory on the webhosting site??

abolabo

Ha, 10mb of memory is not enough for AbanteCart.

You should to check php directive memory_limit before run.
Make it at least 128Mb inside php.ini file Or on cPanel php configuration page.

To see actual memory_limit just go to admin->system->settings->system  button phpinfo() at the heading. 
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

perplexed

Ok Thanks, I will submit this to our webhosting tech staff to see if they can make this change to the php.ini file, this is a bit out of my expertise level.
One question though as this problem surfaced with the newer 1.4.2 version and did not exist with the 1.4.1 version.
Is it safe to say this newer version came with a php.ini file with that 10mb entry in the file?

Basara

Quote from: perplexed on July 02, 2025, 03:14:08 PM
Ok Thanks, I will submit this to our webhosting tech staff to see if they can make this change to the php.ini file, this is a bit out of my expertise level.
One question though as this problem surfaced with the newer 1.4.2 version and did not exist with the 1.4.1 version.
Is it safe to say this newer version came with a php.ini file with that 10mb entry in the file?

Hello.
Here is default php.ini file for 1.4.2
https://github.com/abantecart/abantecart-src/blob/master/public_html/php.ini

perplexed

We have a solution from our webhosting support team, that appears it has indeed fixed a couple of issues on Abantecart. Sharing their response below:

"We've reviewed the issue reported on your website and found that it was likely related to PHP's memory limit settings not properly reflecting on the site.

To address this, we have created a .user.ini file within the root directory of your site and increased the PHP memory_limit to 2048M (2GB). This change ensures that your application has access to more memory, which can help prevent memory-related errors during operation.

At this time, no further errors are appearing in the logs, but we recommend that you test the site and let us know if you experience the same issue again. We appreciate the productive communication with the AbanteCart IT team during this process."

abolabo

Quote from: perplexed on July 03, 2025, 01:14:41 PM
We have a solution from our webhosting support team, that appears it has indeed fixed a couple of issues on Abantecart. Sharing their response below:

"We've reviewed the issue reported on your website and found that it was likely related to PHP's memory limit settings not properly reflecting on the site.

To address this, we have created a .user.ini file within the root directory of your site and increased the PHP memory_limit to 2048M (2GB). This change ensures that your application has access to more memory, which can help prevent memory-related errors during operation.

At this time, no further errors are appearing in the logs, but we recommend that you test the site and let us know if you experience the same issue again. We appreciate the productive communication with the AbanteCart IT team during this process."

Thank you for your feedback. 

FYI, each hosting provider propose a lot of hosting solutions that affect on configuration scheme of web-server. Not all of them lookingo for user's  *.ini file(security reasons etc).
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -