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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
Pages: [1]

Author Topic: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1  (Read 2730 times)

mr6volt

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.2
  • PHP version: 5
Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 24, 2011, 11:13:34 pm
A little history...

After installing Alpha 2 initially, i create a test contribution page to learn the system. While the page WORKS. The widget i enabled when creating the page only gives me a strange blue icon with no text. Code generator bug???

Now, after the upgrade to Beta1, contribution pages are BLANK. It shows the wordpress theme, and a note stating "Posted on December 22, 2011 by admin" and that's IT.

Also, the existing contribution pages cause 500 Server errors.

I also tried deleting the wordpress plugin COMPLETELY, and started fresh with Beta1. No dice. No more 500 Errors, but the contribution pages behave the same way.

I have made sure that the folder/file ownership and permissions match everything else in the plugin directory. I'm also running the latest version of Wordpress(3.3)

Is this a known issue, or will you need additional information to troubleshoot?

Thanks!

mr6volt

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.2
  • PHP version: 5
Re: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 25, 2011, 09:39:56 am
The plot thickens...

I decided to wipe out civicrm completely. Deleted the civicrm directory, and the database.

After starting fresh with Beta1, i get the following error when trying to make a contribution page:

The website encountered an error while retrieving http://<ADDRESS>/wordpress/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/contribute/add&reset=1&action=add. It may be down for maintenance or configured incorrectly.

Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

I re-verified that permissions are set correctly in all my directories and files. This is also after i did the initial configuration.

Any clues?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 25, 2011, 10:31:32 am
After "HTTP Error 500" there should be an error recorded in the server logs. Can you see what it is?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

mr6volt

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.2
  • PHP version: 5
Re: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 25, 2011, 12:06:31 pm
Apache Logs?

mr6volt

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.2
  • PHP version: 5
Re: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 25, 2011, 12:12:25 pm
Here is what appears to be the related error message in /var/logs/apache2/error.log:

[Sun Dec 25 20:08:56 2011] [error] [client <IP ADDRESS>] PHP Parse error:  syntax error, unexpected T_VARIABLE, expecting ')' in /var/www/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Grant/BAO/Query.php on line 271
[Sun Dec 25 20:08:56 2011] [error] [client <IP ADDRESS>] File does not exist: /var/www/favicon.ico
root@<AWS NAME>

This error is generated when i try to go here(By clicking New Contribution Page): /wordpress/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/contribute/add&reset=1&action=add

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 25, 2011, 12:16:16 pm
There is a bug there. If you edit that file you will see this code:

Code: [Select]
    static function defaultReturnProperties( $mode
                                             $includeCustomFields = true )


You need to add a comma after $mode:
Quote
    static function defaultReturnProperties( $mode,
                                             $includeCustomFields = true )

and it should be OK.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

mr6volt

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.2
  • PHP version: 5
Re: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 25, 2011, 12:41:21 pm
Thanks! I will make the change and let you know if it clears it up.

I assume this will be corrected in the next Beta release?

mr6volt

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.2
  • PHP version: 5
Re: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 25, 2011, 12:48:59 pm
Awesome! It works now!!!

The page even loads the wordpress toolbar at the top this time!

Also, the widget still shows up as a blank blue box... Does it require something more to make it display information?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 25, 2011, 10:12:57 pm
Quote from: mr6volt on December 25, 2011, 12:48:59 pm
Also, the widget still shows up as a blank blue box... Does it require something more to make it display information?

I don't think so, but I would suggest you post a fresh ticket about that item. Although first search here because I think there have been recently other tickets about this widget failing...
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1
December 29, 2011, 05:39:10 am
Quote
Also, the widget still shows up as a blank blue box... Does it require something more to make it display information?

This is very strange. Can you post screenshot?

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • Wordpress upgrade from 4.1 Alpha 2 to 4.1 Beta1

This forum was archived on 2017-11-26.