CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Contribution forms blank after 4.3.3 -> 4.4.6 upgrade
Pages: [1]

Author Topic: Contribution forms blank after 4.3.3 -> 4.4.6 upgrade  (Read 515 times)

iandees

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.9.2
  • MySQL version: 5.5.38
  • PHP version: 5.3.10
Contribution forms blank after 4.3.3 -> 4.4.6 upgrade
September 03, 2014, 12:25:44 pm
After upgrading from CiviCRM 4.3.3 to 4.4.6 my contribution form is blank. Other than this, the upgrade process appears to have worked without a hitch. When I turn exceptions on I don't see any exceptions displayed.

Any ideas for where to look to debug this further?

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Contribution forms blank after 4.3.3 -> 4.4.6 upgrade
September 04, 2014, 01:01:09 am
Typically, if a blank page appears, an error has occured, and should  be displayed or logged somewhere.  Have you checked all the logging / show errors settings in PHP and Apache, etc.? A bit of googling should help you find out where these are (hard for me to point you in the right direction since it depends on your server set up).
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

iandees

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.9.2
  • MySQL version: 5.5.38
  • PHP version: 5.3.10
Re: Contribution forms blank after 4.3.3 -> 4.4.6 upgrade
September 04, 2014, 06:36:03 am
I can't seem to find any CiviCRM logs. The wiki doesn't seem to know where the log would be for the WordPress plugin:

http://wiki.civicrm.org/confluence/display/CRMDOC/Debugging+for+developers#Debuggingfordevelopers-Logfiles

My nginx error logs are empty.

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Contribution forms blank after 4.3.3 -> 4.4.6 upgrade
September 05, 2014, 02:53:42 am
Did you try looking in the PHP logs?

Are you able to get any errors displayed on the screen? Might be worth intentionally creating an error and ensuring that you can see that displayed on the screen.

If not, have a look at PHP error logging and ensure it has sensible defaults (display_errors, etc.)
« Last Edit: September 05, 2014, 02:55:57 am by Michael McAndrew »
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: Contribution forms blank after 4.3.3 -> 4.4.6 upgrade
September 05, 2014, 05:20:42 am
On a slightly different tack, I'd review your contribution form settings, the amount sections especially. I had a similar experience and it turned out to be some combination of settings that didn't upgrade to a valid set of options (basically, the amount was missing).

iandees

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.9.2
  • MySQL version: 5.5.38
  • PHP version: 5.3.10
Re: Contribution forms blank after 4.3.3 -> 4.4.6 upgrade
September 05, 2014, 06:11:08 am
Quote from: Michael McAndrew on September 05, 2014, 02:53:42 am
Did you try looking in the PHP logs?

Are you able to get any errors displayed on the screen? Might be worth intentionally creating an error and ensuring that you can see that displayed on the screen.

If not, have a look at PHP error logging and ensure it has sensible defaults (display_errors, etc.)

I was able to create a PHP error from within the civicrm.php Wordpress plugin page by executing a function that didn't exist. I saw that get logged to my ngnix log.

I narrowed the problem down to this bit of code:
Code: [Select]
   
if ( $this->isPageRequest() && !in_the_loop() && !is_admin() ) {
      return;
}

I put a print in there above the return statement like so:
Code: [Select]
if ( $this->isPageRequest() && !in_the_loop() && !is_admin() ) {
      print "isPageRequest=".$this->isPageRequest().", in_the_loop=".in_the_loop().", is_admin=".is_admin();
      return;
}

and on pages that are blank I get the following:
"isPageRequest=1, in_the_loop=, is_admin="

Looks like Wordpress is broken maybe?

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Contribution forms blank after 4.3.3 -> 4.4.6 upgrade
September 08, 2014, 12:28:56 am
Getting there :)

I'm not a wordpress person so not really able to help here - sorry. Hopefully someone else will be able to...
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Contribution forms blank after 4.3.3 -> 4.4.6 upgrade

This forum was archived on 2017-11-26.