The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
4 posters

    Script Error and stop running

    TamDonCo
    TamDonCo
    Forumember


    Posts : 427
    Reputation : 2
    Language : English

    In progress Script Error and stop running

    Post by TamDonCo February 23rd 2018, 7:18 pm

    Hi All

    I have a question about script error and stop running


    for example : I have 10 script files , for some reason the script number 5 has error and the rest stop running

    Is any way for script keeps running regarless of error(s)

    Thanks
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 160
    Language : 🇵🇹

    In progress Re: Script Error and stop running

    Post by tikky February 23rd 2018, 7:28 pm

    Hey,
    Could you tell which js number 5?


    thanks,
    Script Error and stop running 1f425
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Script Error and stop running

    Post by SLGray February 23rd 2018, 7:35 pm

    If one is not working, you need to remove or fix it.



    Script Error and stop running Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    TamDonCo
    TamDonCo
    Forumember


    Posts : 427
    Reputation : 2
    Language : English

    In progress Re: Script Error and stop running

    Post by TamDonCo February 23rd 2018, 7:39 pm

    Thanks for your answer

    The script works but sometimes it fails due to the user blocking, I can not control user settings


    Do you know how scripts work in forummotion.com ?

    If you have 10 scripts, it will run from top to down ?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Script Error and stop running

    Post by SLGray February 23rd 2018, 7:44 pm

    So there is exactly not something wrong with the script itself?  The issue is some members blocking scripts in their browsers?  If yes, it should block all 10 scripts, not just one.



    Script Error and stop running Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    TamDonCo
    TamDonCo
    Forumember


    Posts : 427
    Reputation : 2
    Language : English

    In progress Re: Script Error and stop running

    Post by TamDonCo February 23rd 2018, 9:54 pm

    no , not really, I test already

    if I turn on bloker it blocks some elements in 1 script and stop working

    I do not block script
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: Script Error and stop running

    Post by Ape February 23rd 2018, 10:31 pm

    Can I ask what the code is for and what dose it do ?



    Script Error and stop running Left1212Script Error and stop running Center11Script Error and stop running Right112
    Script Error and stop running Ape_b110
    Script Error and stop running Ape1010
    TamDonCo
    TamDonCo
    Forumember


    Posts : 427
    Reputation : 2
    Language : English

    In progress Re: Script Error and stop running

    Post by TamDonCo February 24th 2018, 3:20 pm

    APE wrote:Can I ask what the code is for and what dose it do ?

    I have many script files do a lot of things, just for some cases, it fails and cause others ..


    MOD : seems no solution, you can delete this topic ... Thanks
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Script Error and stop running

    Post by SLGray February 24th 2018, 8:18 pm

    What you describe is not the scripts failing, but members blocking scripts in their browsers.



    Script Error and stop running Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is November 13th 2024, 6:19 pm