Jump to content
JPresta.com

[Module] Page Cache - speed up your shop

Recommended Posts

1 hour ago, Mreco said:

Hello. I have version 4.60. I did not buy any Zen option because I can not buy any. I do not have this option on the prestashop addons page.

I think you will have to buy it again to get version 5 but ask to Addons support team to be sure.

Share this post


Link to post
Share on other sites

Hello,

after instalation, some modules doesnot work. This is connected with Dynamic hoko section in module? 

Share this post


Link to post
Share on other sites

hello, I have migrated my store to prestashop 1.7 and I have to reconfigure the pagecache module, and I find something that I don't know how to solve it, in the video tutorial that you show in the 2:47 minute you show how the user is still connected when you go to the home, on my site that does not happen, when I go to the home my user is not visible as connected.

I also added the product to the cart and it is not preserved for example when I change the language. I put the modules in the dynamic modules option but it doesn't work

Edited by juanrojas
incomplete (see edit history)

Share this post


Link to post
Share on other sites
17 hours ago, juanrojas said:

How is the automatic configuration =?

This is the 4th steps in configuration of the module. It contacts our server to request the configuration of know modules so it's faster and easier for you. In 90% of shops it is enougth and you don't have to configure manually.

Share this post


Link to post
Share on other sites
28 minutes ago, JPresta.com said:

This is the 4th steps in configuration of the module. It contacts our server to request the configuration of know modules so it's faster and easier for you. In 90% of shops it is enougth and you don't have to configure manually.

Hello Jpresta.com, 

If I let it in automatic, no pictures of products in homepage are visible (it is module). And other thing does not work. So I have to enable manuály in Dynamic hoko tab? Cause I tried, but without success.

Share this post


Link to post
Share on other sites
58 minutes ago, lipo999 said:

Hello Jpresta.com, 

If I let it in automatic, no pictures of products in homepage are visible (it is module). And other thing does not work. So I have to enable manuály in Dynamic hoko tab? Cause I tried, but without success.

Contact me via the support, I will analyse this issue

Share this post


Link to post
Share on other sites

Hello!
I updated prestashop to version 1.6.1.24, and now the module displays "Incomplete installation - overrides from the AddressController.php, ParentOrderController.php, Customer.php, Cart.php and Address.php files are not in the / override folder, reinstall the module!"

I tried changing the comments to "/ * confirmation keys: VK ## 2 * /"
but the error remained And how can I fix it.

Share this post


Link to post
Share on other sites
23 minutes ago, Augen2203 said:

Hello!
I updated prestashop to version 1.6.1.24, and now the module displays "Incomplete installation - overrides from the AddressController.php, ParentOrderController.php, Customer.php, Cart.php and Address.php files are not in the / override folder, reinstall the module!"

I tried changing the comments to "/ * confirmation keys: VK ## 2 * /"
but the error remained And how can I fix it.

Are you sure this message is displayed by Page Cache? These classes are not overriden by Page Cache.

Share this post


Link to post
Share on other sites

I don’t quite understand about (page cache)
I have a warning in the modules that the module is not fully installed, and if I go to the module settings, then there is a red error displayed here with the listing of the files that I sent above.
But the module is functioning (as far as I noticed)

Share this post


Link to post
Share on other sites
On 8/21/2019 at 2:23 PM, Augen2203 said:

I don’t quite understand about (page cache)
I have a warning in the modules that the module is not fully installed, and if I go to the module settings, then there is a red error displayed here with the listing of the files that I sent above.
But the module is functioning (as far as I noticed)

Contact me via the support so I can have a look and tell you which module is displaying this message.

Share this post


Link to post
Share on other sites

Hi JPresta,

On my website i've got a condition who check $customer.default_group_id &  if the  customer is logged before display content. It's work perfectly without Page Cache, but when I activate the module, the condition doesn't work anymore : every users see the error message "you have to be connected to access to this page". 

Do you have an idea how to solve this problem ? (Prestashop 1.7.5.2)

Thanks 

Share this post


Link to post
Share on other sites
On 8/30/2019 at 12:27 PM, LookinFor said:

On my website i've got a condition who check $customer.default_group_id &  if the  customer is logged before display content. It's work perfectly without Page Cache, but when I activate the module, the condition doesn't work anymore : every users see the error message "you have to be connected to access to this page". 

Do you have an idea how to solve this problem ? (Prestashop 1.7.5.2)

