Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter Eff Of X

    (@agentc0re)

    Tom, thank you for getting back with me!

    I understand that it’s outside the scope of support. Im sorry if I posted in the wrong place. I really wasn’t sure if it might have been possible that these were potentially pro features with some support included. I would be more than willing to pay for a pro license too if it would better help me get to the end result.
    Is this recommended?

    Thread Starter Eff Of X

    (@agentc0re)

    Okay, well assuming my code is fine why would ‘result’ return null in checkout.js?

    $.ajax({
    					type:		'POST',
    					url:		wc_checkout_params.checkout_url,
    					data:		$form.serialize(),
    					dataType:   'json',
    					success:	function( result ) {
    						try {
    							if ( result.result === 'success' ) {
    								if ( -1 === result.redirect.indexOf( 'https://' ) || -1 === result.redirect.indexOf( 'https://' ) ) {
    									window.location = result.redirect;
    								} else {
    									window.location = decodeURI( result.redirect );
    								}
    							} else if ( result.result === 'failure' ) {
    								throw 'Result failure';
    							} else {
    								throw 'Invalid response';
    							}
    						} catch( err ) {
    							// Reload page
    							if ( result.reload === 'true' ) {
    								window.location.reload();
    								return;
    							}
    
    							// Trigger update in case we need a fresh nonce
    							if ( result.refresh === 'true' ) {
    								$( document.body ).trigger( 'update_checkout' );
    							}
    
    							// Add new errors
    							if ( result.messages ) {
    								wc_checkout_form.submit_error( result.messages );
    							} else {
    								wc_checkout_form.submit_error( '<div class="woocommerce-error">' + wc_checkout_params.i18n_checkout_error + '</div>' );
    							}
    						}
    					},
    					error:	function( jqXHR, textStatus, errorThrown ) {
    						wc_checkout_form.submit_error( '<div class="woocommerce-error">' + errorThrown + '</div>' );
    					}
    				});
    Thread Starter Eff Of X

    (@agentc0re)

    Here is my index.php. I was having trouble posting it here as code.

    https://pastebin.com/mxv1R6c6

    Thread Starter Eff Of X

    (@agentc0re)

    Yes I’ve disabled plugins to no avail.

    Here’s where i think the problem lies. The print aura plugin issues had issues with how i do dynamic php inclusion. GET requests were being feed “page=blog”
    blog is actually blog.php which is just renamed index.php for wordpress to work from a sub-dir.

    Im wondering if i’m blocking a page from being displayed somehow?

    Thread Starter Eff Of X

    (@agentc0re)

    I have worked with the devs of the PrintAura plugin and have since resolved their issues but I am still having the same problem.

    Problem is, no error outputs in any logs now.

    Console debugging:
    https://gyazo.com/33d35ab6ef3f20df4cc2ce10b0084b07

    These two errors are for two separate issues.

    1) XMLHTTPREQUEST Cannot Load error.
    This happens when I have the terms & conditions checkmarked on my page and attempt to use paypal as a method of payment.

    2)Uncaught TypeError
    This happens when i do NOT have the terms & conditions check marked.

    https://agentc0re.com/Blog/Merchandise/

    To confirm you can add the TEST item i have to the cart and attempt to check out. First “forget” about checking the terms and conditions check box. Then see the error in the dev console. Next Check that box, choose paypal and attempt to check out.

    I really dunno what is going on here.

    OMG i accidentally double clicked post and it double posted my reply!! SORRRY!!

    I am going to assume a few things here. Your redirects were made in your .htaccess files either at your web root &/or your WP directory. What you need to do for the

    RewriteRule STUFFHERE [L]

    Is add [L,R=301] to the redirect rule. R=301 tells it that it’s a permanent redirect instead of a temporary one.

    Next, you might need to regenerate a new sitemap.xml. That will be a file that is sitting at your directory root. There are plenty of sites that will help you in generating one. Next you would need to log into Googles Webmaster tools(hopefully you already have this setup) click on your site and then on the left side where the navigation pane is, i believe it’s under crawl -> sitemap. tell google to read your new one. This might help in removing the old pages from googles index. You might need to do this process for the old site as well, but use the new sitemap for it.

    My second assumption is that you have no rewriterules setup in a .htaccess file. If that’s the case, let me know and then i’ll try to help you out with that. ??

    I am going to assume a few things here. Your redirects were made in your .htaccess files either at your web root &/or your WP directory. What you need to do for the

    RewriteRule STUFFHERE [L]

    Is add [L,R=301] to the redirect rule. R=301 tells it that it’s a permanent redirect instead of a temporary one.

    Next, you might need to regenerate a new sitemap.xml. That will be a file that is sitting at your directory root. There are plenty of sites that will help you in generating one. Next you would need to log into Googles Webmaster tools(hopefully you already have this setup) click on your site and then on the left side where the navigation pane is, i believe it’s under crawl -> sitemap. tell google to read your new one. This might help in removing the old pages from googles index. You might need to do this process for the old site as well, but use the new sitemap for it.

    My second assumption is that you have no rewriterules setup in a .htaccess file. If that’s the case, let me know and then i’ll try to help you out with that. ??

    Thread Starter Eff Of X

    (@agentc0re)

    Alrighty! Disabled all plugins, switched to Twenty Fifteen Theme and….. It still happens. :(((((( epic sad face.

    For the time being i will leave all my plugins disabled while we trouble shoot this as a precaution.
    Thanks!
    -Jon

    Plugin Author Eff Of X

    (@agentc0re)

    Try just selecting Today and This month.

    Does it say “No Data” or 0?

    Plugin Author Eff Of X

    (@agentc0re)

    In the plugin settings what do you have checked to display? If it’s today and month, login to google adsense(above the admin widget is a link to click on to take you there) and display today and month. Do those show stats for feeds?

    On think i’ve noticed about a “new day” is on the today stats, they will be Null until activity and then values will display.

    Oh and sorry about the 3 week lag… I noticed today that they finally have a notify by email option…….unless i’ve missed that all along. :/

    Plugin Author Eff Of X

    (@agentc0re)

    I’ve found a minor issue with the way how I set it up to parse the data from the website. Lets say you have data on Content and Feeds but not Search, then the data for Feeds gets shown under Search. The reason for this is because there was nothing signifying that the specific data from any category was from that category. At the time I was just relying on order but later found out, that doesn’t really work unless data exists for everything down the line.

    I’ve had quite a rough year so far this year, at least during the beginning of the year, and also just started school. I really want to get this fixed and did start on it but I can’t tell you when I will get it done. Good news is that, the data is there you just have to know when to recognize if it’s Search or Feeds. And if you don’t have search setup, i guess it’s pretty easy.

    Okay, I think I’ve figured out the puzzle to this mystery. You don’t have ‘–with-curlwrappers’ enabled, it’s just ‘–with-curl’.

    https://learnix.net/phpinfo.php

    Would you mind posting a link of your phpinfo() for me please? I would just like to confirm one thing.

    I’m wondering if curl is just a bad choice to do this with as it seems like there are more with hosts like yours that run into problems. I could maybe do fopen or something else, i’m not sure. I’ll have to look into it.

    Also make sure in your php.ini that open_basedir is commented out “;open_basedir =” or something to that effect.

Viewing 15 replies - 1 through 15 (of 20 total)