Hello,
I had version 3.02 of Backlight, and since the update all the photos in the gallery have disappeared. I recover a backup and start the operation again but the problem comes back.
An idea?
Thank you
Nico
Hello,
I had version 3.02 of Backlight, and since the update all the photos in the gallery have disappeared. I recover a backup and start the operation again but the problem comes back.
An idea?
Thank you
Nico
It seem I have PHP error since the update, the console said:
ReferenceError: $ is not defined
Uncaught SyntaxError: missing ) after argument list
A lot of php code have this error like:
$(function() {
jQuery.getScript(â/backlight/modules/module-cart/lib/js/jquery.ttgcart-pangolin.jsâ, function() {
if (âTTGCartâ in window) {
$(âbodyâ).ttgcart(cartOptions);
cartOptions[âcart_button_selectorâ] = â.add-package-to-cartâ;
$(âbodyâ).ttgpackage(cartOptions);
}
});
});
Or:
$(document).ready(function() {
$(".btn-scroll-to-top").click(function() {
$(âhtml, bodyâ).animate({ scrollTop: 0 }, âslowâ);
return false;
});
$(window).scroll(function() {
if ($(this).scrollTop() > 200) {
$(".btn-scroll-to-top").fadeIn();
} else {
$(".btn-scroll-to-top").fadeOut();
}
});
});
âŠ
Try clicking the Update Album Files link under Special Links on the main Backlight dashboard.
If that doesnât fix it, please post a link to an album or page where the error can be seen.
What version of php is your host using?
You can find out by clicking the PHP Info link on the Backlight dashboard.
Thanks Rod,
I have already click on Update Album Files and the other options. But doesnât fix
For Php With backup, Iâve tried 7, 7.2 and 7.4
This my page where normally, image must be appear but doesnât:
In fact, with Chrome Inspector, images are here but not appears
Thanks
Are you running any custom css or phplugins?
Is so, what happens when you disable them?
I tried disabling custom CSS and phplugins, nothing changes except the look of the site
Is this an album inserted in a page? Does the album by itself still appear?
The pictures are appearing on the English version.
Yes I try to disable Phplugins, Custom Css, but nothing change, after disable Cart nothing change.
In fact you canât change language on home page but go to an other page, change to English, come to home page and now images appear! strange
In fact, French version do not display image but English does.
I have modified nothing since update but all work well in v3.02 but not in 3.2
this may be due to an accent problem (Ă©, Ăš, Ă , ĂȘ âŠ) in French we use accented characters a lot, maybe this creates a conflict
That might help Matt and Ben pinpoint the problem.
Yes, thank you very much for your help and time Rod
Nico, for the thumbnail grid, what coverage option are you using? Maybe give âneverâ a try.
Looks to me like you have some extra JavaScript in the page. Thereâs a file loading from chimpstatic dot com that I donât recognize. I see youâre adding a âBack to Topâ button, and some kind of blocking of the context menu. An accordion script that loops through the DOM looking for class names. And some sort of manipulation on âfield_13â, whatever thatâs meant to be.
As a first troubleshooting step, you should remove all of that, and whatever else youâve done. Also, switch you layout to use the Classic grid, as that should give you a better view of the HTML printing to the screen.
Thank you Mat, Daniel and Rod,
I finally find the issue. The problem was in Admin/Setting/LanguageâŠ
In fact an inverted backslash was too much, I wrote:
"L\'image" and not "L'image"
returning error:
Unexpected identifier âimageâ. Expected â)â to end an argument list
as you can see and that was causing the following error:
instance.$refs.imageDownload = $('<li class="fb-image-download"><a class="fa_pseudo">Télécharger l\\'image</a></li>')
.appendTo( this.$list );
Thank you very much all for your time and help
Nico
Glad you were able to track down the issue.