Closed fabio42170 closed 3 years ago
Ok, well, I sort of understood that the @import "sample";
line calls forth a sample particle. When the new Gantry package was updated, it erased the "sample.html.twig" and "sample.yaml" files. I decided to restore these two files in the particles folder but in vain. The sample particle seems to be ignored. For the moment, I commented the line causing the error until I can find out why I needed this line in my custom.scss file as it looks like my site works fine without it.
If anyone has any idea about it, you're most welcome !
Fabio
Where (as a path) did you have the sample files? Joomla shouldn't remove any files in the template folder, so I'm wondering why the files went missing. I also cannot see sample.scss
anywhere in the helium package.
Oh, try clearing cache from Gantry admin and then recompiling the SCSS files.
Thanks for answering. Well, I'm not going to roll back and try again reinstalling the way I did before just to recompile the file. To answer your question, the sample.yaml (and not sample.scss) file was something I imported from another template (from the Hydrogen template) a long time ago to be able to benefit a feature (can't remember which one 🤯) which was in the Hydrogen template and not in the Helium one. This is the reason why I do not need to recompile as my website seems to be working without this.
Thanks again for your eye anyway !
I didn't mention anything about reinstalling. Just going to admin and clicking 2 buttons in there. :)
PS. CI (or the next) version of Gantry should fix the issue where files cannot be found even if they are there.
Yep, I got it ! What I meant is I did not need to recompile as I commented the line to prevent the custom.scss file from looking for the missing yaml file. Great to know such things will be likely not to happen in the next version !
Hi ! Joomla 3.10.0 This morning, I tried to update from Gantry 5.4.37 to 5.5.3. First, I updated the package (Gantry ) to 5.5, and everything works fine. When I update Helium, I then get an error message in the frontend (with a white page) The log tells me that:
On line 7 of the custom.scss file , I read :
@import "sample";
It seems to be the faulty line.What am I supposed to do ? Thanks for your help ! Fabio