If it is displayed by a module then set it as dynamic in Page Cache configuration. If not, try to make this content displayed by a module that you will set as dynamic.

Share this post


Link to post
Share on other sites

Hi,

Since i installed the module in multistore, when i receive orders confirmation (with alert email module), the shop name in the head of the mail is not the good one. I feel that shop name data stays in cache when sending order confirmation mail.

How to solve it ?

Thank you.

Share this post


Link to post
Share on other sites
2 hours ago, Nesta92 said:

Since i installed the module in multistore, when i receive orders confirmation (with alert email module), the shop name in the head of the mail is not the good one. I feel that shop name data stays in cache when sending order confirmation mail.

How to solve it ?

I'm surprised because the module does not cache anything during the order process, moreover each shop has its own cache.
I think the issue is caused by something else. I don't know multi-store a lot so I cannot help you much.

Share this post


Link to post
Share on other sites

Hello,

I'm using your module PAGE CACHE ULTIMATE V5.1.12 on my website Prestashop 1.6.1.19

Just one thing not working, the cache for connected users. When using test mode, I have always the text "Connection" even if I'm connected, and when I go to "My account" it shows my informations and your module text panel is not showing.

I have my own module blockuserinfo, but when I use the default module blockuserinfo, it's still not working. The value $is_logged in nav.tpl or $logged in blockuserinfo.tpl is always to false.

For the moment I use your module with cache disabled for connected users, but I would like to use it fully.

FYI I have dynamic hook check in front of the module blockuserinfo, but it's my own position, does it have an influence ?

If you have any idea, it would be great !

Share this post


Link to post
Share on other sites
6 hours ago, Shonen said:

Just one thing not working, the cache for connected users. When using test mode, I have always the text "Connection" even if I'm connected, and when I go to "My account" it shows my informations and your module text panel is not showing.

I have my own module blockuserinfo, but when I use the default module blockuserinfo, it's still not working. The value $is_logged in nav.tpl or $logged in blockuserinfo.tpl is always to false.

For the moment I use your module with cache disabled for connected users, but I would like to use it fully.

FYI I have dynamic hook check in front of the module blockuserinfo, but it's my own position, does it have an influence ?

If you have any idea, it would be great !

Normally you just have to set the module (or widget) as dynamic in the hook that display the information. If it does not work contact me via the support

Share this post


Link to post
Share on other sites

We have a Prestashop 1.6.1.20 running with Pagecache Ultimate 4.28 (and are very happy with it :) ).

We are investigating some w3validation errors, and it looks like they are generated by pagecache:
When we are uninstalling the module, then no error is being displayed.
Can you please look into this and help me to resolve the issue?

-------------------------

Warning: The type attribute is unnecessary for JavaScript resources.
From line 1, column 418; to line 1, column 448
"IE=edge"><script type="text/javascript">window

Error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
From line 9, column 350; to line 9, column 356
div>      <style>.seosa

Error: Stray end tag head.
From line 299, column 709; to line 299, column 715
05.jpg" /></head><body
Error: Start tag body seen but an element of the same type was already open.

Fatal Error: Cannot recover after last error. Any further errors will be ignored.
From line 299, column 716; to line 299, column 779
/></head><body id="index" class="shop_5 index hide-right-column lang_nl"> <nosc


 

Share this post


Link to post
Share on other sites
18 minutes ago, JPresta.com said:

You must not mark any module as dynamic in header hook, check the configuration of Page Cache and uncheck any "displayHeader" hook.

I don't see displayheader as an item in the ' DYNAMIC MODULES AND WIDGETS' tab.
Where should i see that? 

Share this post


Link to post
Share on other sites
4 minutes ago, wjv999 said:

I don't see displayheader as an item in the ' DYNAMIC MODULES AND WIDGETS' tab.
Where should i see that? 

Just 'header' maybe?

Share this post


Link to post
Share on other sites
59 minutes ago, JPresta.com said:

Just 'header' maybe?

 

The only modules which are switched on are:
 My Account block
 Viewed products block
 User info block 
 Wishlist block 
 User info block
 

There is a part at the bottom Javascript to execute which contains header:

// Force cart to refresh
$.ajax({ type: 'POST', headers: { "cache-control": "no-cache"}, url: baseUri + '?rand=' + new Date().getTime(), async: true, cache: false, dataType: "json", data: 'controller=cart&ajax=true&token=' + static_token, success: function (jsonData) { ajaxCart.updateCart(jsonData);}
    });
