• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 02.04.20, 15:42
  • Opened by: Damien
  • Closed by: Fred
  • Closed on: 08.05.20, 00:50
  • Reason: No answer from a customer
  • Comment: Glad to help!

Ticket #17200 - Some bugs on site

Hello,
I have noticed some few strange bugs in the site.

1- The first one is that in the layout builder, when i click on the “edit widget” button, the pop-up does not load
I have to click a second time in order to open it. Then, when i make some changes, and click on the save button.
the changes are not saved.

2- When i go to a product page to edit it, and when i try to delete an image, that crash my browser. I can’t click every where else.

When i want to create a product, i click on “new product” i edit it and when i save it, it is not created. I have to duplicate a product in order to create a new one.

It seems that there is a problem with loading data and saving changes in the site.

Comments

Fred 02 Apr 2020, 21:39

1. I can’t reproduce the issue, it always works for me
2. Please enable Debug Mode and try to repeat the action, then if you will get an error, read carefully what’s wrong there.
I’m not sure product configuration issue is related to the theme

Damien 02 Apr 2020, 21:59

Please see the attached files.

1. Can you please try to modify the footer layout builder? When you click on the edit button such as the screenshot01, the pop-up does not load immediatly. i have to click twice to open it. when it’s open (see screenshot 02) i can’t edit the widget form content (more precisly i can edit it but i can’t save it. Can you please make a test (you can add “Test” word at the end for ecxample) and see if it save your modification?

2. You can edit the tttttt product (see screenshot 03) and try to delete an image? It will freeze the entire window
I have enabled the debug mode but i am not good enough to see if there is a problem or not.

Thank you very much for your help.

Attachments:

screen01.jpg (142 KiB)
screen02.jpg (163.9 KiB)
screen03.jpg (210.6 KiB)
Fred 03 Apr 2020, 10:52

1. Still can’t reproduce the issue. Here is my screen record https://take.ms/jIskr as you can see all works just fine

2. product image management also works for me https://take.ms/6vOYo

Damien 03 Apr 2020, 11:07

That’s a crazy thing!! :( I don’t understand.
Did you make those tests on my site or on another site? (i did not recognize that product)

Fred 03 Apr 2020, 12:06

That is your back office and that is a first product I have seen in the list, I just added my images there

Damien 03 Apr 2020, 12:21

I do not have any collier Gamora rubis fleur in my products.
Even on the first video, i do not have the same content
Layout builder → Footer builder → Alysum has not the same content as yours (see attached file)
Are you really on this site:
https://www.julietteozouf.com/admin701azoy45/ That’s insane. I don’t undertsand anything.
Do you have any explanation why i do see all these bugs (my client also see this bugs when she navigates on the site with its computer) and that you do not see them.

Attachments:

Myfooterbuyilderalysum.jpg (214.6 KiB)
Damien 03 Apr 2020, 12:23

I confirm that you were on the wrong site.
I have two licences. You were on the first one.
The site with bugs is this one

https://www.julietteozouf.com/

Fred 03 Apr 2020, 12:25

Yes, I see now. I’ll check the issue on another website

Fred 03 Apr 2020, 12:30

Page builder issue is fixed now

Damien 03 Apr 2020, 12:33

Wow really!!!! Great! What was the problem please?

Fred 03 Apr 2020, 12:34

old bug what was fixed long time ago

Damien 03 Apr 2020, 12:35

sorry i have this error now..

https://www.julietteozouf.com/

Fred 03 Apr 2020, 12:36

I see you have outdated theme version, In your case would be better to install the latest theme version from scratch

Fred 03 Apr 2020, 12:38

I just restored files which I have updated recently

Damien 03 Apr 2020, 12:38

The problem is that i’ve got some other modules and i am scared that they are not compatible with the new theme version

Fred 03 Apr 2020, 12:39

Please try now, it should work

Damien 03 Apr 2020, 12:40

What about this error message i’ve got now?

ContextErrorException

Warning: mcrypt_decrypt(): Received initialization vector of size 0, but size 16 is required for this encryption mode

Fred 03 Apr 2020, 12:43

give me a moment

Damien 03 Apr 2020, 12:43

That works but i need to use footer builder and for now it is deactivated

Fred 03 Apr 2020, 12:55

it works now

Damien 03 Apr 2020, 12:59

It seems that everything works great now!!! Thank you very much
just one more small question :)
Is it possible in a CMS page to place some anchor link with a smooth move to the link?

Fred 04 Apr 2020, 10:17

There is no such option in the theme, it requires some additional code

Damien 04 Apr 2020, 11:10

Ok thank you for your answer.
Just for clues, this functionality more or less exists with the “scrollTop” function.
Can I use it or decline it for my needs? If yes, where can I find the js code for the function?

*Edit: Ojk i think i have found. It’s in theme.js but no way i can change this file. Too hard for me :)
I will try to find something easier

Damien 04 Apr 2020, 11:24

I would like to try this js function:

// Select all links with hashes
$('a[href*="#"]')
  // Remove links that don't actually link to anything
  .not('[href="#"]')
  .not('[href="#0"]')
  .click(function(event) {
    // On-page links
    if (
      location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') 
      && 
      location.hostname == this.hostname
    ) {
      // Figure out element to scroll to
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
      // Does a scroll target exist?
      if (target.length) {
        // Only prevent default if animation is actually gonna happen
        event.preventDefault();
        $('html, body').animate({
          scrollTop: target.offset().top
        }, 1000, function() {
          // Callback after animation
          // Must change focus!
          var $target = $(target);
          $target.focus();
          if ($target.is(":focus")) { // Checking if the target was focused
            return false;
          } else {
            $target.attr('tabindex','-1'); // Adding tabindex for elements not focusable
            $target.focus(); // Set focus again
          };
        });
      }
    }
  });

Can i insert it in the customer css/js field in my theme settings?

Damien 04 Apr 2020, 12:30

One stupid question :) :
if i want to input some js code in the costumer css/js field, do i have to put the <script></script> tags?

Fred 04 Apr 2020, 12:30

no you don’t have to use tags

Damien 04 Apr 2020, 12:31

Ok thank you! ;)

Damien 08 Apr 2020, 15:03

Hello,
Can you please tell me what did you change in order to have the previous bugs repaired (which files did you update so that it works again?)
I have an old version of alysum installed on another site and i have the same problems?
Thank you very much

Fred 08 Apr 2020, 17:32

I don’t remember now. But we always add fixes for the next versions, so don’t worry about that

Damien 08 Apr 2020, 19:45

The problem is that i have an old version of alysum with old version of different modules so i can’t update the theme without taking the risk to crash everything.
I have this error message on pk_menu module:
“Dispatcher::createUrl() miss required parameter “order_reference” for route “module-colissimo-tracking” at line 808 in file classes/Dispatcher.php”

Fred 09 Apr 2020, 09:57

Hi, Damien.
Where I can see the issue? As I can see all works fine