Jump to content

My Website Running Slow in english version!


ghaitoute

Recommended Posts

I have tried loading your website in French and in English.

And yes, the English version of your website is running extremely slow.
About 31 seconds to load. If that ain't a conversion killer then I don't know either ;-).

But your French version ain't very fast either. Are you using caching. And what version of PHP are you using?
If it is PHP 5.x without caching, the slow performance would be explainable. PrestaShop is a nice product. But it has not exactly been written with performance in mind 😂😂

swimrunlandfr.jpg

swimrunlanden.jpg

Link to comment
Share on other sites

9 minutes ago, Alex said:

I have tried loading your website in French and in English.

And yes, the English version of your website is running extremely slow.
About 31 seconds to load. If that ain't a conversion killer then I don't know either ;-).

But your French version ain't very fast either. Are you using caching. And what version of PHP are you using?
If it is PHP 5.x without caching, the slow performance would be explainable. PrestaShop is a nice product. But it has not exactly been written with performance in mind 😂😂

swimrunlandfr.jpg

swimrunlanden.jpg

Hello dear Alex, thank you for your help. 

yes i'm using caching with the CCC  option ... the php version is PHP/7.1.32, please find in the attched file some screen shot about the header of the English version, if it can help. 

Capture d'écran 2019-10-24 09.24.47.png

Capture d'écran 2019-10-24 09.25.02.png

Link to comment
Share on other sites

All-right... This becomes more difficult.
I don't know if your webshop is fairly large.

Otherwise I would like to ask you to create a subdomain called : dev.swimrunland.fr and copy the entire site under this domain. The  also copy the database.
Then we need to start disabling modules one by one and check the performance impact. Possible there is a module that has a negative impact.

Before you do all this, please check the server logs for any remarks. Possibly you see something like err_xxxxxx timeout blabla etc etc. So you know where the issue might be. However this is an option.

If all of this fails, we need to run this website locally and run XDebug. The make a performance profile and use cachegrind to find the functionality that consumes the most and possibly eliminate this.

Link to comment
Share on other sites

12 minutes ago, Alex said:

All-right... This becomes more difficult.
I don't know if your webshop is fairly large.

Otherwise I would like to ask you to create a subdomain called : dev.swimrunland.fr and copy the entire site under this domain. The  also copy the database.
Then we need to start disabling modules one by one and check the performance impact. Possible there is a module that has a negative impact.

Before you do all this, please check the server logs for any remarks. Possibly you see something like err_xxxxxx timeout blabla etc etc. So you know where the issue might be. However this is an option.

If all of this fails, we need to run this website locally and run XDebug. The make a performance profile and use cachegrind to find the functionality that consumes the most and possibly eliminate this.

Thank you dear Alex,

Iwill try to do this and let you know.

For the server logs, i don't know where to find it i'm not that expert:/, would you mind show me where i can find it?

 

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

5 hours ago, ghaitoute said:

Thank you dear Alex,

Iwill try to do this and let you know.

For the server logs, i don't know where to find it i'm not that expert:/, would you mind show me where i can find it?

 

Server logs can be found on... the server. You can contact the hosting company and ask them for this.
If you have a virtual private server with for example Plesk installed it is fairly easy. Simply login and look for server logs.

Link to comment
Share on other sites

On 10/25/2019 at 1:56 PM, Alex said:

Server logs can be found on... the server. You can contact the hosting company and ask them for this.
If you have a virtual private server with for example Plesk installed it is fairly easy. Simply login and look for server logs.

Thank you dear Ale, i just get the access to the serveur, please find on the attached files some screen shoots of the server logs error, if you can telle me what does it mean.

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Locale "q" could not be parsed in /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php:244\nStack trace:\n#0 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php(79): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::canonicalize('q')\n#1 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php(180): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::getBrowserLocales()\n#2 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php(152): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::getPreferedLocale()\n#3 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php(122): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::getLocale()\n#4 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Repository.php(93): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::getLanguage()\n#5 /var/www/vhosts/swimrunland.fr/httpdocs/classes/Tools.php(724): PrestaShop\\PrestaShop\\Core\\Cldr\\Repository->__construct('')\n#6 /var/www/vhosts/swimrunland.fr/h...\n'

 

thank you so much for your help.

 

Capture d'écran 2019-10-26 11.25.56.png

 

Capture d'écran 2019-10-26 17.55.29.png

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

On 10/25/2019 at 7:50 PM, ashbifs said:

The size of the shop has no relevance, that determines the size of the database which has nothign to do with page download speed

Absolutely not indeed. But I mean if it is possible to download the shop and upload it identically somewhere else.

But it was rather a sidenote than a breaking point. 🙂 But yes you are right.

Link to comment
Share on other sites

On 10/26/2019 at 11:29 AM, ghaitoute said:

Thank you dear Ale, i just get the access to the serveur, please find on the attached files some screen shoots of the server logs error, if you can telle me what does it mean.

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Locale "q" could not be parsed in /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php:244\nStack trace:\n#0 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php(79): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::canonicalize('q')\n#1 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php(180): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::getBrowserLocales()\n#2 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php(152): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::getPreferedLocale()\n#3 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Localize.php(122): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::getLocale()\n#4 /var/www/vhosts/swimrunland.fr/httpdocs/src/Core/Cldr/Repository.php(93): PrestaShop\\PrestaShop\\Core\\Cldr\\Localize::getLanguage()\n#5 /var/www/vhosts/swimrunland.fr/httpdocs/classes/Tools.php(724): PrestaShop\\PrestaShop\\Core\\Cldr\\Repository->__construct('')\n#6 /var/www/vhosts/swimrunland.fr/h...\n'

 

thank you so much for your help.

 

Capture d'écran 2019-10-26 11.25.56.png

 

Capture d'écran 2019-10-26 17.55.29.png

This ExcludeDirectoryFileItterator.php tells pretty much actually.
Wondering how much files he tries to iterate.

But the problem seems to lie in symfony. I could be wrong though. But can you set the PHP version to 7.0 and try that? I know it is outdated. But just for a test-run.

 

 

 

Link to comment
Share on other sites

On 10/28/2019 at 4:48 PM, Alex said:

This ExcludeDirectoryFileItterator.php tells pretty much actually.
Wondering how much files he tries to iterate.

But the problem seems to lie in symfony. I could be wrong though. But can you set the PHP version to 7.0 and try that? I know it is outdated. But just for a test-run.

 

 

 

hello dear Alex, i tried set the php on 7.0 but the problem is always there, english version is so slow.

can you please help me to understand the whaterfall char on the attached file i think it can help to understand the problem.

Capture d'écran 2019-10-29 21.16.09.png

Link to comment
Share on other sites

On 10/28/2019 at 4:48 PM, Alex said:

This ExcludeDirectoryFileItterator.php tells pretty much actually.
Wondering how much files he tries to iterate.

But the problem seems to lie in symfony. I could be wrong though. But can you set the PHP version to 7.0 and try that? I know it is outdated. But just for a test-run.

 

 

 

hello Again dear Alex,

finaly i understaind why the shop in english version is so slow!

i added the english language manualy, i didn t import the pack  language from prestashop, i just try it in new prestashop instalation and yes it s slow if you add the language manualy.

to solve this i need to delete the english language from languages and import the english pack, the problem is if i delete the english language all the translation that i made will be delete it as well 😕

any idea how to delete the english language and  keep the translations in the database? 

Thank you so much 

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...