if (!!$.fn.rating) {
$('input.star').rating();
$('.auto-submit-star').rating();
}

 

Share this post


Link to post
Share on other sites

Gebruik je een Woorank module?

Are you using a Woorank module?

If so, that module causes a problem with the stray <div>, looking at <link rel="stylesheet" href="https://www.geocachingshop.nl/themes/Geodox/cache/v_663_d52604f0266ebb5a4fed97f44d4e3e39_all.css" type="text/css" media="all" /> <div id="dynhook0.....

So dynhook seems to be woorank related.
A div tag shouldn't be in the header and will cause a cascade of problems with validation.

Is that a clue for you?

Edit: Sorry, too quick. dynhook indeed originates from Pagecache.

I 'll shut up now :)

Regards,

Wout.

Edited by Nivo-Media (see edit history)

Share this post


Link to post
Share on other sites
7 minutes ago, Nivo-Media said:

Gebruik je een Woorank module?

Are you using a Woorank module?

If so, that module causes a problem with the stray <div>, looking at <link rel="stylesheet" href="https://www.geocachingshop.nl/themes/Geodox/cache/v_663_d52604f0266ebb5a4fed97f44d4e3e39_all.css" type="text/css" media="all" /> <div id="dynhook0.....

So dynhook seems to be woorank related.
A div tag shouldn't be in the header and will cause a cascade of problems with validation.

Is that a clue for you?

Edit: Sorry, too quick. dynhook indeed originates from Pagecache.

I 'll shut up now :)

Regards,

Wout.

:) No, indeed we are not using woorank. Thanks anyway.,

Edited by wjv999 (see edit history)

Share this post


Link to post
Share on other sites
14 hours ago, wjv999 said:

The only modules which are switched on are:
 My Account block
 Viewed products block
 User info block 
 Wishlist block 
 User info block

Can you send me temporary access via support so I can have a look?

Share this post


Link to post
Share on other sites
On 11/28/2019 at 12:28 AM, JPresta.com said:

I just released a new module to speed up Prestashop (> 1.7.1.0)

What do you think?

Hello,

Bought Ultimate one some time ago, now bought the full package and I have several issues. 

Warehouse theme is not fully supported, as logged in users are not recognized however I try  to configure the module. Do you have any code snippet for the theme? or any help that you can provide me (and I guess us) who are looking for pagespeed warehouse user sign in login issue? (placed some keywords there for ya :D).

Also, after some time, it breaks theme/templates/catalog/_partials/miniatures/product.tpl beyond repair, I do have both pre/post files stored. This needs to be replaced on random basis, otherwise you are facing blank pages because recompiling of this .tpl file results in &amp; being put in, which smarty cant compile, therefore you  are out of luck in rendering catalog/product box.

Thirdly, after cache is built, it takes approx XYZ random amt of time to "break" pictures. This can happen for several reasons, but I think I narrowed it down to webp generation.  Even if it says "great, we have webp now!" in green text, there are apparently some libs missing or something. After some time when  pictures are literally  unavailable, it throws the desired result in jpg  (note for all users: We use same CDN domain for production and dev versions, to save space, as you  dont have to migrate all pics and restore 20gb of files when you have to do restore. If you  have media server placed in, it will use those pictures even if module is installed on dev version.  I mean its obvious, but we didnt think about it and now we have 20% quality images on live server which is not nice.)

nr.  4  would be that after installation and autoconfig (keep in mind using warehouse theme) language and currency block went "haywire" and removed all styling on it. It was functional, yet large selectbox. That can be your first indication of something going wrong.

Im writing all of this here, so I can share what we have been trough so far and how we solved it, hope it helps someone else to sort out these issues quicker  :)

Overall, the speed increase is phenomenal, it just needs a bit tweaking and being 100% sure its safe to use it on production. We have multistore shop setup with decent revenue, so this weekend when it just went down twice, was really not nice.

 

Attaching original product.tpl mentioned above, if someone needs it.

product.tpl

Share this post


Link to post
Share on other sites
14 hours ago, Puskas said:

Im writing all of this here, so I can share what we have been trough so far and how we solved it, hope it helps someone else to sort out these issues quicker  :)

product.tpl 3.25 kB · 0 downloads

Thank you for the feedback. We will keep people informed about all these issues as you are the first to use this new module 🙂

Share this post


