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 »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Same server and it worked for 5 other site but now
Pages: [1]

Author Topic: Same server and it worked for 5 other site but now  (Read 2582 times)

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Same server and it worked for 5 other site but now
March 03, 2008, 09:32:34 am
when I go to do it on this site it break...I can not make any payment processor (not even a dummy one) it just dumps this once I click Globals-->Payment Processors
CiviCRM 1.9.11960
Code: [Select]
/var/www/web42/web/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 255
/var/www/web42/web/sites/all/modules/civicrm/CRM/Admin/Form/PaymentProcessor.php, fatal, 77
/var/www/web42/web/sites/all/modules/civicrm/CRM/Core/Form.php, preProcess, 283
/var/www/web42/web/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php, buildForm, 98
/var/www/web42/web/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
/var/www/web42/web/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
/var/www/web42/web/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 220
/var/www/web42/web/sites/all/modules/civicrm/CRM/Core/Page/Basic.php, run, 326
/var/www/web42/web/sites/all/modules/civicrm/CRM/Core/Page/Basic.php, edit, 171
/var/www/web42/web/sites/all/modules/civicrm/CRM/Admin/Page/PaymentProcessor.php, run, 121
/var/www/web42/web/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 702
/var/www/web42/web/sites/all/modules/civicrm/CRM/Core/Invoke.php, admin, 96
/var/www/web42/web/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 319
, civicrm_invoke,
/var/www/web42/web/cms/includes/menu.inc, call_user_func_array, 418
/var/www/web42/web/index.php, menu_execute_active_handler, 21
The one odd part is the "cms" in the second line above.
It is an old path I use to use and still is there thanks to symlinks but though I cleaned out of all my civi settings.
Pretty basic request so I am suprised it is not working.
This server host about 5 other civi install so I know it is not there server.
Al

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: Same server and it worked for 5 other site but now
March 03, 2008, 02:02:17 pm

menu.inc is a drupal file so seems like you might be having a path issue in your drupal settings file (or something like that). you might want to remove the cms directory from you web root and check what happens

Are you sure u get the error when u click on payment processors? or did u click on add a payment processor? if so, can u let us know the url on your browser. The code cannot seem to find some "meta information" about the payment processor

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

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Same server and it worked for 5 other site but now
March 03, 2008, 02:10:46 pm
Thanks.  Still a prob same error as before but NO cms once I removed the symlink. 
Yes the error happens when I press 'add one' not when I press payment processor.

I even copied over another civi folder (same ver) to see if maybe something was wrong there.
« Last Edit: March 03, 2008, 02:19:40 pm by alfred_nutile »

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: Same server and it worked for 5 other site but now
March 03, 2008, 02:32:40 pm

whats the url u see in the browser?

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

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Same server and it worked for 5 other site but now
March 03, 2008, 02:43:16 pm
http://www.nationalpriorities.org/civicrm/admin/paymentProcessor?action=add&reset=1&pp=PayPal

I made a dummy one just now by inserting the two needed lines I got from a working database.

Same problem
Just curious though.
« Last Edit: March 03, 2008, 02:57:15 pm by alfred_nutile »

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Same server and it worked for 5 other site but now
March 03, 2008, 03:00:26 pm
Think I got it. BUT read on
I went and looked at a working datbase of it and noticed my
paypment_processor_type table was empty
So I took the working ones data
Code: [Select]
INSERT INTO `civicrm_payment_processor_type` VALUES (1, 1, 'Dummy', 'Dummy Payment Processor', NULL, 1, 1, 'User Name', NULL, NULL, NULL, 'Payment_Dummy', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL);
INSERT INTO `civicrm_payment_processor_type` VALUES (2, 1, 'PayPal_Standard', 'PayPal - Website Payments Standard', NULL, 1, 0, 'Merchant Account Email', NULL, NULL, NULL, 'Payment_PayPalImpl', 'https://www.paypal.com/', 'https://www.paypal.com/', NULL, 'https://www.sandbox.paypal.com/', 'https://www.sandbox.paypal.com/', NULL, 4, 1);
INSERT INTO `civicrm_payment_processor_type` VALUES (3, 1, 'PayPal', 'PayPal - Website Payments Pro', NULL, 1, 0, 'User Name', 'Password', 'Signature', NULL, 'Payment_PayPalImpl', 'https://www.paypal.com/', NULL, 'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif', 'https://www.sandbox.paypal.com/', NULL, 'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif', 3, NULL);
INSERT INTO `civicrm_payment_processor_type` VALUES (4, 1, 'PayPal_Express', 'PayPal - Express', NULL, 1, 0, 'User Name', 'Password', 'Signature', NULL, 'Payment_PayPalImpl', 'https://www.paypal.com/', NULL, 'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif', 'https://www.sandbox.paypal.com/', NULL, 'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif', 3, NULL);
INSERT INTO `civicrm_payment_processor_type` VALUES (5, 1, 'Google_Checkout', 'Google Checkout', NULL, 1, 0, 'Merchant ID', 'Key', NULL, NULL, 'Payment_Google', 'https://checkout.google.com/', NULL, 'http://checkout.google.com/buttons/checkout.gif', 'https://sandbox.google.com/checkout', NULL, 'http://sandbox.google.com/checkout/buttons/checkout.gif', 4, NULL);
INSERT INTO `civicrm_payment_processor_type` VALUES (6, 1, 'Moneris', 'Moneris', NULL, 1, 0, 'User Name', 'Password', 'Store ID', NULL, 'Payment_Moneris', 'https://www3.moneris.com/', NULL, NULL, 'https://esqa.moneris.com/', NULL, NULL, 1, 1);
INSERT INTO `civicrm_payment_processor_type` VALUES (7, 1, 'AuthNet_AIM', 'Authorize.Net - AIM', NULL, 1, 0, 'API Login', 'Payment Key', 'MD5 Hash', NULL, 'Payment_AuthorizeNet', 'https://secure.authorize.net/gateway/transact.dll', 'https://api.authorize.net/xml/v1/request.api', NULL, 'https://secure.authorize.net/gateway/transact.dll', 'https://apitest.authorize.net/xml/v1/request.api', NULL, 1, 1);
And plugged it in.
Now though when I add Dummy Processor and all looks fine, then go back to the form and tell it to
Execute real-time monetary transactions
I get the code dump again...

I wonder if some of my other tables lack data, maybe a bad upgrade?
Is there a way to do a fresh install then just import all you old data?
Would all the unique ids be respected that the contacts have now etc?
« Last Edit: March 03, 2008, 03:37:50 pm by alfred_nutile »

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Same server and it worked for 5 other site but now
March 03, 2008, 04:30:42 pm
Okay so I entered a paypal sandbox I had and it all seems to work.
The dummy account has some issues but that may be related to a another issue I posted.
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: Same server and it worked for 5 other site but now
March 03, 2008, 06:10:42 pm

I don't think there is an easy way of doing a new install and selectively copying all the old data back. Based on the below, i suspect an upgrade of your db failed and was not noticed (this was introduced in v1.8, so the v1.7 -> v1.8 potentially failed)

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

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Same server and it worked for 5 other site but now
March 04, 2008, 03:56:04 am
uhg...
So we can't do an update again where you dump the data then import it back in there?
Or do I need to just look at each table?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Same server and it worked for 5 other site but now

This forum was archived on 2017-11-26.