Problem mit Amazon-Plugin

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
planetpraktika.de
Regular
Posts: 6
Joined: Sat Aug 19, 2006 5:23 pm

Problem mit Amazon-Plugin

Post by planetpraktika.de »

Hallo!
Hoffentlich kann mir jemand helfen. Nachdem ich das Amazon-Plugin installiert habe und den dann erscheinenden Button "Amazon-Medien" im Artikeleditor aufrufe, geht ein neues Fenster auf und diese Fehlermeldung erscheint:

Fatal error: Cannot redeclare class soapclient in /Pfad/zum/Server/serendipity/plugins/serendipity_event_amazonchooser/nusoap/nusoap.php on line 7240

Was kann ich machen, um das Plugin zum Laufen zu bringen?

Bitte um Hilfe und danke schon im Voraus,

Stefan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem mit Amazon-Plugin

Post by garvinhicking »

Hi!

Welche anderen Plugins hast Du installiert? Es gibt eine Doppelnutzung von nusoap...

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
planetpraktika.de
Regular
Posts: 6
Joined: Sat Aug 19, 2006 5:23 pm

Amazon-plugin-problem

Post by planetpraktika.de »

Hi,

folgende plugins sind installiert:
[Category Tree Menu]
DHTML category menu. Requires PEAR::HTML_TreeMenu.
version: 1.6

Suche
Nach Einträgen suchen
version: 1.0

Archive
Die Archive durchstöbern
version: 1.0

Blog abonnieren
Zeigt die RSS Syndication-Links
version: 1.0

Links
Zeigt alle referenzierten Links eines Artikels
version: 1.0

Tags - Schlagwörter
Zeigt alle vorhandenen Tags
version: 2.38

Kalender
QuickJump Kalender
version: 1.0

Verwaltung des Blog
Zeigt einen Link zur Verwaltung des Blogs in der Seitenleiste an
version: 1.0

Powered by
Zeigt einen Hinweis darauf, dass Serendipity als Blog-Software verwendet wird
version: 1.0

Textformatierung: Serendipity
Standard Serendipity Textformatierung durchführen
version: 1.1

Textformatierung: Smilies
Standard Text-Smilies in Grafiken konvertieren
version: 1.1

Textformatierung: NL2BR
Konvertiert Zeilenumbrüche zu HTML
version: 1.2

Browser-Kompatibilität
Wendet verschiedene (CSS) Methoden an, um maximale Browserkompatibilität zu erreichen
version: 1.0

Spamschutz
Mehrere Varianten um Kommentarspam einzudämmen
version: 1.26

Einträge ankündigen
Benachrichtigt diverse Internetseiten, das ein neuer Eintrag erstellt wurde.
version: 1.02

Statistiken
Zeigt einen Link zu Statistiken in der Autorenoberfläche
version: 1.23

Freie Artikel-Tags
Erlaubt das freie Tagging von Artikeln
version: 2.62

Eigenschaften/Templates von Kategorien
Dieses Plugin ermöglicht, das Template und andere Eigenschaften abhängig von der gewählten Kategorie zu ändern.
version: 0.7

Karma
Artikelbewertung
version: 1.6

[Layout-Plugin: Druckfreundliche Version]
Ermöglicht den besseren Ausdruck eines Eintrages im Browser
version: 1.0

Amazon Medien-Button
Fügt einen Button zum Artikeleditor hinzu, über den eine Amazon.com Suche für Produkte ausgeführt werden kann und die Ergebnisse in den Eintrag eingebettet werden
version: 0.7

Erweiterte Eigenschaften von Artikeln
(Cache, nicht-öffentliche Artikel, dauerhafte Artikel)
version: 1.6

viele grüße & dank,
stefan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem mit Amazon-Plugin

Post by garvinhicking »

Hi!

Hm, also ich habe mal nachgeschaut, es gibt nur ein s9y plugin was den soapclient benutzt.

Kann es sein dass dein Blog nusoap anderweitig includet? Evtl. durch ein auto_prepend_file, oder dass dein PHP Server nusoap als PHP extension geladen hat?

Ich frage mich woher diese 'soapclient' kommt?! Von s9y anscheinend nicht...

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
planetpraktika.de
Regular
Posts: 6
Joined: Sat Aug 19, 2006 5:23 pm

Post by planetpraktika.de »

Hi,

>Kann es sein dass dein Blog nusoap anderweitig includet? Evtl. durch ein
>auto_prepend_file,

Das kann ich ausschließen.

>oder dass dein PHP Server nusoap als PHP extension geladen hat?

Das weiß ich nicht, obwohl ich es zu bezweifeln wage, da es sich bei meinem Server um einen Lowcost-Account bei hosteurope handelt (ich weiß allerdings nicht, wo ich das nachschauen könnte)...

