Page 1 of 1

Strange error on the website

Posted: Mon Oct 27, 2014 5:52 pm
by johnbg
Just after installing this awsome component I saw that theres an error on the page. It does not show completely so I cannot tell which error it is.
Can anyone please help on this. I really like to use this component but not with such a screen off course. A screen shot is added.

Re: Strange error on the website

Posted: Tue Oct 28, 2014 6:24 pm
by Bifford
http://www.fotoburggraaf.nl

I've been to every page of your site (nice photos btw) and I get no such error.

The best thing to do is open the browsers "Developers Tools" and go to the error console and see what it says.

Re: Strange error on the website

Posted: Tue Oct 28, 2014 9:09 pm
by johnbg
Thats correct because this site is sleedt on air i did NOT want to display an error.
I will try your advice and get back

Re: Strange error on the website

Posted: Tue Oct 28, 2014 10:17 pm
by Bifford
If the error console doesn't show anything then use the "spyglass" (magnifying glass) to highlight the error box, which will then pop the code for that box up. You should then be able to alter the size of said box to lengthen it and see what the error is. (This does not actually change any code, it just changes the single instance of the code loaded. As soon as you hit refresh the original code will take back over. It's a good way to see what code needs changing for a specific thing!)

Re: Strange error on the website

Posted: Thu Oct 30, 2014 12:59 pm
by johnbg
Hi Bifford, I went into the console and found the specific part in the admirrorgallery.css in the directory \plugins\content\admirorgallery\admirorgallery\

I added a screenshot for the specific part. The solution in this case was to delete the highlighted block. I cant imagine thats the right solution but it worked ;-)

Re: Strange error on the website

Posted: Thu Oct 30, 2014 1:38 pm
by Bifford
Well, that's one way to do it lol.

What you've actually done there (as far as I can tell) is to simply stop the error showing up, by removing the box it is held within.

So you still have the error, whatever it was, but are no longer being told about it.

Hopefully the designers can help further when he gets time!

Re: Strange error on the website

Posted: Fri Oct 31, 2014 2:08 am
by Vasiljevski
This is a common issue.
Some templates have a div with class error for displaying errors on the page. And when everything is OK it is empty and invisible.
But Admiror Gallery defines error class in a different way (as seen on the image you posted) so it becomes visible.

So best solution would be to remove div with class error from your template, or rename it to something else. :)

Ultimate solution is to rename class error to ag_error in Admiror Gallery and avoid these issues. But that is something I need to do in the future release