JMAConsulting / biz.jmaconsulting.mte

Mandrill Emails Extension for CiviCRM
10 stars 21 forks source link

Fatal error: Class 'CRM_Core_Page' not found #1

Closed RowboTony closed 12 years ago

RowboTony commented 12 years ago

Hello, I installed this extension today and wanted to check the url to see if it worked, I'm not sure if this is supposed to happen or not. I setup the extension per the README file, and went to the URL to check if it works just in a web browser. Should this be throwing an error when I go straight to the URL? Or do I have something misconfigured? Is it perhaps only accessible via the mandrillapp when mandrill calls the page? Just trying to understand and make sure I've gotten everything setup correctly.

webhook url: http://www.mysite.org/sites/all/civicrm_extensions/biz.jmaconsulting.mte/CRM/Mte/Page/callback.php

Fatal error: Class 'CRM_Core_Page' not found in /home/mysite/www/www/sites/all/civicrm_extensions/biz.jmaconsulting.mte/CRM/Mte/Page/callback.php on line 31

I put my CiviCRM extensions in sites/all/civicrm_extensions, should I have put it in sites/all/modules/Extensions/?

Thank you, --Tony

pradpnayak commented 12 years ago

Hi

Here are the steps to get Mandrill extension working for civicrm 4.2

I could not update the README file as my PC got formatted and i lost my RSA key. So could not commit on github repository. :-(

Thanks Pradeep

On Tuesday 04 September 2012 10:38 PM, tgroff wrote:

Hello, I installed this extension today and wanted to check the url to see if it worked, I'm not sure if this is supposed to happen or not. I setup the extension per the README file, and went to the URL to check if it works just in a web browser. Should this be throwing an error when I go straight to the URL? Or do I have something misconfigured? Is it perhaps only accessible via the mandrillapp when mandrill calls the page? Just trying to understand and make sure I've gotten everything setup correctly.

webhook url: http://www.mysite.org/sites/all/civicrm_extensions/biz.jmaconsulting.mte/CRM/Mte/Page/callback.php

|Fatal error: Class 'CRM_Core_Page' not found in /home/mysite/www/www/sites/all/civicrm_extensions/biz.jmaconsulting.mte/CRM/Mte/Page/callback.php on line 31|

I put my CiviCRM extensions in |sites/all/civicrm_extensions|, should I have put it in |sites/all/modules/Extensions/|?

Thank you, --Tony

— Reply to this email directly or view it on GitHub https://github.com/JMAConsulting/biz.jmaconsulting.mte/issues/1.

JoeMurray commented 12 years ago

BTW, Tony, thanks very much for testing this out, and please let us know how it goes for you, and if you have any more issues or suggestions.

RowboTony commented 12 years ago

Done deal! The instructions you provided worked great, I'm up and running! I'll keep an eye on it over the next few weeks and report any other issues I may encounter. We're a very low-volume site, we don't send much mail, so I'll let you know how it goes.

Thank you! --Tony

mcternan commented 11 years ago

Sorry to re-open this issue, but do you think you could elaborate on the instructions.

They are a little unclear and the formatting appears broken.

I have tried following, based on what is in this thread, but am still receiving the same error ("Fatal error: Class 'CRM_Core_Page' not found in ").

Cheers,

Conor