image

nerdTainment

while (read) { boredom–; }

  • Home
  • Blogkarte
  • Plugins
  • Kontakt
  • Impressum
  • Hier werben

Feed abonnieren:

» Artikel
» Twitter+Microblog
» Kommentare
11. Aug 2008

Flexible Upload – fixed for WP2.6

Flexible UploadEnglish shortdescription below.

Update:
English Translation follows

Durch einen kleinen Fehler im Hack von Flexible Upload wurde das Plugin mit Versionen höher als 2.6 unbenutzbar. Dieser Fehler ist nun aber bereinigt, so dass Flexible Upload nun auch unter 2.6.1 und 2.6.2 zuverlässig seinen Dienst verrichtet.

Download Flexible Upload Patched für WP 2.6 Fix 1

English:
Due to a little bug in my Flexible Upload Hack there have been problems with any version later than 2.6. This is fixed now and Flexible Upload D3Z Edition works with the newer 2.6.1 and 2.6.2 releases.

Download Flexible Upload Patched für WP 2.6 Fix 1


Wer das Plugin Flexible Upload einsetzt/eingesetzt hat, wird wohl beim Update auf WordPress 2.6 schmerzlich erfahren haben das sich das Plugin unter dieser Version von WordPress leider nicht dazu bewegen lässt, vernünftig zu funktionieren.

Schuld daran ist eine fehlende Function, welche in der WP Version 2.6 entfernt wurde.

Es handelt sich dabei um die Function “media_admin_css”, auf die Flexible Upload zurückgreift und dadurch unter WordPress 2.6 folgende Fehlermeldung beim Aufruf der Upload Funktion verursacht:


call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘media_admin_css’ was given in /pfad/zu/wordpress/wp-includes/plugin.php on line 311

Nun gibt es 2 Möglichkeiten:

a) Man fügt die Funktion einfach “irgendwo” zum Plugin hinzu
Nachteil: Sollte man das Plugin zwecks Test doch noch einmal auf einer älteren WordPress Version verwenden wollen (wieso auch immer) würde die Funktion überschrieben werden – das ist nun nicht im Sinne des Erfinders

b) Man schreibt das Plugin so um, das nur im Falle einer Installation des Plugin unter WP 2.6 die Funktion wieder hinzugefügt wird.

Für den letzteren Lösungsweg habe ich mich entschieden und biete hier das editierte Plugin zum Download an.

Ich habe die Versionsnummer so gelassen wie sie war und zur Unterscheidung mit dem offizellen Release lediglich an den Pluginnamen mein Kürzel gehängt – das hat den Vorteil, das für den Fall das der ursprüngliche Entwickler, Antoine Choppin, sich doch noch mal entscheidet das Plugin upzudaten das Update automatisch eingespielt werden kann.

Installationsanleitung:

Die vorhandenen Dateien in den Plugins-Ordner entpacken/hochladen und das Plugin aktivieren.
Achtung:
Die Nutzung des Plugins geschieht auf eigene Gefahr.

Download Flexible Upload Patched für WP 2.6

English translation:
Whoever uses, or let’s rather say “used”, the plugin “Flexible Upload” and recently upgraded to WordPress 2.6 may allready have realized that Flexible Upload Version 1.13 doesn’t work as intended anymore.

The problem is the missing function “media_admin_css”.

I fixed this problem and release it here as an unofficial patch until the developer finds the time to fix it by himself.

I therefore didn’t change the version number as this confuses the WordPress Plugin Auto-Update function but only added my short tag to the pluging name to show that this not the official version.

Please also realize that the original developer won’t give any support for this fixed version.

To install this fix, just upload the contents of this zip file to the “flexible-upload” folder in your plugins folder.

This contains the whole Flexible Upload Version 1.13 as well as my fix for WordPress 2.6 and should also work with older versions of WordPress – just in case anyone installs it under an older version.

Just click here to download the file.

Feel free to comment if you have any problems with this.

Please also realize that I don’t take any responsibility for problems that may (but shouldn’t) occur due to the usage of this plugin.