Link to post
Share on other sites

On Prestashop > 1.7.5.0 for people having troubles with webservice API with this error "PHP Fatal error: Uncaught TypeError: Argument 1 passed to DispatcherCore::getInstance() must be an instance of SymfonyComponentHttpFoundationRequest or null, instance of WebserviceRequest given"

You need to upgrade to 4.62. If you cannot download it on Addons, just contact me via the support.

Share this post


Link to post
Share on other sites

Hello Joe,

My pretty urls module(delete ids) overrides dispatcher.php file. When I try to install the module, It gives an error dispatcher.php file already overridden by pretty urls module. My prestashop version is 1.6 latest. I think that I need to merge both modules dispatcher.php files. Is it possible to give some tips about how to merge them?

Share this post


Link to post
Share on other sites
2 hours ago, hoodiegamers said:

My pretty urls module(delete ids) overrides dispatcher.php file. When I try to install the module, It gives an error dispatcher.php file already overridden by pretty urls module. My prestashop version is 1.6 latest. I think that I need to merge both modules dispatcher.php files. Is it possible to give some tips about how to merge them?

If you are talking about vipadvancedurl (Advanced URL) I'm sorry to say that Page Cache Ultimate cannot work with , there is no way to make it compatible. They cannot work together (I tried many ways but it's just impossible).

If you can, replace this module with compatibles ones like https://addons.prestashop.com/en/url-redirects/16633-pretty-urls-remove-ids-numbers-for-seo-friendly-url.html or https://addons.prestashop.com/en/url-redirects/19643-advanced-seo-friendly-urls.html

Share this post


Link to post
Share on other sites

How do i clear the .pagecache statistik data manually? 

It has become too big for one php runtime 😕

 

The db: xxx_jm_pagecache ? 
What is the db: xxx_jm_pagecache_bl? That one is huge? 370MB on my site

xxx_jm_pagecache_mods is big too, 50MB, what is that? 

Share this post


Link to post
Share on other sites
On 12/28/2019 at 2:07 AM, andersburn said:

How do i clear the .pagecache statistik data manually? 

It has become too big for one php runtime 😕

 

The db: xxx_jm_pagecache ? 
What is the db: xxx_jm_pagecache_bl? That one is huge? 370MB on my site

xxx_jm_pagecache_mods is big too, 50MB, what is that? 

All tables are used to refresh the cache automatically, they can be huged but necessary. Be aware that all datas are used and reduced to the minimum.

To clear it manually you can do:

TRUNCATE TABLE xxx_jm_pagecache;
TRUNCATE TABLE xxx_jm_pagecache_bl;
TRUNCATE TABLE xxx_jm_pagecache_mods;

 

Share this post


Link to post
Share on other sites
3 hours ago, JPresta.com said:

All tables are used to refresh the cache automatically, they can be huged but necessary. Be aware that all datas are used and reduced to the minimum.

To clear it manually you can do:


TRUNCATE TABLE xxx_jm_pagecache;
TRUNCATE TABLE xxx_jm_pagecache_bl;
TRUNCATE TABLE xxx_jm_pagecache_mods;

 

Thanks

Share this post


Link to post
Share on other sites

Hello

I have been VERY happy with your module.
But after updating my shop from 1.6.0.9 to 1.6.1.24 module is not doing the job anymore.

I checked stats and many missed hits. That has not happened before.
 Can you tell me what is happening?spacer.png

Share this post


Link to post
Share on other sites
13 hours ago, Allan-Da said:

I have been VERY happy with your module.
But after updating my shop from 1.6.0.9 to 1.6.1.24 module is not doing the job anymore.

I checked stats and many missed hits. That has not happened before.
 Can you tell me what is happening?

I see some hits so the cache is used but maybe the timeout is too short; try to increase it to 10 days for exemple. It is recommended if you don't have many visitors. How long have these statistics been generated?

Share this post


Link to post
Share on other sites
1 minute ago, JPresta.com said:

I see some hits so the cache is used but maybe the timeout is too short; try to increase it to 10 days for exemple. It is recommended if you don't have many visitors. How long have these statistics been generated?

The stats is for 3-4 hours, so no need to incease timeout.
And it worked fine on PS 1.6.0.9 but not after upgrade to 1.6.1.24

The module is from 2017 and no update. Can that be the problem?

Share this post


Link to post
Share on other sites
7 minutes ago, Allan-Da said:

