1. You seems have some cache enabled (I can’t find where is it) https://take.ms/rMVv9 - please disable it 2. You server is incredibly slow I highly suggest you to configure it somehow or change to another one
I have memcached in php loaded. Is that the problem. In the attached files you can see my configuration.
Must i do something in the prestashop configuration to disable cache functions?
What i found out is that if i click on the quickview i can add it to the basket, but if i click on the picture and then click on “add to basket”it doesnt’n functioning.
I have disabled all cache, but this cache message is still there. In the attached file i sent you, you can see that it has something to do with the product condition.
it doesn’t helped. The file is empty but I still see an errors caused by that file. It’s possible in two ways 1. Cache issue 2. The path to file or server credentials are wrong
I have another webshop allsupllies.eu running on the same server and creditials. And that site doesn’t have those problems. But Iquisine.nl is running live and that is really an issue. So please let me know exaclty what to do.
if I would know what to do exactly. Try to copy the file from your working store to this one The file is /themes/venedor/templates/catalog/_partials/miniatures/micro-product.tpl
1/1) ContextErrorException Warning: htmlspecialchars() expects parameter 1 to be string, array given in 9ce956a17dd4b9cd517a0a45924159ed7ca0dbeb_2.file.micro-product.tpl.php line 168
Line 168 of the file says <meta itemprop=”itemCondition” content=”<?php echo htmlspecialchars($_smarty_tpl→tpl_vars[’product’]→value[’condition’], ENT_QUOTES, ‘UTF-8’);?> ” />
Ok, maybe I’ve got this not right. You mean to empty the file in /var/cache/dev/smarty/compile/9c/e9/56. Or did you mean to empty the file in /themes/venedor/templates/catalog/_partials/miniatures/
no, you don’t have to edit cached files, it has no sense because such files will be regenerated automatically. you have to edit theme’s file /themes/venedor/templates/catalog/_partials/miniatures/product.tpl
I don’t understand how it’s possible. The file is empty but I still see the error https://take.ms/CiS5V Is the path correct to the theme? Is the credentials to access to your server are correct? All the cache must be disabled while we are trying to fix the issue.
if you click on the picture and than add to basket doesn’t work. If you click on the magnifying glass and than add to basjket it works. So how did you add this article?
You server is incredible slow, I have to wait minutes every time I reload a page for a test. Could you please fix that to let me try to fin a problem with the cart?
Memory Information Total Memory 15.53 GB Free Memory 13.36 GB Available Memory 14.23 GB Total Swap Memory 7.63 GB Free Swap Memory 7.63 GB Cached Swap Memory 0 B v
now it works better, but you don’t need such expensive server. All our demo sites runs on 2Gb RAM and works pretty fast. That is a question of php/mysql configuration. As for the issue there is something definitely wrong. The theme works fine by default. Could you please disable all third party module you have installed recently
We care about your privacy.Use the list below to configure your privacy settings
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information. Read more about cookies in our Privacy Policy
The collection of information about your use of the website used to measure, understand, and report on your usage of the service, only in case of some error appearing. All collected information will be automatically removed from our server every month or immediately after your request.
Allow us to collect details to access your server and your website admin panel. This information will be requested from you only if it will be really necessary to provide requested by you an action like fix a bug or configure website. All provided information will be removed from our server by your request.
Please take a moment...
to read about the Privacy Policy we use with this website. Click "Privacy Options" to configure how we can interact with you and your device or computer.
Comments
Hi, Joan Puts.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office and FTP
Hi Fred,
I filled in the fields in my profile
the website link seems wrong http://93.190.137.206/~admin/
Now it works.
Add to cart works for me https://take.ms/MJo2m how to reproduce the issue?
Strange. It doesn’t when i try it. Is it maybe an language issue. See the printscreen I attached
Attachments:
Naamloos.png(133.5 KiB)Are you logged in in the store or not?
No, i’m not logged in in the store. Why, I have set in the ordersetting that checkout as guest is enabled. Or am i wrong with that conclusion
I don’t say you have to be logged in, I’m trying to find out what’s wrong. I just tried and Add to cart works correctly for me.
Wich browser do you use. I always use Firefox. Could that be a clue.
I just tried in Firefox and it also works fine https://take.ms/0bRWe8
That’s very strange. I’ve tried it in Edge and worked fine, but not in Firefox.
we are working on that, hope to find what’s wrong as soon as possible
I’ve tried it on my mobile phone with google and id didn’t work. So there is something not right. Is there something with the ajax.js or cart.php
problem stil not resolved.
I see. Trying to figure out what’s wrong
1. You seems have some cache enabled (I can’t find where is it) https://take.ms/rMVv9 - please disable it
2. You server is incredibly slow I highly suggest you to configure it somehow or change to another one
I have memcached in php loaded. Is that the problem.
In the attached files you can see my configuration.
Must i do something in the prestashop configuration to disable cache functions?
What i found out is that if i click on the quickview i can add it to the basket, but if i click on the picture and then click on “add to basket”it doesnt’n functioning.
Attachments:
psinfo1.png(154 KiB)psinfo2.png(142.6 KiB)Your configuration looks correctly but for site in production. We need to edit theme’s/module’s files that’s why any cache should be disabled
Did you get already figured out what the problem is.
I have disabled all cache, but this cache message is still there. In the attached file i sent you, you can see that it has something to do with the product condition.
” />
Attachments:
9ce956a17dd4b9cd517a0a4592415...(9.6 KiB)please try now, I just fixed the file /public_html/themes/venedor/templates/catalog/_partials/miniatures/micro-product.tpl
Here I sent you a small video of what i mean
Attachments:
iquisine.avi(376.1 KiB)I don’t get the error with the cache anymore → as reply of your answer
There is definitely cache issue, or wrong server credentials, please check out my screenshot https://take.ms/64udj
I have removed all content from the file but still see the same issue in the website
Should i disable opcache in php?
Yes, Please try it disable while you are in development stage
I diabled opcache PHP
it doesn’t helped.
The file is empty but I still see an errors caused by that file. It’s possible in two ways
1. Cache issue
2. The path to file or server credentials are wrong
I have another webshop allsupllies.eu running on the same server and creditials. And that site doesn’t have those problems.
But Iquisine.nl is running live and that is really an issue. So please let me know exaclty what to do.
if I would know what to do exactly.
Try to copy the file from your working store to this one
The file is /themes/venedor/templates/catalog/_partials/miniatures/micro-product.tpl
Oké I did that. But I still get this error
1/1) ContextErrorException
Warning: htmlspecialchars() expects parameter 1 to be string, array given
in 9ce956a17dd4b9cd517a0a45924159ed7ca0dbeb_2.file.micro-product.tpl.php line 168
Line 168 of the file says
<meta itemprop=”itemCondition” content=”<?php echo htmlspecialchars($_smarty_tpl→tpl_vars[’product’]→value[’condition’], ENT_QUOTES, ‘UTF-8’);?>
” />
Try to empty that file at all to see does it works with empty file and make sure the changes you make are applied
I’ve emtied the file and made sure it was empty. But with no result.
do you have the same error?
Yes I become the same error. I now have put on the debug, so if you look on iquisine.nl you will see the whole error
That’s exactly what I wrote you earlier. How to provide a fix if the system don’t recognise modified file?
Ok, maybe I’ve got this not right. You mean to empty the file in /var/cache/dev/smarty/compile/9c/e9/56. Or did you mean to empty the file in /themes/venedor/templates/catalog/_partials/miniatures/
no, you don’t have to edit cached files, it has no sense because such files will be regenerated automatically.
you have to edit theme’s file /themes/venedor/templates/catalog/_partials/miniatures/product.tpl
ok, there i was wrong. one moment.
Now the error is gone, but the problem is the same
I don’t understand how it’s possible.
The file is empty but I still see the error https://take.ms/CiS5V
Is the path correct to the theme? Is the credentials to access to your server are correct? All the cache must be disabled while we are trying to fix the issue.
The path is correct. I installed the theme via prestashop. All cache is disabled.
but nothing changed when I edit the file, and you also tied that, what to do? I need to edit that file to provide a fix
Could it be that something els caused the problem. Beacaus if you select an article, and scroll down you will see other problems.
Attachments:
product.png(222.5 KiB)Do I have to check out this url? http://93.190.137.206/~admin/
No just iquisine.nl
Ok, could you please also check out credentials provided in your profile and update them if it’s necessary
I have update the creditials
Did you already had time to look what the error caused.
Please be patient, we will reply to you as soon as possible https://take.ms/u0zQK
is the back office link correct? http://93.190.137.206/~admin/0pnfhtmm5n6r1h21
https://www.iquisine.nl/admin324rilp2n But i saved it in my creditials
Add to cart seems works fine https://take.ms/zO4yl
if you click on the picture and than add to basket doesn’t work. If you click on the magnifying glass and than add to basjket it works. So how did you add this article?
You server is incredible slow, I have to wait minutes every time I reload a page for a test.
Could you please fix that to let me try to fin a problem with the cart?
I have upgrade the server with 16 GB ram
Memory Information
Total Memory 15.53 GB Free Memory 13.36 GB Available Memory 14.23 GB Total Swap Memory 7.63 GB Free Swap Memory 7.63 GB Cached Swap Memory 0 B v
now it works better, but you don’t need such expensive server. All our demo sites runs on 2Gb RAM and works pretty fast. That is a question of php/mysql configuration.
As for the issue there is something definitely wrong. The theme works fine by default. Could you please disable all third party module you have installed recently
I disabled all third party modules, cleaned /var/cache and tried. But nothing has changed. The issue stays.
Please try now, it should work https://take.ms/o2p51
Hi Fred, It works now. Great. What did cause the problem?
syntax error in the page template file