Links:
Flexible Upload Homepage
Download
Autor: Chris\\Das3Zehn

Software
Kommentare
  Kommentar by Herrin on 14. August 2008 @ 08:21

Dude. Thank you. Nerds rule!

  Kommentar by eko on 15. August 2008 @ 21:00

THANK YOU !

  Kommentar by Kai Anja on 21. August 2008 @ 12:03

Danke! :)

  Kommentar by Neuville on 21. August 2008 @ 19:56

hello there, great fix.

just a prob with WP 2.6.1 – the broken code issue is solved but you cannot view anything on the upload panel (just the navigation buttons)

  Kommentar by Chris\\Das3Zehn on 22. August 2008 @ 06:52

I’m going to check this out as soon as I have a WP 2.6.1 up and running – I guess this has something to do with the Version check.

  Kommentar by frest on 23. August 2008 @ 15:15

Du hast mir gerade sehr geholfen. Vielen Dank, top Arbeit!

MfG,
frest

  Kommentar by Flasher on 28. August 2008 @ 16:59

thanx, man.

  Kommentar by sissi on 6. September 2008 @ 15:57

suuuuper vielen dank :-)

  Kommentar by Neokentin on 8. September 2008 @ 10:55

hello, thanks for this modification but i have the same problem than Neuville with wordpress 2.6.1, i can not view anything on the upload panel…is there a simple way to fix this ?

  Kommentar by Neokentin on 9. September 2008 @ 20:56

ok i’ve found for 2.6.1. Just replace in flexible-upload.php :

old :
if (($fup_wpver[0] == 2) && ($fup_wpver[1] = 6)) {
require_once(ABSPATH.$fup_rel_dir.’flexible-upload-wp26-fix.php’);
}

new :
if (($fup_wpver[0] == 2) && ($fup_wpver[1] = 6.1)) {
require_once(ABSPATH.$fup_rel_dir.’flexible-upload-wp26-fix.php’);
}

it work nice… :-)

  Kommentar by Phil on 12. September 2008 @ 11:42

Thanks a lot for this fix, it works like a charm!

  Kommentar by qba on 12. September 2008 @ 11:49

Klasse vielen Dank. So kann ich mein geliebtes Plugin also doch noch nutzen :-)

  Pingback by Flexible Upload D3Z Edition Fix 1 | nerdTainment on 12. September 2008 @ 14:34
  Kommentar by Roger on 13. September 2008 @ 20:25

This doesn’t seem to work with WP2.6.2. I get a blank screen.

  Kommentar by Chris\\Das3Zehn on 13. September 2008 @ 20:38

Thats kinda strange – maybe download it again?
I’m using the same files on this blog which ist WP 2.6.2 – and works like a charm.

Some Proxy or your cache intefering maybe?

  Kommentar by theFrosty on 15. September 2008 @ 07:12

Sweet, I think I had given up hope for the plugin. I am going to check it out now…

  Kommentar by pab on 17. September 2008 @ 07:10

does this fix work for 2.6.1?

thanks

  Kommentar by Chris\\Das3Zehn on 17. September 2008 @ 08:53

Yes, it does.

  Kommentar by pab on 17. September 2008 @ 22:57

I’ve added this to the file

but i still get the blank upload screen

if (($fup_wpver[0] == 2) && ($fup_wpver[1] = 6.1)) {
require_once(ABSPATH.$fup_rel_dir.’flexible-upload-wp26-fix.php’);
}

  Kommentar by Chris\\Das3Zehn on 18. September 2008 @ 12:14

@pab: MY(!) Version of FUP fixes the compatibility with WP 2.6,2.6.1,2.6.2 and later Versions (as long as WP doesn’t change something else ;) )

Deactivate the original Flexible Upload Script, delete the folder flexible-upload an then upload the folder from the archive which you downloaded from THIS site and activate the plugins. No need to edit anything.

You also should consider to install the 2.6.2 Upgrade as it’s a security upgrade.

  Kommentar by sera on 20. September 2008 @ 17:31