The stats is for 3-4 hours, so no need to incease timeout.
And it worked fine on PS 1.6.0.9 but not after upgrade to 1.6.1.24

The module is from 2017 and no update. Can that be the problem?

It's better to use the latest version of Page Cache.

The cache is refreshed each time a change is done, maybe in 1.6.1.24 are better handled, maybe you have more sales that trigger changes in stocks, etc. It's difficult to know exactly.

Share this post


Link to post
Share on other sites
1 minute ago, JPresta.com said:

It's better to use the latest version of Page Cache.

The cache is refreshed each time a change is done, maybe in 1.6.1.24 are better handled, maybe you have more sales that trigger changes in stocks, etc. It's difficult to know exactly.

Do i have to but the latest version, or can it be updated?
I have an account at jpresta.com

Share this post


Link to post
Share on other sites
5 minutes ago, JPresta.com said:

It's better to use the latest version of Page Cache.

The cache is refreshed each time a change is done, maybe in 1.6.1.24 are better handled, maybe you have more sales that trigger changes in stocks, etc. It's difficult to know exactly.

How is the cache regenerated when an order is made? 
If products id=1 and id=3 is bought. the cache for products id=1 and id=3 will be deleted. But what about product id=2? 
And what about the categories with products id=1 and id=3? Are they deleted? 

Share this post


Link to post
Share on other sites
9 minutes ago, Allan-Da said:

Do i have to but the latest version, or can it be updated?
I have an account at jpresta.com

Your license is expired since march 2018 so you need to renew your licence.

Share this post


Link to post
Share on other sites
16 minutes ago, andersburn said:

How is the cache regenerated when an order is made? 
If products id=1 and id=3 is bought. the cache for products id=1 and id=3 will be deleted. But what about product id=2? 
And what about the categories with products id=1 and id=3? Are they deleted? 

When an order is made the stock of product #1 and #3 are updated:

  • if a product becomes out of stock then the cache of the product page, of all categories of the product and of all pages displaying the product are refreshed
  • if the product is still in stock, then only the product page is refreshed
  • Product #2 is not concerned

Share this post


Link to post
Share on other sites
1 minute ago, JPresta.com said:

When an order is made the stock of product #1 and #3 are updated:

  • if a product becomes out of stock then the cache of the product page, of all categories of the product and of all pages displaying the product are refreshed
  • if the product is still in stock, then only the product page is refreshed
  • Product #2 is not concerned

Can you change that? :)

Share this post


Link to post
Share on other sites
7 minutes ago, JPresta.com said:

What is your need?

Today we sold 24pcs of our most sold product. That is a lot of regenerating. 

Maybe: 

If a product has more stock than X, don't regenerate cache.

Only regenerate cache after X product sales.

Only regenerate cache if cache reaches: 0, 5, 10, 50, 100

 

Edited by andersburn (see edit history)

Share this post


Link to post
Share on other sites
9 minutes ago, andersburn said:

Today we sold 24pcs of our most sold product. 

Maybe: 

If a product has more stock than X, don't regenerate cache.

If a product has more stock than X, only regenerate cache after X sales.

Only regenerate cache if cache reaches: 0, 5, 10, 50, 100

Or simpler: don't regenerate cache if quantity is NOT displayed and product is still in stock

Edited by JPresta.com (see edit history)

Share this post


Link to post
Share on other sites
1 minute ago, JPresta.com said:

Or simpler: don't regenerate cache if quantity is NOT displayed and product is still in stock

As far as I remember this was the only reason to refresh the product page.

Share this post


Link to post
Share on other sites
12 minutes ago, JPresta.com said:

As far as I remember this was the only reason to refresh the product page.

Yes. 
But not for us, we display stock 😕

Share this post


Link to post
Share on other sites
18 minutes ago, andersburn said:

Yes. 
But not for us, we display stock 😕

ok, I will try to add something like "If a product has more stock than X, only regenerate cache after Y sales". A sale will be equivalent to 1 quantity (one order of 5 products will represent 5 sales). I keep you posted.

Share this post


Link to post
Share on other sites
16 minutes ago, JPresta.com said:

ok, I will try to add something like "If a product has more stock than X, only regenerate cache after Y sales". A sale will be equivalent to 1 quantity (one order of 5 products will represent 5 sales). I keep you posted.

Perfect! 

Share this post


Link to post
Share on other sites
On 1/10/2020 at 9:55 PM, Allan-Da said:

Any idea why my cache keeps getting flushed?

What you can do is enable logs of Page Cache to see how often the cache is refreshed for some pagesand why. Go in configuration of the module, click on "advanced mode" and enable logs. Wait 3-4 hours and check Prestashop logs.

Share this post


Link to post
Share on other sites

Hi Joe,

We are on PS 1.7.6.2 and use your module v4.63. 

We added banner at PS displayNav2. Banner shows with Page cache disabled. Using Page cache auto configuration, banner does not show, with Page Cache activated. Using manual configuration enabling module in displayNav2, banner also does not show.

Could you please advice here?

Thank you,

Peter

Share this post


Link to post
Share on other sites
19 hours ago, biker1947 said:

We are on PS 1.7.6.2 and use your module v4.63. 
We added banner at PS displayNav2. Banner shows with Page cache disabled. Using Page cache auto configuration, banner does not show, with Page Cache activated. Using manual configuration enabling module in displayNav2, banner also does not show.
Could you please advice here?

Which banner is it exactly (name of the module)?

Share this post


Link to post
Share on other sites

We use module HTML Box Pro 3.5.7 - by MyPresta.eu to place banner. 

Share this post


Link to post
Share on other sites
1 hour ago, biker1947 said:

We use module HTML Box Pro 3.5.7 - by MyPresta.eu to place banner. 

Is it a conditional display? I mean, is it displayed for eveyone all times?

Share this post


Link to post
Share on other sites

Yes indeed. Setting within HTML app is to show under all conditions all the time. 

Share this post


Link to post
Share on other sites
56 minutes ago, biker1947 said:

Yes indeed. Setting within HTML app is to show under all conditions all the time. 

Contact me via the support, I will analyse this issue

Share this post


Link to post
Share on other sites
15 hours ago, biker1947 said:

I did sent information to contact address     @Jpresta.com

Hello, I sent you version 4.64 that should fix your issue.

Share this post


Link to post
Share on other sites

Hi I have a question regarding the Javascript to execute field. I see that there is some text in this field. Is this automatically filled in by the module? See the attachment.

javascript.png

Share this post


Link to post
Share on other sites
1 hour ago, Martin C said:

Hi I have a question regarding the Javascript to execute field. I see that there is some text in this field. Is this automatically filled in by the module? See the attachment.

Yes this is filled by auto-configuration but can be modified manually if needed.

Share this post


Link to post
Share on other sites

Just wan't to let everyone know, that JPresta has the best and fastest email support i have ever experienced from a prestashop module developer!

 

___________________________________________________________________________
Owner of Nutcase cykelhjelm

