• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #19668 - problem upgrading

Hello,
I am trying to update the theme and if go over version 5.4.1 it’s not working. I get error 500 etc… I was originaly in v5.3.5
It was not working so i did updated prestashop and then tried again but same thing.
Also auto update from backend is not working
Can you please check this?

Comments

Fred 02 Nov 2020, 23:18

Hi, Jean-Baptiste CAUDIU.
This is a most hard update because we have completely rewrite the most important module Theme Settings to be compatible with all new upcoming prestashop versions.
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 and I’ll try to make an update for you.
There is a risk to lost some theme configuration.

Jean-Baptiste CAUDIU 03 Nov 2020, 13:08

Hello, did try update and in fact some options where reset. But i have old option on old prod server so i can put them back. Problem is that i had error 500 and site where not working so i did roll back to 5.4.1 uploading theme and module folder again. I did had all info so you can connect production site. Let me know. Thanks for help.

Fred 03 Nov 2020, 14:02

Please try to update and let me know in case the issue will appear, I’ll try to fix that as fast as possible

Jean-Baptiste CAUDIU 03 Nov 2020, 14:06

when I update to 5.6.0 theme option still show: TS v.1.9.0 | Alysum v.5.4.1 | PS v.1.7.6.8 | Powered by Promokit Co.

Fred 03 Nov 2020, 14:07

Go to Modules Catalog and install new Theme Settings 2020 module

Jean-Baptiste CAUDIU 03 Nov 2020, 14:17

getting error 500… maybe i need to empty caches?

Jean-Baptiste CAUDIU 03 Nov 2020, 14:19

I did activate maintenance, i can whitelist your ip if you want

Fred 03 Nov 2020, 14:23

31.182.203.30

Jean-Baptiste CAUDIU 03 Nov 2020, 14:25

done

Jean-Baptiste CAUDIU 03 Nov 2020, 14:26

i see nothing in apache and php log, was using php 7.2 and due to warning in your info pannel revert to 7.1 branch. Change nothing.

Fred 03 Nov 2020, 14:39

still see the maintenance https://take.ms/bSKoRthth

Jean-Baptiste CAUDIU 03 Nov 2020, 14:52

ok, i did put just your IP, try again, should work now

Jean-Baptiste CAUDIU 03 Nov 2020, 14:52

ok, i did put a whitespace that should not have been added

Fred 03 Nov 2020, 15:21

you have a mess of different module.
I just make your website work, now I highly recommend to go to modules and uninstall every module you are not going to use

Jean-Baptiste CAUDIU 03 Nov 2020, 15:23

Thanks Fred. Do you mean, different module that are doing same thing are activate and creating some problems?

Fred 03 Nov 2020, 15:24

Yes, just uninstall all what you don’t need

Jean-Baptiste CAUDIU 03 Nov 2020, 15:27

i think you activate a debug mode, where can i desactivate that? is that visible to normal users?

Fred 03 Nov 2020, 15:34

1. Advanced Parameters → Performance
2. no, if you have enabled maintenance mode

Jean-Baptiste CAUDIU 03 Nov 2020, 15:57

do you think i can export theme settings from old site and import in new site or it won’t work?

Jean-Baptiste CAUDIU 03 Nov 2020, 16:19

I think there is a problem with the update because when I try to update a theme module i get this kind of error:

Error!
Exception retournée par le module pk_menu pour upgrade. Table ‘1et1font3_5295.1et1_pk_theme_settings’ doesn’t exist

SELECT * FROM `1et1_pk_theme_settings` WHERE id_shop = 1;

Also, some theme modules where not activated before theme update:
- Commentaires sur Facebook
- Compare Products
- Favorite Products
- Popup Message
- Product Comments
- Promokit AMP
- Promokit Categories
- Promokit liste de choix

when i try do desactivate i gtet this message:

Error!
L’action disable n’est pas disponible pour le module pk_favorites. Ignorée.

Jean-Baptiste CAUDIU 03 Nov 2020, 16:20

if i translate it means: Error!
Action disable is not available for module pk_favorites. ignored

Jean-Baptiste CAUDIU 03 Nov 2020, 16:23

additionnal pages return template error:
https://www.1et1font3.com/content/4-la-creatrice https://www.1et1font3.com/content/2-mentions-legales https://www.1et1font3.com/content/3-cgv

It seems that this migration is really breaking the website.
Nothing in the documentation… Can you please share experience of what is best to do?
I can restaure backup and follow a more detailed procedure, but right now the shop is all messed up because of this update.
I need to fix this.
please help me.

Fred 03 Nov 2020, 16:42

I have uploaded clear latest theme version to your prestashop, please check it out

Fred 03 Nov 2020, 16:43

uninstall old pk_favorites module v.1.0 and install a new one 2.0

Jean-Baptiste CAUDIU 03 Nov 2020, 16:58

Thanks Fred, it is much better now!
I can’t find pk_favorites module v2 in the theme archive, can’t find it on the market place.
Also on front page I see: pk_favorites module, same question,where can i download the module? thanks