I’m using Firefox and this was working perfectly until the other day when I mysteriously got a blank screen at the image upload screen. It works in Internet Explorer, but not FF.

  Kommentar by Chris\\Das3Zehn on 21. September 2008 @ 13:58

There are some Problems here and there with FF – but I haven’t had any issue like this for a long time now (since I upgraded to FF 3.0).

This has nothing to do with the plugin but with the way the upload screen works.

You may also check out http://wordpress.org/support/topic/164999 for further information on how to (maybe) fix this issue.

  Kommentar by quentin on 8. Oktober 2008 @ 11:59

Grazie

  Kommentar by Nathan on 9. Oktober 2008 @ 22:42

Hello!

I just did a fresh install of the flexible upload plugin…

I don’t have an “insert into excerpt” button in my image upload window, it is missing.

I assume this is a bug? I can’t figure out why this button is not there, any help is appreciated to get it back

  Kommentar by Chris\\Das3Zehn on 11. Oktober 2008 @ 20:18

Well – I can’t remember to had any at all. Are you sure that this isn’t a problem with another plugin?

  Kommentar by Hugelgupf on 12. Oktober 2008 @ 11:46

Gott machst du dir das mit dieser Funktion kompliziert… warum nicht einfach kopieren und umbenennen, dann würde sie auch nicht die andere überschreiben, aber sie wäre trotzdem da.

  Kommentar by Chris\\Das3Zehn on 12. Oktober 2008 @ 14:58

Die 3 zusätzlichen Zeilen waren nun auch kein Problem – habe ich überlebt, wie man sieht ;)
Die restlichen Versionchecks waren net von mir ;)

  Kommentar by 3stripe on 12. Oktober 2008 @ 21:05

Danke for fixing the plugin! Saved me a lot of trouble :)

  Kommentar by Nathan on 15. Oktober 2008 @ 22:55

Hello. Pardon my delayed response Chris\\Das3Zehn…

In regards to there being no “Insert into Excerpt” button, I’m pretty sure there are no plugins conflicting with flexible upload.

I’m pretty lost, I’ve tried looking at the code but can’t figure out why this isn’t showing up.

By the way, I’m using wordpress 2.6.2. Any more help is greatly appreciated, thank you!

  Kommentar by Hairgel_Addict on 27. Oktober 2008 @ 11:13

thanks a lot ;)

  Kommentar by markus on 8. November 2008 @ 12:01

Hab Deine Version mit WordPress 2.6.3 installiert und scheint gut zu laufen!

THANX!!

  Pingback by Vorabtest: Wordpress 2.7 | sven’s blog on 10. November 2008 @ 03:51

[…] angezeigt. Eine Lösung vom Autoren selber scheint nicht in Sicht zu sein. Allerdings bietet dieser engagierte Nutzer eine Version mit Bugfix zum Download an. Das Spezielle daran ist, dass laut den Ausführungen auf […]

  Kommentar by Maria on 13. November 2008 @ 01:07

Does anyone know if this is supposed to work on wpmu 2.6.3? I get no error messages and everything seems fine. But I can’t find the “Options” page and the upload screen looks the same as without the plugin.

  Pingback by Блог Белого Негра » Создаем варезник, Pt. 1 on 21. November 2008 @ 23:53

[…] Flexible upload D3Z Edition – очень-очень тулза. Делает изменение размера при загрузке и создает превьюшки. Для варезника – незаменимо […]

  Pingback by 画像のアップロードを便利にするプラグイン「Flexible Upload」 on 28. November 2008 @ 09:50

[…] <ダウンロード> >Ma Tasse de Thé […]

  Pingback by Flexible Upload D3Z: Auch unter WP 2.7 | nerdTainment on 22. Dezember 2008 @ 10:52