Viele Grüße,
Stefan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Und das "amazonchooser" Plugin kommt auch nicht doppelt in der Pluginliste vor, oder?

Schreibe doch mal folgendes Script:

Code: Select all

<?php
if (class_exists('soapclient')) {
  echo 'PHP-intern definiert!';
}
include 'serendipity_config.inc.php';
if (class_exists('soapclient')) {
  echo 's9y-intern definiert!';
}
speicher das als 'test.php' in deinem s9y verzeichnis und rufe es per HTTP auf - was erscheint dann?

Viele Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
planetpraktika.de
Regular
Posts: 6
Joined: Sat Aug 19, 2006 5:23 pm

amazonplugin-problem

Post by planetpraktika.de »

hi
garvinhicking wrote:Und das "amazonchooser" Plugin kommt auch nicht doppelt in der Pluginliste vor, oder?
nein.
garvinhicking wrote:speicher das als 'test.php' in deinem s9y verzeichnis und rufe es per HTTP auf - was erscheint dann?
es erscheint dann:
PHP-intern definiert!s9y-intern definiert!

hm... scheint also als extension geladen zu sein?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: amazonplugin-problem

Post by garvinhicking »

Hi!

Ja, so sieht es leider aus. Könntest du mal deine phpinfo() ausgabe zeigen? Irgendeine Klasse lädt sich da in den Namensraum ein...

Viele Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
planetpraktika.de
Regular
Posts: 6
Joined: Sat Aug 19, 2006 5:23 pm

Post by planetpraktika.de »

Hi,
siehe hier:

PHP Version 5.1.4

System Linux wp011 2.6.17.6-he-xeon-64g #1 SMP Wed Jul 19 10:00:00 CEST 2006 i686
Build Date Aug 15 2006 01:04:55
Configure Command './configure' '--with-apxs2=/usr/bin/apxs2' '--disable-cli' '--program-prefix=php5-' '--prefix=/usr/local/php5' '--datadir=/usr/share/php5' '--enable-force-cgi-redirect' '--with-config-file-path=/etc/php5' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2=shared' '--with-dom=shared,/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--with-ttf=shared' '--with-gdbm=shared' '--with-gettext=shared' '--with-iconv=shared' '--with-jpeg-dir=shared,/usr' '--with-openssl' '--with-png=shared' '--with-pspell=shared' '--with-regex=system' '--with-expat=shared' '--with-zlib' '--with-layout=GNU' '--enable-bcmath=shared' '--enable-exif=shared' '--enable-ftp=shared' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-wddx=shared' '--without-oci8' '--with-pear=/usr/share/pear/php5' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--with-pdo-mysql=shared,/usr' '--enable-sqlite-utf8' '--with-pdo-sqlite=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar=shared' '--enable-dbx=shared' '--enable-dio=shared' '--enable-mcal=shared' '--enable-dba=shared' '--enable-dbase=shared' '--enable-ndbm=shared' '--with-mcrypt=shared' '--with-curl=shared' '--with-xsl=shared' '--with-xml=shared' '--with-libxml-dir=/usr' '--enable-soap=shared' '--enable-sysvmsg=shared' '--with-ming=shared' '--with-mhash=shared' '--enable-mbstring=shared' '--enable-memory-limit'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib, https, ftps, compress.bzip2
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*, bzip2.*, convert.iconv.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with Zend Extension Manager v1.0.9, Copyright (c) 2003-2005, by Zend Technologies
with Zend Optimizer v2.6.0, Copyright (c) 1998-2005, by Zend Technologies



--------------------------------------------------------------------------------

PHP Credits

--------------------------------------------------------------------------------

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl Off Off
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 7 2039
expose_php On On
extension_dir /usr/lib/apache2/modules/php5/ /usr/lib/apache2/modules/php5/
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF9900 #FF9900
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/pear/php5 .:/usr/share/pear/php5
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_time 60 60
memory_limit 64M 32M
open_basedir /tmp: no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 8M 8M
upload_tmp_dir /tmp /tmp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off


apache2handler
Apache Version Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.4 DAV/2
Apache API Version 20020903
User/Group nobody(99)/99
Max Requests Per Child: 100 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server Yes
Server Root /etc/httpd
Loaded Modules core mod_access mod_auth mod_log_config mod_logio mod_env mod_setenvif prefork http_core mod_mime mod_status mod_autoindex mod_negotiation mod_dir mod_alias mod_so mod_rewrite mod_php5 mod_cgi mod_dav mod_dav_fs mod_include mod_actions mod_mime_magic mod_cache mod_disk_cache mod_proxy proxy_http mod_vhost_limit

Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
PATH /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE <address>Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.4 DAV/2 Server at www.generation-praktikum.de Port 80</address>
SERVER_SOFTWARE Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.4 DAV/2
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING bottomframe=true




bcmath
BCMath support enabled


bz2
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.2, 30-Dec-2001


