• Tim

    (@tjalexander70)


    I have used this plugin for years without a problem. Today, I went to update the code injected into the header and when saving received an Internal Server Error. It seems to work otherwise. I just can’t save changes. Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    The reason for an internal server error, should be logged with explanations on your server error.log file. Usually, it is available in the cpanel or you can ask the provider to extract it.

    Stefano.

    I am having the same issue. Used for years. Now getting an internal server error.

    I am trying to get the server error log. It is not easy for those of us with shared hosting.

    Mine only occurs when I include a Javascript for a map.

    For now, I have manually edited the template.

    Here is the Javascript:

    `<!– Javascript for map –>

    <script type=”text/javascript” src=”https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js”></script&gt;
    <script type=”text/javascript”>
    $(document).ready(function () {
    $(‘#nav > li > a’).hover(function(){
    if ($(this).attr(‘class’) != ‘active’){
    $(‘#nav li ul’).slideUp();
    $(this).next().slideToggle();
    $(‘#nav li a’).removeClass(‘active’);
    $(this).addClass(‘active’);
    }
    });
    });
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf(“?”))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    </script>

    Plugin Author Stefano Lissa

    (@satollo)

    If you have an error while saving, almost surely is a provider filter blocking the kind of content you’re saving. Ask them for such a filter, could be by mod_secure.

    Stefano.

    I have the same problem. Not sure but I think it has to do with PHP Version 8+. Can you please check if that’s the case? Thanks in advance!

    Plugin Author Stefano Lissa

    (@satollo)

    Try to downgrade PHP, I do have not a test env right now to test the latest PHP. But this should not the case, the plugin does nothing special to be incompatible with PHP 8.

    If you enable the PHP execution on Head and Footer, try to disable it.

    Stefano.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Internal Server Error’ is closed to new replies.