Jean-Baptiste CAUDIU 03 Nov 2020, 16:59

sorry message on front page is: Unable to load widget. Make sure the module “pk_customlinks” is installed and enabled

Fred 03 Nov 2020, 17:01

we have replaced outdated pk_customlinks module with the new one “headeritems”.
maybe will be better for you to install the theme from scratch?

Jean-Baptiste CAUDIU 03 Nov 2020, 17:16

i don’t know. if you think so. Do you have a step by step doc to clean and install? i imagine it will reset all mypreset in the theme? anything else?
where do i download the module you mention?
do you have any clue for th missing database table?

Jean-Baptiste CAUDIU 03 Nov 2020, 18:02

do you recommande that i first upgrade prestashop from 1.7.5.1 to latest and then desactivate theme V5.3.5 and install V5.6 or first move to theme 5.6 and then update prestashop?

Jean-Baptiste CAUDIU 04 Nov 2020, 09:15

Hello Fred, It seems that there is some database problem. Do you add cleaning script of the table when upgrading / desactivating script?
Do you provide payed service for this update? As this is not working, not documenting etc… I need to have this website back on line today and I am really looking for having all up to date but as of now I just don’t have what’s needed to make it work.
Thanks for you help

Fred 04 Nov 2020, 09:44

Ok, I’ll try to help you as much as I can. Give me a moment

Jean-Baptiste CAUDIU 04 Nov 2020, 09:48

take your time, i have to restore backup first. I will let you know when it is ready. an hour and a half i think. Thanks

Fred 04 Nov 2020, 09:48

ok

Jean-Baptiste CAUDIU 04 Nov 2020, 12:59

backup will be restore the next 20 minutes, do you have fix IP?
do you want me to upgrade PS from 1.7.5.1 to latest version before or after the theme update?

Fred 04 Nov 2020, 13:25

please update your prestashop first

Jean-Baptiste CAUDIU 04 Nov 2020, 13:27

site is backep up on the original state.
Maintenance mode is active and I whitelisted your IP.
PS version is 1.7.5.1
Theme version is 5.3.5
i am proceding to prestashop upgrade

Fred 04 Nov 2020, 13:30

let me know when it will be ready

Jean-Baptiste CAUDIU 04 Nov 2020, 13:48

PS update is done. 0 error where return. What’s next?

Fred 04 Nov 2020, 13:50

now please uninstall all modules what you are not going to use

Jean-Baptiste CAUDIU 04 Nov 2020, 14:00

Just one could desactivated, we use the rest.

Jean-Baptiste CAUDIU 04 Nov 2020, 14:17

so you want to proceed to clean install of latest version of the theme? let me know how you want to do.

Fred 04 Nov 2020, 14:17

would be better to install all from scratch, but I already started to update manually

Jean-Baptiste CAUDIU 04 Nov 2020, 14:22

i don’t get what you call from scratch, you mean install clean prestashop, clean theme, re-install all module and reconfigure all module?
That will be much longer so if we can avoid this that would be great.

Fred 04 Nov 2020, 14:53

Whole theme and modules was updated. Now you have to configure all modules what you need

Jean-Baptiste CAUDIU 04 Nov 2020, 15:07

Ok thanks Fred.
Why is the header showing “Unable to load widget. Make sure the module “pk_customlinks” is installed and enabled”, the new module ‘headeritems’ is configure and hooked there.

Fred 04 Nov 2020, 15:08

a lot of thing since 5.3.5 version was changed and the module pk_customlinks was removed at all. Please use Headeritems module

Jean-Baptiste CAUDIU 04 Nov 2020, 15:10

Do i need to edit widget setting in page builder to set up the new module?

Jean-Baptiste CAUDIU 04 Nov 2020, 16:03

instagram shortcode does not work, i don’t see any documentation concerning the module. what do i need to do in top of adding shortcode to show isnta pic in a footer widget?

Fred 05 Nov 2020, 11:24

you don’t need a shortcode, just add a widget “Prestashop module” and select Instagram from the list

Jean-Baptiste CAUDIU 05 Nov 2020, 11:55

Thanks Fred,
I added the widget, doesn’t work for every breakpoint. There is a javascript related to the insta widget js script. It is related to viewport breakpoint. Do you have any idea? is the insta js script support minification? thanks

Fred 05 Nov 2020, 11:57

Could you please show me the issue at a screenshot?

Fred 07 Nov 2020, 18:32

errors in console are fixed

Jean-Baptiste CAUDIU 13 Nov 2020, 09:43

Hello, I have an error related to one of the module that is creating a lot of problem in the backoffice.
I can’t update any module.
I often get this “[PrestaShop] Fatal error in module file: /home/1et1font3/www/modules/pksizeguide/models/SizeGuide.php:0
Cannot declare class SizeGuide, because the name is already in use” I desactivated the sizeguide ine the theme option but it does not change anything, can you please take a look?
thanks

Fred 13 Nov 2020, 10:43