calendar
Calendar support enabled


ctype
ctype functions enabled


curl
CURL support enabled
CURL Information libcurl/7.13.2 OpenSSL/0.9.7e zlib/1.2.1 libidn/0.5.13


date
date/time support enabled
Timezone Database Version 2006.1
Timezone Database internal
Default timezone Europe/Berlin

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value


dba
DBA support enabled
Supported handlers gdbm cdb cdb_make inifile flatfile


dbx
dbx support enabled
dbx version 1.1.0
supported databases MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT SQLite

Directive Local Value Master Value
dbx.colnames_case lowercase lowercase


dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.16
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled


exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.5 2006/04/10 18:23:24 helly Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF


ftp
FTP support enabled


gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.7
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled


gettext
GetText Support enabled


hash
hash support enabled
Hashing Engines md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5


iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.3.2

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1


imap
IMAP c-Client Version 2001
SSL Support enabled
Kerberos Support enabled


ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.161.2.3 2006/01/01 12:50:08 sniper Exp $
Total Links 0/unlimited
API Version 2004
Vendor Name OpenLDAP
Vendor Version 20130


libxml
libXML support active
libXML Version 2.6.16
libXML streams enabled


mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 3.7.1

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value


mcrypt
mcrypt support enabled
Version 2.5.7
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value


mhash
MHASH support Enabled
MHASH API Version 20020524


ming
Ming SWF output library enabled
Version 0.3beta1


mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient


mysqli
MysqlI Support enabled
Client API library version 4.1.15
Client API header version 4.1.15
MYSQLI_SOCKET /var/run/mysqld/mysqld.sock

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links 50 50
mysqli.reconnect Off Off


openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7e 25 Oct 2004


pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.6 06-Feb-2006


PDO
PDO support enabled
PDO drivers sqlite2, mysql, sqlite


pdo_mysql
PDO Driver for MySQL, client library version 4.1.15


pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6 2006/01/01 12:50:12 sniper Exp $
SQLite Library 3.2.1


posix
Revision $Revision: 1.70.2.3 $


Reflection
Reflection enabled
Version $Id: php_reflection.c,v 1.164.2.33 2006/03/29 14:28:42 tony2001 Exp $


session
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary wddx

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 7200 1440
session.gc_probability 1 0
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name MoodleSession PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /is/htdocs/wp1005600_JRFONZ21I9/www/moodledata/sessions /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 1 1


shmop
shmop support enabled


SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.22 $
Schema support enabled


soap
Soap Client enabled
Soap Server enabled

Directive Local Value Master Value
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_ttl 86400 86400


sockets
Sockets Support enabled


SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException


SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13 2006/04/18 14:30:15 iliaa Exp $
SQLite Library 2.8.17
SQLite Encoding UTF-8

Directive Local Value Master Value
sqlite.assoc_case 0 0


standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry
user_agent no value no value


sysvmsg
sysvmsg support enabled
Revision $Revision: 1.20.2.3 $


templates
Templates Support enabled
Engine version 1.7
Template tag {tag_name}
Template context <tmpl:context_name> </tmpl:context_name>

Directive Local Value Master Value
templates.ctx_cl </tmpl: </tmpl:
templates.ctx_cr > >
templates.ctx_ol <tmpl: <tmpl:
templates.ctx_or > >
templates.left { {
templates.right } }

WWW http://php-templates.sourceforge.net/


tokenizer
Tokenizer Support enabled


wddx
WDDX Support enabled
WDDX Session Serializer enabled


xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.16


xmlreader
XMLReader enabled


xmlwriter
XMLWriter enabled


xsl
XSL enabled
libxslt Version 1.1.12
libxslt compiled against libxml Version 2.6.16
EXSLT enabled
libexslt Version 1.1.12


Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 4 enabled
Optimization Pass 9 enabled
Zend Loader enabled
License Path no value


zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.2
Linked Version 1.2.1

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value


Additional Modules
Module Name
dbase
sysvsem
sysvshm


Environment
Variable Value
CONSOLE /dev/console
TERM linux
INIT_VERSION sysvinit-2.86
PATH /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
RUNLEVEL 2
runlevel 2
PWD /
PREVLEVEL N
previous N
HOME /
SHLVL 4
_ /sbin/start-stop-daemon



PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.


[quote][/quote]
mattsches
Regular
Posts: 440
Joined: Sat Nov 05, 2005 9:35 pm
Location: Wiesbaden, Germany
Contact:

PHP5?

Post by mattsches »

Hi, läuft bei dir PHP5? Vermutlich liegt da der Hase im Pfeffer. Offenbar gibt es einen Konflikt zwischen der SOAP-Extension von PHP und der nusoap-Klasse.

Ich habe das Amazon-Plugin gerade ausprobiert und bekam dieselbe Fehlermeldung. Mittlerweile habe ich das Plugin aber zum Laufen bekommen.

