Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gussielotter

    (@gussielotter)

    Thank you. Yes, it was indeed the missing user roles which caused the issue. Just for interest sake – when you migrate your database from WordPress.com, there seems to be no wp_user_roles in the tables, so we copied it over from a fresh WordPress install. Voila – problem solved!

    Thread Starter gussielotter

    (@gussielotter)

    Hi. Perhaps I need to clarify: I also get this error when trying to access it it via https://zestyswimwear.com/wp-admin – the message is: “Sorry, you are not allowed to access this page.”.
    Also after logging in, it takes me to the home page with no dashboard access.
    So in other words, I have no access to the Dashboard.

    • This reply was modified 5 years, 6 months ago by gussielotter.
    Thread Starter gussielotter

    (@gussielotter)

    Hi

    Thanks for the reply. Let me just clarify – here is my script. Must I add it to the JS file after the // or must I replace the whole line: // your scripts here

    Sorry, not a javascript expert.

    <script language=”JavaScript” type=”text/javascript”>

    function click_30ef326adb4cf4078246ffe3f7e6c41c( aform_reference ) {
    var aform = aform_reference;
    aform[‘amount’].value = Math.round( aform[‘amount’].value*Math.pow( 10,2 ) )/Math.pow( 10,2 );
    aform[‘custom_amount’].value = aform[‘custom_amount’].value.replace( /^\s+|\s+$/g,”” );
    if( !aform[‘custom_amount’].value || 0 === aform[‘custom_amount’].value.length || /^\s*$/.test( aform[‘custom_amount’].value ) ) {
    alert ( ‘An amount is required’ );
    return false;
    }
    aform[‘amount’].value = Math.round( aform[‘custom_amount’].value*Math.pow( 10,2 ) )/Math.pow( 10,2 );
    }

    </script>

    Thread Starter gussielotter

    (@gussielotter)

    Thanks. I’ll give it a try.

Viewing 4 replies - 1 through 4 (of 4 total)