[…] Nur ein kleiner Hinweis für all diejenigen, welche meine für WordPress 2.6 gepatchte Version von Flexible Upload einsetzen: Auch unter der neuen Version 2.7 verrichtet diese ohne Probleme ihren Dienst – auch der vorher hin und wieder vorhandene Bug, das nach Upload von weniger als zwei Grafiken das direkt Posten nicht möglich war und der Umweg über die Mediathek nötig gemacht hat, scheint sich erledigt zu haben. Somit ist es ohne Einschränkung möglich, die neue Version von WordPress zu installieren. Der Download findet sich, wie gewohnt, hier. […]

  Pingback by Wordpress: se Flexible Upload vi dice Warning: call_user_func_array() | Voci dal web on 19. Januar 2009 @ 11:06

[…] Un errore del plugin Flexible Upload con WordPress superiore alla versione 2.5, che può essere risolto utilizzando una versione modificata ad HOC. Tale versione la potete scaricare qui […]

  Kommentar by Carlos on 8. Februar 2009 @ 16:52

Thanks a lot!

  Kommentar by d700 on 12. Februar 2009 @ 23:56

problem with WordPress 2.7.1 ???

  Kommentar by thomas on 13. Juni 2009 @ 20:15

hallo,
sag mal….ob du das auch hinbekommst das Plugin für WP 2.8 zu patchen ???
Hab Heute upgedated auf 2.8 und tja, das Flexible macht noch schön sein beschneiden, aber springt dann nicht mehr um in die Vorschau – also selber in die Mediathek springen – oder über den kleinen Umweg Videoinsert Rider in die Mediathek und die Vorschau springen….sic!!!

wäre ja schön wenn du da noch am Ball bist.

grüsse thomas

  Kommentar by Chris\\Das3Zehn on 13. Juni 2009 @ 20:18

Ich werde es mir auf jeden Fall mal anschauen – wann genau kann ich dir aber leider nicht sagen, da ich derzeit einiges um die Ohren habe.

Ich bitte daher um ca. eine Woche Geduld.

  Kommentar by thomas on 13. Juni 2009 @ 20:36

jetzt haste aber grad schnell geantwortet – hatte das Fenster noch offen.

Danke!

Ja, ja – warten kann ich.
Die resize-function läuft ja – Ist halt nicht mehr so schön integriert wie vorher.
grüsse thomas

  Kommentar by PlaYeR on 23. Juni 2009 @ 19:57

Ihr seid einfach die Besten! Die Anleitung ist klasse – hat mir sehr geholfen, Danke!

  Pingback by 画像のアップロード機能を拡張する « Yamazo'a Blog on 28. Juli 2009 @ 02:36

[…] 解決法を探しているとこちらのページにありました。原因はこのプラグインがWP2.6以降に対応していないためとのこと。で、早速このページにあるように、改善するパッチを含んだ Flexible Uploadを入手し、先の手順で再インストールしてみると、今度は問題なく使用することができました。 […]

  Kommentar by Dennis on 28. Juli 2009 @ 23:21

@Chris\\Das3Zehn konntest du einen blick drauf werfen? Leider kann ich das Plugin bei meinem Blog (WP2.8.2) nicht mehr benutzen, denn die Integration überschattet das normale Menü, und ist für den Laien(User) nicht nachvollziehbar. Wäre super wenn du einen Tipp geben könntest.
Grüße
Dennis

  Kommentar by Chris\\Das3Zehn on 29. Juli 2009 @ 12:19

Da ich nun auch eine WordPress Installation unter 2.8.2 laufen habe, werde ich heute oder morgen endlich mal einen Blick drauf werfen.

So wie ich das lese scheint es lediglich ein zLayer Bug zu sein – aber mal schauen.
Ich hoffe ich kann euch da helfen – ich habe ja wie gesagt nur den Fix für 2.7 durch ein Vergleichen der Sourcen gefunden und eingebaut.
Mal sehen was sich diesmal geändert hat.

  Kommentar by thomas on 5. August 2009 @ 00:55

@chris…das3Zehn(?)was ein wunder….

