|
Written on: 13. 10. 2009 [16:00]
|
|
Barbara
Barbara Wijbenga
Topic creator
registered since: 13.10.2009
Posts: 5
|
My Magento works, my Typo3 works and I can add blocks to my site using the TS template.
But when I add a Magento plugin to Page, I get this error:
PHP Fatal error: Class 'SoapClient' not found in /var/www/vhosts/SITE/httpdocs/typo3conf/ext/fb_magento/lib/class.tx_fbmagento_soapinterface.php on line 40
I installed SOAP with "yum install php-soap":
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-soap i386 5.2.11-2.el5.art atomic 142 k
Installing for dependencies:
libtool-ltdl i386 1.5.22-6.1 base 37 k
Updating for dependencies:
php i386 5.2.11-2.el5.art atomic 1.2 M
php-cli i386 5.2.11-2.el5.art atomic 2.3 M
php-common i386 5.2.11-2.el5.art atomic 268 k
php-devel i386 5.2.11-2.el5.art atomic 550 k
php-gd i386 5.2.11-2.el5.art atomic 121 k
php-imap i386 5.2.11-2.el5.art atomic 50 k
php-ldap i386 5.2.11-2.el5.art atomic 32 k
php-mbstring i386 5.2.11-2.el5.art atomic 1.1 M
php-mcrypt i386 5.2.11-2.el5.art atomic 27 k
php-mysql i386 5.2.11-2.el5.art atomic 81 k
php-ncurses i386 5.2.11-2.el5.art atomic 37 k
php-odbc i386 5.2.11-2.el5.art atomic 49 k
php-pdo i386 5.2.11-2.el5.art atomic 63 k
php-snmp i386 5.2.11-2.el5.art atomic 26 k
php-xml i386 5.2.11-2.el5.art atomic 111 k
php-xmlrpc i386 5.2.11-2.el5.art atomic 53 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 16 Package(s)
Remove 0 Package(s) (it's not CSS, but this way the columns are displayed right )
Why do I get the error?
Thanks,
Barbara
[This article was edited 1 times, at last 13.10.2009 at 16:02.]
|
|
Written on: 13. 10. 2009 [16:16]
|
|
hackwell
Jörg
registered since: 13.10.2009
Posts: 18
|
Please look at your phpinfo();
It should look like this:

|
|
Written on: 13. 10. 2009 [16:25]
|
|
Barbara
Barbara Wijbenga
Topic creator
registered since: 13.10.2009
Posts: 5
|
There's no SOAP in my php.ini 
I don't have much experience with ssh. I don't know how to properly install SOAP. I thought the command in my previous post would do it!
This is in my php.ini:
[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files.
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used
; instead of original one.
soap.wsdl_cache_ttl=86400
And I restarted apache and httpd after I did "yum install php-soap"...
|
|
Written on: 18. 10. 2009 [13:26]
|
|
hackwell
Jörg
registered since: 13.10.2009
Posts: 18
|
Maybe you need to inlude the Extension file, for example:
extension="eaccelerator.so"
|
|
Written on: 23. 10. 2009 [10:59]
|
|
Barbara
Barbara Wijbenga
Topic creator
registered since: 13.10.2009
Posts: 5
|
It still didn't work, so as a last resort I signed up with ExpertsExchange and asked my question there.
The full solution was:
-------------------------
Copy or create the file soap.ini with the following contents to the /etc/php.d/ directory.
; Enable soap extension module
extension=soap.so
Now edit the php.ini file and include the following line
extension=php_soap.dll
After that, run "yum install php-soap" again.
-------------------------
Greetings,
Barbara
[This article was edited 1 times, at last 23.10.2009 at 11:00.]
|