Skip to main content

No such file or directory in diff.php

More
5 years 4 months ago #332716 by oxido
-- 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.
Code:
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.

More
5 years 4 months ago - 5 years 4 months ago #332719 by Philip
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: 5 years 4 months ago by Philip.

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

More
5 years 4 months ago #332725 by oxido
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.

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

More
5 years 4 months ago #332735 by nicolas
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.185 seconds
Powered by Kunena Forum