Jump to content

Becoming increasingly concerned


warleb

Recommended Posts

This is starting to concern me because I keep getting random issues.

Main issue is it takes a log time to save a product
I get intermittent unable to save settings when saving a product
I get timeout when navigating on the product page.  I just get the WAIT message or CLOSE.  Have to close the page and re-load

Not sure what the issue is here but I have disabled a lot of modules that I don't need.

I am using the latest release of presta shop.

Link to comment
Share on other sites

So I host with Ionos  Not sure if it is shared hosted or not.  I only have one product on the site at the moment so I know it's not the number of products causing the issue

9GB Ram
1 vCPU

Here are the php.ini setting in the admin folder
safe_mode = off;
max_execution_time = 3000
max_input_time = 180
allow_url_fopen = On
memory_limit = 1024M
post_max_size = 1024M
upload_max_filesize = 1024M
display_errors = off
max_input_vars = 27000

Edited by warleb (see edit history)
Link to comment
Share on other sites

Running PHP 7.4

After that it's 8, 8.1 and 8.3 which is not supported on 1.7.8.8

 

Even now 7.4 is outdated.  

 

I just changed to php 8.1 as this is supported until 2024 but the dashboard no longer works.  The site still works but not the dashboard

Link to comment
Share on other sites

It looks like Presta and the php version are not working together.   With an error like that I would stop adding products until it is resolved.   That sort of error is seen every now and again and it is usually the php version of a php setting.

If you have 1.7.8.8 you will need to run php 7.x (php 8 is not supported).

If you are starting a Presta shop at this point - you will need to look at the modules you need and then decide if you want to start with 1.7.x or 8.x.

If all else fails - you could start with 1.7.8.8 php 7.4 and once that is configured and running update to PS8.x with php 8.x.

At this point you need to look at all the basics - php version and configuration, disable all modules (expect absolute essentials), disable all overrides.

And remember to clear cache manually on a regular basis (delete the cache dir).

 

Link to comment
Share on other sites

    In htaccess you can set

php_value memory_limit '1024M'

Keep in mind, this only works, if you server configuration allowes "AllowOverride" directive for this directory.

And set it back to php7.4 if it ran before leave it.  1 vCPU is a bit slim, could be the bottleneck. 
I'm not a friend og IONOS.

Edited by Nickz (see edit history)
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...