Hi,

I have downloaded this PayPal API:

https://cms.paypal.com/cms_content/US/en_US/files/developer/PP_PHP_SOAP_SDK.tar.gz

And I'm getting this error:

Fatal error: Cannot redeclare class SOAP_Client in /home/me/app1/
plugins/mbpPlatformFrontendPlugin/lib/paypal/PayPal/SOAP/Client.php on
line 83

The "strange" thing is: if I change the name of the class to what ever
else, for example SOAP_Client_foo, I get

Fatal error: Cannot redeclare class SOAP_Client_foo in /home/me/app1/
plugins/mbpPlatformFrontendPlugin/lib/paypal/PayPal/SOAP/Client.php on
line 83

So I removed the content in Client.php and wrote this:

<pre>
<?php
    debug_print_backtrace();
?>
</pre>
<hr />

And this is the output:

#0  require() called at [/home/me/app1/lib/vendor/symfony/lib/autoload/
sfAutoload.class.php:188]
#1  sfAutoload->loadClass(SOAP_Client) called at [/home/me/app1/lib/
vendor/symfony/lib/autoload/sfAutoload.class.php: 163]
#2  sfAutoload->autoload(SOAP_Client)
#4  spl_autoload_call(SOAP_Client) called at [/home/me/app1/plugins/
mbpPlatformFrontendPlugin/lib/paypal/PayPal/CallerServices.php:36]
#5  PayPal->getWSDLVersion() called at [/home/me/app1/plugins/
mbpPlatformFrontendPlugin/lib/paypal/PayPal/Profile.php:126]
#6  Profile->loadEnvironments() called at [/home/me/app1/plugins/
mbpPlatformFrontendPlugin/lib/paypal/PayPal/Profile.php:104]
#7  Profile->_load() called at [/home/me/app1/plugins/
mbpPlatformFrontendPlugin/lib/paypal/PayPal/API.php:328]
#8  APIProfile::getInstance(, ProfileHandler_Array...

Any help?

sf 1.4

Javi

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to