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 CiviContribute (Moderator: Donald Lobo) »
  • internal server error
Pages: [1]

Author Topic: internal server error  (Read 6190 times)

Rahul Bile

  • I post occasionally
  • **
  • Posts: 112
  • Karma: 16
  • impossible says, I M Possible
    • I AM POSSIBLE
internal server error
April 30, 2009, 06:52:39 am

hello,
I have created a contribution page and and used paypal website payment  standard as a payment processor when i fill the information and click on continue , instead of going to paypal, it throws an error"
" Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@paypal.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log "

Thanks,
Rahul Bile
Consider donating to CiviCRM if you use it. http://civicrm.org/donate

Rahul Bile

  • I post occasionally
  • **
  • Posts: 112
  • Karma: 16
  • impossible says, I M Possible
    • I AM POSSIBLE
Re: internal server error
April 30, 2009, 09:17:59 am
when the error comes the url build is

https://www.paypal.com/xclick?business=myusername&notify_url=mysite/
sites/all/modules/civicrm/extern/...........e9cec295cdc60359e4
934b125...........................................................................................&cmd=_xclick&amount=25


and when  the contribution is redirecetd to paypal the url build is
https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&.........................SESSION=zabTy5dd55460de9003d5
Consider donating to CiviCRM if you use it. http://civicrm.org/donate

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: internal server error
May 02, 2009, 05:42:46 pm
I'm having the same problem.  Has PayPal decided it doesn't like the URLs CiviCRM is sending?  It has worked for me before.

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: internal server error
May 02, 2009, 06:11:41 pm
Another note: Interestingly, I have a fairly straightforward contribution page that works fine.  It's a contribution page that has some custom fields that's giving me the problems.  Could that be causing the issue?

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: internal server error
May 02, 2009, 06:15:27 pm
Okay, I hope it doesn't bother anyone that I'm basically live-blogging my troubleshooting. :)

When I disabled the custom fields I had added to my custom profile, it worked.  I set the fields up as contribution fields, because I saw in another thread that only certain kinds of fields will work in a profile you want to use for contributions.

I will set those fields up again as a different type (contact or individual) and see what happens.

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: internal server error
May 02, 2009, 06:27:29 pm
SUCCESS.  Rahulbile, if you're using custom data, you might try deleting it and re-creating it.  Set it to be used for "contacts."  That's what worked for me.  Other choices may work too, but "contributions" does not - at least not for me.

altaf

  • Guest
Re: internal server error To tmccartney
May 03, 2009, 10:51:26 pm
tmccartney:

We have upgraded from CiviCRM 1.9 to 2.2.2 .  So might be incorrect data issue. We don't have any custom fields in profile and it is of type Individual. I still get above mentioned error randomly. Not sure how to debug this issues.
 
-altaf ( On behalf of rahul bille)
« Last Edit: May 03, 2009, 11:11:09 pm by Kurund Jalmi »

altaf

  • Guest
Re: internal server error
May 05, 2009, 03:06:08 am
Hello Group , 
               Even i tried it on local machine for CiviCRM 2.2 Live and sometime it threw the same error so is it bug? Even i would like to share something. While i was looking for the solution and i posted it on paypal forums i learnt that when we are sending values to paypal,  action should be  https://www.paypal.com/cgi-bin/webscr

               But when i debug CiviCRM Code i found this 3 lines where action is www.paypal.com/xclick
  File :-- CRM/Core/Payment/PayPalImp.php  (line 403)

    $url = $this->_paymentProcessor['url_site'];
    $sub = empty( $params['is_recur'] ) ? 'xclick' : 'subscriptions';
    $paypalURL = "{$url}{$sub}?$uri";

Even i replaced xlick => cgi-bin/websrc  and it worked but i m still confused and not sure when that error will occur. Am i on right track .

Note:-- whenever i got a error its containing xclick. so replacing xclick with cgi-bin/websrc is the soluction ?


Here is the link to my post on paypal

http://developer.paypal-portal.com/pdn/board/message?board.id=basicpayments&message.id=37323

Even I checked UberCart Code what url they are using for paypal payment and i found there they have used the action https://www.paypal.com/cgi-bin/webscr for paypal processor.

Any Small Help Would Be Appreciated

Thanx in Advance

-Altaf
« Last Edit: May 05, 2009, 04:56:12 am by altaf »

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: internal server error
May 05, 2009, 06:53:27 am

hey altaf:

can you check the paypal IPN documentation and see if they've changed xclick/subscriptions url to cgi-bin/webscr

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

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: internal server error
May 05, 2009, 07:02:05 am

i just checked and seems like they changed things a wee bit

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_formbasics

wanna file and issue and we will fix for 2.2.x

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

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: internal server error
May 06, 2009, 08:30:34 am
Hi,

http://issues.civicrm.org/jira/browse/CRM-4449

fixed for the paypal standard, Tested and it's Working.

i also check the replacing the  subscriptions by cgi-bin/webscr for the Recurring Contribution.

it work for both subscriptions and cgi-bin/webscr

PayPal check the cmd value _xclick-subscriptions OR _xclick

sunil
The community around a product more important than the product itself?

tabidi

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 5
Re: internal server error
May 09, 2009, 11:22:26 pm
I am still encountering the problem seems like when I have any toolbars with pop blocker the url being passed is http://..../xclick, if I turn off the popup blockers it seems to work. I am trying to charge payments for events.
« Last Edit: May 09, 2009, 11:38:45 pm by tabidi »

tabidi

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 5
Re: internal server error
May 10, 2009, 07:57:05 am
Applied the changes by Altaf seems to work for now.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • internal server error

This forum was archived on 2017-11-26.