gussielotter
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP-Admin.php cannot be foundThank 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!
Forum: Fixing WordPress
In reply to: WP-Admin.php cannot be foundHi. 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.
Forum: Fixing WordPress
In reply to: Adding Script to ButtonHi
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>
Forum: Everything else WordPress
In reply to: Login Panel without RegistrationThanks. I’ll give it a try.