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) »
  • PayPal Express checkout error
Pages: [1]

Author Topic: PayPal Express checkout error  (Read 1536 times)

brian123

  • Guest
PayPal Express checkout error
July 03, 2007, 02:18:41 pm
When I run a contribution form from Joomla, I get the following error when I try a PayPal Express Checkout:

Fatal error: Cannot redeclare class net_url in /home/httpd/vhosts/rsmstar.nl/httpdocs/administrator/components/com_civicrm/civicrm/packages/Net/URL.php on line 40

It looks like net_url is declared in more places, but I don't know where...

I am using version 1.7.9821
« Last Edit: July 03, 2007, 02:34:18 pm by brian123 »

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: PayPal Express checkout error
July 03, 2007, 03:27:30 pm

we use Net/URL.php here:

./HTTP/Request.php:require_once 'Net/URL.php';

which uses the require_once quite nicely. You might want to grep you components directory and see what other components use Net/URL.php and then figure out how to avoid the below issue. We have not seen the error in our minimal Joomla installs

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

brian123

  • Guest
Re: PayPal Express checkout error
July 03, 2007, 03:35:02 pm
I tried it by adding a letter to the class references in "request.php" and the declaration in "URL.php", so i renamed the class basicly. Now I don't get the error, but, it just sends me back to the contribution page without an error....

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

This forum was archived on 2017-11-26.