Plugin Externe PHP-Anwendung

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
fwe77
Regular
Posts: 140
Joined: Wed Sep 21, 2005 11:17 pm
Contact:

Plugin Externe PHP-Anwendung

Post by fwe77 »

Hallo zusammen,

ich würde gerne eine PHP Datei in der Sidebar includen. Wenn ich es direkt über den Code mache, also {include_php file=""} funktioniert es problemlos. Wenn ich das allerdings über das Plugin Externe PHP-Anwendung versuche, bekomme ich eine Fehlermeldung:

Code: Select all

Fatal error: Call to a member function assign_by_ref() on a non-object in
Jemand eine Idee? Vielen Dank schon mal!

Gruß. Frank.
fwe77
Regular
Posts: 140
Joined: Wed Sep 21, 2005 11:17 pm
Contact:

Re: Plugin Externe PHP-Anwendung

Post by fwe77 »

Niemand eine Idee?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugin Externe PHP-Anwendung

Post by garvinhicking »

Hi!

Welche s9y version nutzt du, und welche version des plugins? Wie lautet die Fehlermeldung komplett?

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/
fwe77
Regular
Posts: 140
Joined: Wed Sep 21, 2005 11:17 pm
Contact:

Re: Plugin Externe PHP-Anwendung

Post by fwe77 »

Hi,

meine s9y Version ist die aktuelle, also 1.6 und das Plugin liegt in Version 1.1 auf dem Server. Und die komplette Fehlermeldung lautet:

Code: Select all

Fatal error: Call to a member function assign_by_ref() on a non-object in /Pfad_zur_Bloginstallation/blog/include/plugin_api.inc.php on line 904
Vielen Dank schon mal!

Gruß. Frank.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugin Externe PHP-Anwendung

Post by garvinhicking »

Hi!

Wie genau sieht der PHP-Code aus, den Du einbindest?

Mich wundert das sehr, der Code zeigt auf eine Stelle der für generate_plugins() zeigt; mir scheint als würde dein PHP-Script evtl an der globalen $serendipity Variable etwas ändern können...?!

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/
fwe77
Regular
Posts: 140
Joined: Wed Sep 21, 2005 11:17 pm
Contact:

Re: Plugin Externe PHP-Anwendung

Post by fwe77 »

Hi Garvin,

ich habe es in der Zwischenzeit noch mit anderen Skripten getestet, u.a. mit dieser einfachen Variante:

Code: Select all

<?
    echo "Hallo Welt!";
?>
Funktionieren alle, nur nicht mein Skript. Also werde ich mir das wohl etwas genauer anschauen.

Danke für das "Legen der richtigen Fährte".

Gruß. Frank.
Post Reply