grad mal wieda vorbeigeschaut…
zLayer in der Richtung könnte das schon sein, zumal sich beim öffne (bild hinzufügen) auch die anderen Layer (mediathek etc.) zunächst nicht zeigen.
Immerhin aber nach Bildeingabe sich das Fenster vom flexible Upload öffnet und das beschneiden zulässt und zuverlässig auch noch macht…aber erst nach erneutem Aufruf über Umweg Mediathek dann auch einfügen lässt.
WP 2.8.3

mal schauen was du schaffst…!

Grüße thomas

  Kommentar by Dennis on 2. September 2009 @ 12:54

@Chris\\Das3Zehn und hattest du Zeit und Lust dich mal dem Thema zu widmen? Mittlerweile gibts ja schon 2.8.4. Das mit dem zLayer hört sich gut an. Bitte hilf uns.
Grüße
Dennis

  Pingback by 2.6.5 -> 2.8.4 abgeschlossen | unnamed feelings on 10. September 2009 @ 17:28

[…] keine Lust habe, auf Scissors umzusteigen. Aber wenn´s nicht anders geht…3 Leider war die Version von Nerdtainment wohl auch nur eine einmalige Aktion, […]

  Kommentar by e_fetch on 17. September 2009 @ 12:26

Moin Chris,

ich würde ja selbst versuchen, die Bugs bei Flexible Upload und WP 2.8 irgendwie zu beheben – aber ich bin zu doof.
Du bist also unser aller letzte Hoffnung, damit wir das Dingens wieder vernünftig nutzen können.
;-)
Danke aber an dieser Stelle für alles, was Du bis jetzt schon getan hast!

Viele Grüße
Frank

  Kommentar by FREEZhao on 1. Juni 2010 @ 16:56

I got the problem with wp2.92,I can`t see the another way to upload a image when I write a new post

  Kommentar by coupon for olive garden on 28. April 2011 @ 18:04

die Bugs bei Flexible Upload und WP 2.8 irgendwie zu beheben – aber ich bin zu doof.

  Kommentar by Plumber Sherman Oaks on 13. Juni 2011 @ 21:14

auf Scissors umzusteigen. Aber wenn´s nicht anders geht…3 Leider war die Version von Nerdtainment wohl auch nur eine einmalige Aktion,

  Kommentar by http://www.incomeinstrumentsblog.net on 17. Juni 2011 @ 08:45

mzusteigen. Aber wenn´s nicht anders geht…3 Leider war die Version von Nerdtainment wohl auch nur eine einmalige Aktion,

  Kommentar by Bestonlinecasinoslots on 29. Juni 2011 @ 14:36

versuchen, die Bugs bei Flexible Upload und WP 2.8 irgendwie zu beheben – aber ich b

  Kommentar by Uncle Black Jack on 29. Juni 2011 @ 14:37

habe, auf Scissors umzusteigen. Aber wenn´s nicht anders geht…3 Leider war die Version v

  Kommentar by Jugarcasino on 29. Juni 2011 @ 14:38

a selbst versuchen, die Bugs bei Flexible Upload und WP 2.8 irgendwie zu beheben – ab

Hinterlasse einen Kommentar

(erforderlich)

(erforderlich)


    Suche
    Kategorien
    • Audio
    • Bilder & Grafiken
    • eSports
    • Events
    • Flashgame
    • Games & Gaming
    • Hardware & Gadgets
    • Internes
    • iOS
    • Konsole
    • Linux
    • OSX
    • Software
    • Sonstiges
    • Texte
    • Twitter Digest
    • Videos & Filme
    • Weblinks
    • Windows
    Sponsored Links:
    • Zur Blogkarte
    • Leave a tip!
      Bloggeramt.de
      Blog Verzeichnis und Blog Webkatalog
      Blogverzeichnis - Blog Verzeichnis bloggerei.de
      NO WWW
      Typepad Antispam

      www.seducy.de
      RSS
      blogoscoop
      http://www.wikio.de/
      RSS

    Powered by Wordpress | Theme based on WP Premium theme by WP Remix
    Content published by nerdTainment licensed under a CC License (CC-NC-BY-SA). Some rights reserved