Please try now the issue should be fixed. I have disabled old version of module

Jean-Baptiste CAUDIU 13 Nov 2020, 10:56

great! I can now update modules!
Any old modules remaining?
Also, I have a major interface bug with revolution slider. when i try to change the background image of a slider, the pop up is a mess.
Is it the correct module?
//cloud.caudiu.fr/index.php/s/oswt68bxQ3tg6Mg

Fred 13 Nov 2020, 11:48

I don’t have access to back office to check it out

Il y a une erreur.
Ce compte employé n'existe pas, ou le mot de passe est erroné.
Jean-Baptiste CAUDIU 13 Nov 2020, 12:25

Sorry, I did update the password, also uptodate in my profil info

Fred 13 Nov 2020, 12:48

The issue has been fixed. Please test to confirm the change

Jean-Baptiste CAUDIU 13 Nov 2020, 15:09

thanks, working well

Fred 13 Nov 2020, 16:11

great!

Jean-Baptiste CAUDIU 16 Nov 2020, 15:12

hello Fred, do you implement recaptcha? I can see some recaptcha in the source code generated by the theme ( <div class=”pkheader-captcha”></div> ) but it seems to be in conflict with my recatpcha module.

Jean-Baptiste CAUDIU 16 Nov 2020, 15:24

where can i find a changelog and see what’s news in v 5.7?

Fred 17 Nov 2020, 11:56

Where do you want to add captcha?

Jean-Baptiste CAUDIU 17 Nov 2020, 12:45

on severale places, i have a module for that. I did edit contact page for example and add an hook for the module but it is not working. I can see bug fixes concerning captcha in v5.7, is it safe to update?

Fred 17 Nov 2020, 12:47

We have tested the update about one week and fixed all possible issues. But every customer has it’s own configuration and sometimes some issues could appear. Try to make an update on test server

Jean-Baptiste CAUDIU 23 Nov 2020, 11:11

hello, the last udpate is work fine, I just have a problem regarding footer display, do youh ave any idea of what is the source of the problem? thanks

Fred 23 Nov 2020, 11:19

We just added missed footer hooks.
Go to the settings of Blockreassuarence module and disable it for footer

Jean-Baptiste CAUDIU 23 Nov 2020, 11:37

thanks, working great. I see in the changelog: “Conflict of two captchas on Contact page” what is this? i tried to implement recpatcha with CAPTCHA - reCAPTCHA by ETS soft but it is not working, is the theme comes with a build in recaptcha integration? thanks

Fred 23 Nov 2020, 11:38

That was an issue in our own Captcha module.

Jean-Baptiste CAUDIU 23 Nov 2020, 11:39

what is your captcha module name? i want to implement this

Jean-Baptiste CAUDIU 23 Nov 2020, 11:40

found it!

Fred 23 Nov 2020, 11:54

ok

Jean-Baptiste CAUDIU 23 Nov 2020, 12:46

i get an error on the contact page with recaptcha js:

Uncaught (in promise) Error: reCAPTCHA placeholder element must be an element or id

  at recaptcha__fr.js:168
  at onloadCallback (scripts.min.js:1)

https://www.1et1font3.com/nous-contacter

I desactivated all caches and js optimisation but still not working
do you have any idea?

Jean-Baptiste CAUDIU 23 Nov 2020, 17:42

also, the instagram widget is still not working.
Working only with the bigest screen size, not working with smaller screen size.
Even if i reduce the number of images.

Fred 24 Nov 2020, 14:53

Try following fix for instagram:

@media (max-width:768px) {
#instafeed_middle {display:block}
.ig-indent {width: 50%;display: inline-block}
}
Jean-Baptiste CAUDIU 24 Nov 2020, 16:04

ok, i will custom the css so it works then. And for the captcha error, what you think?

Fred 24 Nov 2020, 17:04

keep trying to find a solution

Jean-Baptiste CAUDIU 24 Nov 2020, 17:53

you mean i should keep trying, or you are keeping trying?

Fred 24 Nov 2020, 17:53

sorry, I meant I’ll keep trying

Jean-Baptiste CAUDIU 25 Nov 2020, 08:18

for the other module i did add some override for the email classe, maybe it is related and maybe desactivated the other module didn’t remove the override files

Jean-Baptiste CAUDIU 26 Nov 2020, 17:59

hello, do you have any news concerning the recaptcha module not working? thanks a lot

Fred 26 Nov 2020, 18:10

Unfortunately no, but hope to find a solution soon.
The problem here is that I can’t reproduce the issue locally, it appears in your website only.

Fred 27 Nov 2020, 19:02

The issue has been fixed. Please test to confirm the change

Jean-Baptiste CAUDIU 28 Nov 2020, 11:51

thanks a lot! bad news is instagram widget just top working. I did not change anything. I did desactive all performance optimisation but doesn’t change anything so I put them back.

Fred 29 Nov 2020, 11:44

Don’t use Instagram widget, use Instagram module through “Load Prestashop module” widget