Die Lösung: Einfach in serendipity_event_amazonchooser.php, nusoap/nusoap.php und nusoap/class.soapclient.php alle Klassen, Methoden und deren Aufrufe, die $soapclient heißen, in z.B. $soapclient2 umbenennen. Genauer:

Code: Select all

--- plugins\serendipity_event_amazonchooser\nusoap\class.soapclient_OLD.php	Mon Aug 21 13:24:28 2006
+++ plugins\serendipity_event_amazonchooser\nusoap\class.soapclient.php	Mon Aug 21 13:24:45 2006
@@ -25 +25 @@
-class soapclient extends nusoap_base  {
+class soapclient2 extends nusoap_base  {
@@ -92 +92 @@
-	function soapclient($endpoint,$wsdl = false,$proxyhost = false,$proxyport = false,$proxyusername = false, $proxypassword = false, $timeout = 0, $response_timeout = 30){
+	function soapclient2($endpoint,$wsdl = false,$proxyhost = false,$proxyport = false,$proxyusername = false, $proxypassword = false, $timeout = 0, $response_timeout = 30){
@@ -672 +672 @@
-		$evalStr = 'class soap_proxy_'.$r.' extends soapclient {
+		$evalStr = 'class soap_proxy_'.$r.' extends soapclient2 {

Code: Select all

--- plugins\serendipity_event_amazonchooser\serendipity_event_amazonchooser_OLD.php	Mon Aug 21 13:33:21 2006
+++ plugins\serendipity_event_amazonchooser\serendipity_event_amazonchooser.php	Mon Aug 21 13:33:43 2006
@@ -226 +226 @@
-                                    $soapclient = new soapclient("http://soap.amazon.com/schemas2/AmazonWebServices.wsdl", true);
+                                    $soapclient2 = new soapclient2("http://soap.amazon.com/schemas2/AmazonWebServices.wsdl", true);
@@ -228 +228 @@
-                                    $soapclient->debug_flag = 1;
+                                    $soapclient2->debug_flag = 1;
@@ -231 +231 @@
-                                    $proxy = $soapclient->getProxy();
+                                    $proxy = $soapclient2->getProxy();
@@ -314,2 +314,2 @@
-                                    $soapclient = new soapclient("http://soap.amazon.com/schemas2/AmazonWebServices.wsdl", true);
-                                    $soapclient->debug_flag = 1;
+                                    $soapclient2 = new soapclient2("http://soap.amazon.com/schemas2/AmazonWebServices.wsdl", true);
+                                    $soapclient2->debug_flag = 1;
@@ -317 +317 @@
-                                    $proxy = $soapclient->getProxy();
+                                    $proxy = $soapclient2->getProxy();

Code: Select all

--- plugins\serendipity_event_amazonchooser\nusoap\nusoap_OLD.php	Mon Aug 21 13:35:45 2006
+++ plugins\serendipity_event_amazonchooser\nusoap\nusoap.php	Mon Aug 21 13:36:09 2006
@@ -2827 +2827 @@
-			$this->setError("Unsupported HTTP response status $http_status $http_reason (soapclient->response has contents of the response)");
+			$this->setError("Unsupported HTTP response status $http_status $http_reason (soapclient2->response has contents of the response)");
@@ -6407 +6407 @@
-class soapclient extends nusoap_base  {
+class soapclient2 extends nusoap_base  {
@@ -6474 +6474 @@
-	function soapclient($endpoint,$wsdl = false,$proxyhost = false,$proxyport = false,$proxyusername = false, $proxypassword = false, $timeout = 0, $response_timeout = 30){
+	function soapclient2($endpoint,$wsdl = false,$proxyhost = false,$proxyport = false,$proxyusername = false, $proxypassword = false, $timeout = 0, $response_timeout = 30){
@@ -7054 +7054 @@
-		$evalStr = 'class soap_proxy_'.$r.' extends soapclient {
+		$evalStr = 'class soap_proxy_'.$r.' extends soapclient2 {
Ich hoffe, das hilft auch bei euch. Bin mir allerdings nicht sicher, ob damit alle Fälle abgedeckt sind, wenn etwa eine der anderen Klassen inkludiert wird.

Regards,
- Mattsches
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: amazonplugin-problem

Post by garvinhicking »

Hi!

Ja, leider ist tatsächlich "SOAP" dort eingebaut.

Du könntest mal alle dateien in deinem amazonchooser verzeichnis öffnen und "soapclient" durch "nusoapclient" ersetzen? :-)

Viele Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
planetpraktika.de
Regular
Posts: 6
Joined: Sat Aug 19, 2006 5:23 pm

Amazon-Plugin-Problem

Post by planetpraktika.de »

Merci! Jetzt funktioniert es ;-)
Post Reply