PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Change Wordpress URL and Now Form Confirmation Page Blank

  1. Hello,

    I changed the URL from a sub folder to root and now my confirmation text page comes up blank. The form does submit so all that is working. I can set a redirect page and that works. Just the text confirmation page is blank. I did try the meta fix tool, it stated successful but didn't help issue. I even deleted form and recreated not help. Any help would be appreciated.

    form link
    http://www.sakurabudokan.com/contact-us

    Thanks Jeff

    Posted 12 years ago on Saturday July 14, 2012 | Permalink
  2. I also Deleted all forms and did an import from the export I did before the reload of wordpress in the root. This still did not help.

    Posted 12 years ago on Saturday July 14, 2012 | Permalink
  3. Jeff, if you changed the URL of the website, the forms will all stop working. I'm assuming you followed all the proper procedures for changing the WordPress URL.

    That said, when you change the URL, the URL in the forms (stored in the database) does NOT change, and if you do a simple search and replace, the serialized values will get messed up, causing the forms to stop working as well.

    Did you do a search and replace on the database already to change the URL? We need to see how far you have gotten with this.

    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  4. My procedure was I installed wordpress fresh and ran import of forms. I only imported pages and posts to wordpress everything in else was rebuild.

    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  5. Can you see if the correct URL is stored inside the Gravity Forms tables (wp_rg_ prefix normally, if you use wp_ as your database prefix)? Can you dump all the wp_rg_ tables in phpMyAdmin or equivalent? We need to see if the URL is correct, and then if the serialized values are correct.

    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  6. The urls seem to be correct.

    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  7. You said "Just the text confirmation page is blank." Is that active now, or do you have a redirect in place now? I submitted the form and ended up on this page which looked like this.

    If you are trying to troubleshoot the text confirmation, please put that online please so we can take a look.

    I did, however, notice a JavaScript error which could be related to reloading the page with a text confirmation on it. Line 127 of the source of this page.

    Error:

    Timestamp: 7/14/2012 9:27:19 PM
    Error: event is not defined
    Source File: http://www.sakurabudokan.com/contact-us
    Line: 127

    This is the offender:

    [js]
    	<script language="JavaScript" type="text/javascript">
    
    	   <!--
    	   function click() {
    127:   if (event.button==2) {
    	   alert('Sakura Budokan. All rights reserved!');
    	   }
    	   }
    	   document.onmousedown=click
    	   // -->
    
    	</script>
    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  8. I may have mislead you on the URL and meta and serialized values. Ignore that for now. I think it's unrelated at this point.

    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  9. I did have a redirect in place. I removed the other code, but I was not getting java errors.

    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  10. Took code out still blank page

    Posted 12 years ago on Sunday July 15, 2012 | Permalink
  11. Chris, what if I delete the tables and then reload plugin? I can rebuilt form from scratch.

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  12. David Peralty

    Seems to be working now. Did you change anything? I just tested it and was redirected to a confirmation page.

    http://www.sakurabudokan.com/contact-us-confirmation

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  13. I added the the redirect because it wasn't working as text.

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  14. David Peralty

    Very strange. If you want me to take a look at it, can you e-mail me an admin login to peralty@rocketgenius.com as well as a link to this thread. I can try to sort out why the confirmation text wasn't working, but the redirect is...

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  15. Jeff, I would not delete and reinstall. It should not be difficult to find the source of the problem here.

    Also, can you embed a simple form with the text confirmation in a page and share that link with us. We need to see the non-working functionality rather than viewing the work around. Thank you.

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  16. Chris, I switch the contact form back to text.

    http://www.sakurabudokan.com/contact-us

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  17. OK, I submitted a test and I see what is happening now. You are going to need to display errors to the screen or find your PHP error log. There is probably an error which prevents the page from loading completely. If you look at the page source after submitting the form, you will see there is no output after:

    <div class="entry-content">

    BUT, we don't know why. So, you will need to display PHP errors to the screen or find your host's PHP error logs. The error which is preventing the page from loading will likely be there. You may have to contact your host for assistance.

    Did you already check for theme and plugin conflicts? http://rkt.gs/testing

    Does the text confirmation load fine in the form preview?

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  18. I did try disabling all plugins and the theme works fine on another site with gravity forms. Still fails

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  19. Have you been able to access the errors, either by logging them or displaying them to the screen? We can see there is a problem but we need to know what is causing it so we can resolve the problem. Let us know if you can view PHP error logs or if you can display the error to the screen, please post it here. Thank you.

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  20. Error trapped: STRICT(2048), Non-static method GFCommon::all_caps() should not be called statically
    /home/clong/public_html/wp-content/plugins/gravityforms/gravityforms.php[669]

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  21. Thank you for posting that. That is a PHP warning but should not stop the processing of the page, unless your server is configured to stop on all warnings. Can you post a link to your phpinfo() or send a link to phpinfo to chris@rocketgenius.com - thank you.

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  22. One other behavior I have notice is that when it goes to the confirmation page which is blank. If i hit refresh on the page it creates another entry for each refresh.

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  23. I figured it out it was a conflict with a plugin called Simple eCommerce. I deactivated it only and it worked. Now I just have to fix it some how.

    This was the error generated in the error log:
    [16-Jul-2012 21:16:39 UTC] PHP Fatal error: Class 'SimpleEcommCartGravityReader' not found in /home/clong/public_html/wp-content/plugins/simple-e-commerce-shopping-cart/models/SimpleEcommCartShortcodeManager.php on line 447

    Posted 12 years ago on Monday July 16, 2012 | Permalink
  24. David Peralty

    Glad to hear you figured it out. Good luck in solving the ecommerce stuff. I hope the developer can help you with that.

    Posted 12 years ago on Monday July 16, 2012 | Permalink

This topic has been resolved and has been closed to new replies.