No such file or directory in diff.php

  • Posts: 146
  • Thank you received: 19
  • Hikashop Business
8 months 1 week ago #332716

-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.9.26
-- PHP version -- : 7.3.28

Hi,
I get this warning if I go to Display > Views and I press the new "See modifications" button.
Is this because I have changed the name of the custom view from show_default.php to show_default_evs.php?
Because if I don't change the name it works fine.

Warning: file_get_contents((...)/components/com_hikashop/views/product/tmpl/show_default_evs.php): failed to open stream: No such file or directory in (...)/administrator/components/com_hikashop/inc/diff.php on line 70

Please Log in or Create an account to join the conversation.

  • Posts: 3462
  • Thank you received: 462
  • MODERATOR
8 months 1 week ago #332719

Hello,

Can you precise how do you edit the file name please ?... The idea is to allow us to be able to try to reproduce your issue, that's why you need to be very specific in your explanations.

Awaiting your elements to be able to progress on your subject.
Regards

Last edit: 8 months 1 week ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 146
  • Thank you received: 19
  • Hikashop Business
8 months 1 week ago #332725

I've changed the name of the view from Hikashop > Display > Views
I have searched for product/show_default.php (of my template), I clicked on the file and I was in the editor.
And I changed the file name as you can see in the image.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 74655
  • Thank you received: 11522
  • MODERATOR
8 months 1 week ago #332735

Hi,

Indeed, the "see modifications" feature we've added doesn't support view files with a changed name.
I've made a patch to support it.
You'll have to download again the install package of the current version and install it on your website to get the patch.
You'll see that when you try to check the modifications of such file, it will now ask you the first time to select a source file to do the comparison.

The following user(s) said Thank You: oxido

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum