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 »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Fatal error post-install 'success'
Pages: [1]

Author Topic: Fatal error post-install 'success'  (Read 2635 times)

slow

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2 with Wordpress
  • CMS version: Wordpress 3.3.2
  • MySQL version: Unknown
  • PHP version: 5.3
Fatal error post-install 'success'
May 24, 2012, 03:44:16 pm
Hi

I've just done an install of CiviCRM in a new install of Wordpress 3.3.2

I managed eventually to get through to the 'successful install' stage, but then when I tried to click on 'check configuration' I get sent to a blank browser with this error message:

Quote
Warning: invalid error callback in /home/dilemma/public_html/blog/wp-content/plugins/civicrm/civicrm/packages/PEAR.php on line 350

Fatal error: Class 'CRM_Core_PseudoConstant' not found in /home/dilemma/public_html/blog/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/ConfigSetting.php on line 134

I have also tried clicking on the main CiviCRM button in the Wordpress menu down the left hand side, and get sent to the same error page.

I have had the following response from my very, very helpful server support team, who solved every other hiccup in this install for me with ease:

Quote
This appears to be from a misconfiguration or an issue with the script itself, it is trying to find a class and not having luck. Just from the looks of it it would appear this is a pear script, its likely that the include path has not been set appropriately by the script to allow for automatic loading of classes.

In this case the issue and the fix are highly dependent on this particular script. I would suggest checking with the CiviCRM community for anyone else who may have had similar issues. A quick google search of the error shows a large number of other sites that have this same problem (though I did not see any apparent fix, just a number of sites with this problem).

Any ideas?!

Thanks ; )

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error post-install 'success'
May 24, 2012, 04:13:17 pm

can u add a require_once 'CRM/Core/PseudoConstant.php' on line 133 in /home/dilemma/public_html/blog/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/ConfigSetting.php

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

slow

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2 with Wordpress
  • CMS version: Wordpress 3.3.2
  • MySQL version: Unknown
  • PHP version: 5.3
Re: Fatal error post-install 'success'
May 25, 2012, 08:59:08 am
Hi lobo

Thanks for your reply.

I am not too proficient at mucking around within files, so can I check for a bit more detail regards where & what to put?

I can only open this file in Notepad, and it has no line numbers, so where would I insert the code you gave me?

Do I literally just paste that in, as it is, on its own line:

require_once 'CRM/Core/PseudoConstant.php

or is this a variable / value I'm putting inside an existing action / command?

Apologies for the level of help needed here, I'm only supposed to be trialling the software from a back office user perspective but no one could get it to install so it's down to me ;)

Best wishes

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error post-install 'success'
May 25, 2012, 09:12:20 am

Might want to see if u can get help from someone who is familiar with editing files.

Dont know much about windows, but check if notepad has a line number option. U need that. Once u find that, do and add the line i mentioned as line #133

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

slow

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2 with Wordpress
  • CMS version: Wordpress 3.3.2
  • MySQL version: Unknown
  • PHP version: 5.3
Re: Fatal error post-install 'success'
May 25, 2012, 09:18:32 am
Thanks for your quick reply.

My server support guys added the line for me (they are heaven-sent!), but I'm still getting the same error.

In light of my limitations in both knowledge & software, and since they are empty Wordpress and CiviCRM installs, would it be simpler to PM you the login(s) to see the issue?

slow

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error post-install 'success'
May 25, 2012, 09:23:41 am

Sorry, not sure whats happening onyour site and why. We've had quite a few successful WP installs on a few different hosting platforms

You might want to hire someone from http://civicrm.org/what/experts to help you out

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

slow

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2 with Wordpress
  • CMS version: Wordpress 3.3.2
  • MySQL version: Unknown
  • PHP version: 5.3
Re: Fatal error post-install 'success'
May 25, 2012, 09:27:48 am
Hi

Well all i want to do is install it to check out the back end, as a volunteer, on behalf of a non-profit - I've said i could give some time to it, but they don't have money to put in at this stage, they're simply trying to work out which piece(s) of software might meet their needs, then they will fundraise to pay for the work to be done.  At this stage it's just exploring options, and I'm used to setting things up once the software is in place.

Does this mean there would be little point in posting on this issue any further, as support will need to be paid for?  Just checking I'm understanding this correctly ;)

Best wishes

slow

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error post-install 'success'
May 25, 2012, 09:34:47 am

Someone else from the community might be able to help out and respond to this thread with some suggestions

If you want someone to login and investigate the issue, then i suspect u might need to hire someone to do so

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

slow

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2 with Wordpress
  • CMS version: Wordpress 3.3.2
  • MySQL version: Unknown
  • PHP version: 5.3
Re: Fatal error post-install 'success'
May 25, 2012, 10:05:49 am
Ah ok, thanks for clarifying ;)

Hopefully someone will see the post & have come across this error before.  My server support guys are happy to login & make changes for me, once I know what needs doing, so between us it should work out.

CiviCRM seems to have all the functionality the organisation needs, so I really hope we can resolve this install issue so they can get on to an efficient system and away from the dark ages of sending emails in batches of 200 every month and the like!

Thanks again ;)

slow

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2 with Wordpress
  • CMS version: Wordpress 3.3.2
  • MySQL version: Unknown
  • PHP version: 5.3
Re: Fatal error post-install 'success'
May 25, 2012, 10:07:41 am
Update:

Just had this message from my hosting support guys:

Quote
On closer investigation, I have found that the file that should contain the class that it can't find (/home/dilemma/public_html/blog/wp-content/plugins/civicrm/civicrm/CRM/Core/PseudoConstant.php) and several other files in that directory, are empty. It looks like the upload of the plugin may have failed.[/quote

I'll have a look later & see if the files I downloaded were empty, or if something went wrong with the ftp upload.


slow

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2 with Wordpress
  • CMS version: Wordpress 3.3.2
  • MySQL version: Unknown
  • PHP version: 5.3
Re: Fatal error post-install 'success'
May 25, 2012, 11:03:50 am
Think the problem could be that there wasn't enough disk space free at the time of the upload, hence the empty files.

I'll re-install with more disk space and update this post afterwards - might help someone else ;)

slow

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2 with Wordpress
  • CMS version: Wordpress 3.3.2
  • MySQL version: Unknown
  • PHP version: 5.3
Re: Fatal error post-install 'success'
May 26, 2012, 12:08:51 pm
I've been looking in to this further, and it turns out that there were a lot of empty files in the original download from source forge.

Each of these files is empty:
./civicrm/packages/dompdf/lib/ttf2ufm/src/encodings/latin4/iso8859-4.tbl
./civicrm/packages/dompdf/lib/ttf2ufm/src/encodings/latin4/iso8859-4
./civicrm/packages/dompdf/lib/ttf2ufm/src/encodings/latin5/iso8859-9
./civicrm/packages/dompdf/lib/ttf2ufm/src/encodings/adobestd/adobe-std.tbl
./civicrm/packages/dompdf/lib/ttf2ufm/src/encodings/latin1/iso8859-1.tbl
./civicrm/packages/dompdf/lib/ttf2ufm/src/encodings/latin2/iso8859-2.tbl
./civicrm/packages/dompdf/lib/ttf2ufm/src/CHANGES
./civicrm/api/v3/examples/EntityTagGet.php
./civicrm/CRM/Core/PseudoConstant.php
./civicrm/CRM/Core/SelectValues.php
./civicrm/CRM/Core/Page.php
./civicrm/CRM/Core/Lock.php
./civicrm/CRM/Core/Payment.php
./civicrm/CRM/Core/Menu.php
./civicrm/CRM/Core/TableHierarchy.php
./civicrm/CRM/Core/Smarty.php
./civicrm/CRM/Core/OptionValue.php
./civicrm/CRM/Core/Transaction.php
./civicrm/CRM/Core/ScheduledJob.php
./civicrm/CRM/Core/OptionGroup.php
./civicrm/CRM/Core/StateMachine.php
./civicrm/CRM/Core/ShowHideBlocks.php
./civicrm/CRM/Core/Permission.php
./civicrm/CRM/Core/Key.php
./civicrm/CRM/Core/Session.php
./civicrm/CRM/Core/State.php
./civicrm/CRM/Core/Joomla.php
./civicrm/CRM/Import/Form/UploadFile.php

Is there another place I can download CiviCRm for Wordpress?

Thanks ;)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error post-install 'success'
May 26, 2012, 02:28:50 pm

I did a quick download of the 4.1.2 download file for WP and most of the files in CRM/Core/*.php are not ZERO length and seem valid.

I suspect there might be an issue on your server

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

slow

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2 with Wordpress
  • CMS version: Wordpress 3.3.2
  • MySQL version: Unknown
  • PHP version: 5.3
Re: Fatal error post-install 'success'
May 27, 2012, 05:16:00 am
Thanks for checking this.

I downloaded 4.1.2 again and this time unzipped it on the server.  There were no problems, and the install went smoothly.

Thanks for your patience ; )

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Fatal error post-install 'success'

This forum was archived on 2017-11-26.