Edited by Allan-Da (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

I emailed JPresta 4 days ago and heard nothing back. Disappointing.

Anyone use this with Warehouse theme w/ slide out cart?

I guess if it doesn't work he offers a 30 day trial period, so may purchase.

Edited by RickieSee (see edit history)

Share this post


Link to post
Share on other sites
On 1/31/2020 at 7:23 PM, RickieSee said:

I emailed JPresta 4 days ago and heard nothing back. Disappointing.

Anyone use this with Warehouse theme w/ slide out cart?

I guess if it doesn't work he offers a 30 day trial period, so may purchase.

Sorry you didn't see the email. Check your email SPAM folder I answered you on january 28th at 11:29am (you sent your question at 1:46am).

> "Yes, Page Cache Ultimate and Speed Pack will work with the side cart of Warehouse theme."

 

Share this post


Link to post
Share on other sites

I am finding this log, can anyone guide on the cause of this and what should I do to rectify this issue

 

*ERROR*     2020/03/05 - 10:36:10: Duplicate entry '1106-674-1' for key 'PRIMARY'<br /><br /><pre>INSERT INTO `pspm_page_viewed` (`id_date_range`, `id_page`, `counter`, `id_shop`, `id_shop_group`) VALUES ('674', '1106', '1', '1', '1')</pre> at line 791 in file classes/db/Db.php

*ERROR*     2020/03/05 - 21:50:58: Deadlock found when trying to get lock; try restarting transaction<br /><br /><pre>INSERT INTO `pspm_jm_pagecache_mods` (`id`, `id_module`) VALUES (11543,138),(11543,139),(11543,231),(11543,256),(11543,242),(11543,80),(11543,29),(11543,11),(11543,12),(11543,86),(11543,232),(11543,77),(11543,5),(11543,28),(11543,40),(11543,41),(11543,73),(11543,261),(11543,75),(11543,99),(11543,192),(11543,233),(11543,137),(11543,171),(11543,172),(11543,20),(11543,15),(11543,50),(11543,84),(11543,180),(11543,209),(11543,95),(11543,81),(11543,83),(11543,237),(11543,78)</pre> at line 791 in file classes/db/Db.php

*ERROR*     2020/03/05 - 21:53:42: Duplicate entry '880-674-1' for key 'PRIMARY'<br /><br /><pre>INSERT INTO `pspm_page_viewed` (`id_date_range`, `id_page`, `counter`, `id_shop`, `id_shop_group`) VALUES ('674', '880', '1', '1', '1')</pre> at line 791 in file classes/db/Db.php

Screenshot(11).png

Share this post


Link to post
Share on other sites

@traktap I never saw that in Prestashop before. Do you have a lot of this log? Do you know how to reproduce?

Share this post


Link to post
Share on other sites
Posted (edited)

Not Sure when this is occurring, we are running tests to identify.

I started investigating when I could see drop in orders and complaints from customers about not able to place orders.

We are on AWS Medium 2 and RDS.  We are investigating if there is issue with connectivity between the two.

Edited by traktap
Missed out information (see edit history)

Share this post


Link to post
Share on other sites
On 3/26/2020 at 3:16 PM, traktap said:

 

Not Sure when this is occurring, we are running tests to identify.

I started investigating when I could see drop in orders and complaints from customers about not able to place orders.

We are on AWS Medium 2 and RDS.  We are investigating if there is issue with connectivity between the two.

[Sat Apr 04 14:22:30.118296 2020] [:error] [pid 4205:tid 139703609161472] [client 49.207.50.201:60830] PHP Notice: Undefined index: cover in /home/svast574/public_html/cache/smarty/compile/39/98/29/399829404b8f17fe7858ad290ec5c50ffa4f452e.file.product-list.tpl.php on line 251, referer: https://www.swasthyashailee.com/health-care/fitness-and-nutrition/
[Sat Apr 04 14:22:30.118453 2020] [:error] [pid 4205:tid 139703609161472] [client 49.207.50.201:60830] PHP Notice: Trying to get property of non-object in /home/svast574/public_html/cache/smarty/compile/39/98/29/399829404b8f17fe7858ad290ec5c50ffa4f452e.file.product-list.tpl.php on line 251, referer: https://www.swasthyashailee.com/health-care/fitness-and-nutrition/

Share this post


Link to post
Share on other sites

I installed the module but on some mobile devices it does not work correctly, the correct version is on the left in the image that I attach, while the wrong version is on the right, also the menu does not work, it does not open at all, I do not even see the categories , what can I do?

Senza titolo-2.jpg

Share this post


Link to post
Share on other sites
2 hours ago, Giolu1965 said:

I installed the module but on some mobile devices it does not work correctly, the correct version is on the left in the image that I attach, while the wrong version is on the right, also the menu does not work, it does not open at all, I do not even see the categories , what can I do?

Contact me via the support, it's just some configurations to setup.

Share this post


Link to post
Share on other sites

if i activate page cache last version i cannot upload images in produts, i get error 500. Prestashop is 1.7.5 php is 7.1.3

Share this post


Link to post
Share on other sites
14 hours ago, condorazul said:

if i activate page cache last version i cannot upload images in produts, i get error 500. Prestashop is 1.7.5 php is 7.1.3

  • Do you reproduce when Page Cache is disabled?
  • Do you use StoreCommander?
  • What is the version of Page Cache?
  • Can you show us the error message?

Share this post


Link to post
Share on other sites

Onl

1 hour ago, JPresta.com said:
  • Do you reproduce when Page Cache is disabled?
  • Do you use StoreCommander?
  • What is the version of Page Cache?
  • Can you show us the error message?

Page Cache 4.63
No Store Commander
When disabled it works
screenshot attached

error.jpg

Share this post


Link to post
Share on other sites

1.7.6.4

Page Cache cannot parse data of error.

entire page is disturbed due to this . can someone guide why this is happening.

 

Regards

Amit

 

Video_2020-05-05_140553.wmv

Share this post


Link to post
Share on other sites
3 hours ago, Giolu1965 said:

how i can make a mobile cache warm?

You can use wget and specify a user-agent corresponding to a mobile phone.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More