[x] Navigation

[x] Wer ist wo
 Bots:
1: Google > Forum 9.x
2: YANDEX > Forum 9.x
 Visitors:
1: Forum 9.x
2: Forum 9.x
3: Forum 9.x
4: Benutzerbereich

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

[x] Downloads (Top)

Jupload (Multiple File Upload) Plugin für Coppermine
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Module & Blöcke

Author Message
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 19.01.2008 13:15
Reply with quote

Jo, hab dein Update drauf, bekomme aber immer noch ne Fehlermeldung:

Array:
12:14:04.671 [INFO] Debug level set to 0
12:14:04.671 [INFO] Current debug output file: C:\DOKUME~1\DJSPAC~1\LOKALE~1\Temp\jupload_52274_log.txt
12:14:04.984 [WARN] Invalid int value: , using default value: 0
12:14:05.109 [INFO] JUpload plugin for DragonflyCMS version 0.9.2.1
12:14:45.921 [INFO] Debug level set to 1
12:14:45.921 [INFO] Current debug output file: C:\DOKUME~1\DJSPAC~1\LOKALE~1\Temp\jupload_52274_log.txt
12:14:47.125 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.DragonflyCMSUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body (wjhk.jupload2.policies.DragonflyCMSUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body)
12:14:47.125 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.DragonflyCMSUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
12:14:47.125 	at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)
12:14:47.125 	at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
12:14:47.125 	at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:497)


_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Klas
Moderator


Joined: Apr 14, 2004
Posts: 293

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 19.01.2008 17:30
Reply with quote

Welchen Browser hast du benutzt? Ich hab bei mir lokal noch Probleme mit dem IE6. Auf test.terralights.de läuft alles wie es soll. Kannst du den debug-level mal auf 99 stellen und mir den output dann als PM senden?
_________________
Bitte lies dies bevor du fragst.

Klas's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 20.01.2008 18:22
Reply with quote

Jo hab dir die log geschickt
_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Klas
Moderator


Joined: Apr 14, 2004
Posts: 293

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 22.01.2008 14:08
Reply with quote

*verwirrtbin*
Array:
14:31:37.781 [DEBUG] --------- Response Headers End ---------
14:31:37.781 [DEBUG] HTTP status: 200 OK
14:31:37.781 [DEBUG] -------- Response Body Start --------
14:31:37.781 [DEBUG] SUCCESS
14:31:37.812 [DEBUG] --------- Response Body End ---------
14:31:45.843 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.DragonflyCMSUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body (wjhk.jupload2.policies.DragonflyCMSUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body)
Da hab ich jetz ja wieder was zum grübeln...

_________________
Bitte lies dies bevor du fragst.

Klas's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 22.01.2008 19:01
Reply with quote

Jo, ich wunder mich auch, warum es nicht klappt....
_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 16.02.2008 05:28
Reply with quote

Hab was in meinen Log files gefunden, vielleicht hilft das ja weiter, was kommt, wenn man das Javascript aufruft,wo es zur Fehlermeldung kommt:

------------------------------------------------------------------------------
Error Code: 404 ()
Occurred: Sat Feb 16 0:10:57 CET 2008
Requested URL: /5;URL=index.php
User Address: 84.***.*.***
User Agent: Java/1.6.0_04
Referer:
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Error Code: 404 ()
Occurred: Sat Feb 16 0:11:02 CET 2008
Requested URL: /includes/javascript/\'+libraryName+\'
User Address: 84.***.*.***
User Agent: Java/1.6.0_04
Referer:

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 26.02.2008 18:37
Reply with quote

mh, Klas, bei mir tut es immer noch nicht....die leute die Bilder gemacht haben und die Hochladen wollen, beschweren sich schon lauthals bei mir....

weißt du noch nicht woran es liegen könnte?

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 27.02.2008 19:22
Reply with quote

Hab den Fehler gefunden, lag daran, das ich aus der Vorgänger Version noch daten in der Sprachdatei von Coppermine hatte.


mh, aber anderes, Klas, ist es möglich das wenn man dateien hochläd, er diese in einen Ordner hochläd der so heißt wie das Album? Wegen der Übersicht beim Hochladen wäre es extrem cool!

Weißt du wie man das einbaut?

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
lexi_
Doppel-Null-Agent


Joined: Jul 07, 2004
Posts: 178

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 28.02.2008 18:31
Reply with quote

clubhouse wrote:
Hab den Fehler gefunden, lag daran, das ich aus der Vorgänger Version noch daten in der Sprachdatei von Coppermine hatte.
Weißt du wie man das einbaut?
Was hast du geändert habe den gleichen Fehler
mfg
lexi


lexi_'s Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Server SUSE 9.3 / PHP 4.3.10 / Mysql 4.1.10a / cpg 9.2.0.RC2
Back to top
View user's profile Send e-mail
Klas
Moderator


Joined: Apr 14, 2004
Posts: 293

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 29.02.2008 15:10
Reply with quote

Array:
lag daran, das ich aus der Vorgänger Version noch daten in der Sprachdatei von Coppermine hatte.
Kannst du das genauer erklären? Ich hab schon fast aufgegeben den Fehler zu finden, zumal er sich bei mir nicht reproduzieren lässt. Auch die Sachen aus dem Log-File hatten mich nicht weitergebracht, eigentlich können die gar nicht von JUpload kommen.

Array:
mh, aber anderes, Klas, ist es möglich das wenn man dateien hochläd, er diese in einen Ordner hochläd der so heißt wie das Album?
Du meinst die Dateien sollen dann im Ordner modules/coppermine/albums/userpics/10057/albumname/ landen?

_________________
Bitte lies dies bevor du fragst.

Klas's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 02.03.2008 14:04
Reply with quote

Array:
Kannst du das genauer erklären? Ich hab schon fast aufgegeben den Fehler zu finden, zumal er sich bei mir nicht reproduzieren lässt. Auch die Sachen aus dem Log-File hatten mich nicht weitergebracht, eigentlich können die gar nicht von JUpload kommen.

ich hatte noch alte Einträge in der sprachdatei von coppermine.php

dort war auch der Begriff SUCCESS mit unter drin, und somit doppelt vorhanden, das konnte Java wohl nicht verstehen.

Array:
Du meinst die Dateien sollen dann im Ordner modules/coppermine/albums/userpics/10057/albumname/ landen?

Ja genau so mein ich das. mh weißt du ob es da Probleme mit den sonderzeichen gibt? wie äöü und sowas? oder bekommt man dies gut hin?

MfG

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Klas
Moderator


Joined: Apr 14, 2004
Posts: 293

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 02.03.2008 15:15
Reply with quote

Stimmt allerdings, ich würde dann bei den Ordnernamen genau wie bei den Bildern Sonderzeichen durch '_' ersetzen. Hab wenig Zeit will aber versuchen das nächste Woche auf die Reihe zu bringen.
_________________
Bitte lies dies bevor du fragst.

Klas's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 06.03.2008 19:58
Reply with quote

Moin Klas! Wie schautz aus? Hast du was hin bekommen?

LG

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Klas
Moderator


Joined: Apr 14, 2004
Posts: 293

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 09.03.2008 17:43
Reply with quote

Im Downloadbereich auf TERRALights.de gibt es eine Version von JUpload (0.9.2.1).

clubhouse wrote:
Moin Klas! Wie schautz aus? Hast du was hin bekommen?
Wenn du die Bilder in einem Unterordner mit der ID des Albums speichern willst:
in upload_picture.php

nach:
Array:
if ($CONFIG['maxNonTransformedPictureSize'] > 0) {
	$CONFIG['max_upl_size'] = $CONFIG['maxNonTransformedPictureSize'];
}
einfügen:
Array:
$album = (isset($_POST['album']) && is_numeric($_POST['album'])) ? intval($_POST['album']) : ((isset($_GET['album']) && is_numeric($_GET['album'])) ? intval($_GET['album']) : die('ERROR: '.PARAM_MISSING.': aid' ) );


Array:
	else if ( ($failure=handle_uploaded_file($f)) != '') {
ersetzen durch
Array:
	else if ( ($failure=handle_uploaded_file($f,$album)) != '') {


in picmgmt.inc

Array:
function userdir()
ersetzen durch
Array:
function userdir($album)


nach:
Array:
		} else {
			$dest_dir = $CONFIG['userpics'].FIRST_USER_CAT;
		}
einfügen:
Array:
		$dest_dir = $dest_dir . '/'.$album;


Array:
function handle_uploaded_file($file)
ersetzen durch
Array:
function handle_uploaded_file($file,$album)

Array:
	$dest_dir = userdir();
ersetzen durch
Array:
	$dest_dir = userdir($album);
(ist an zwei Stellen zu ersetzen!)

Den Namen des Albums kann man dann durch einen einfachen DB-Aufruf rausbekommen, das Ganze hat aber auch Nachteile: Wird das Bild in ein anderes Album verschoben bleibt es trotzdem in dem Verzeichniss, werden die Bilder gelöscht bleibt der Ordner trotzdem auf dem Server, auch wenn keine Bilder mehr drin sind.
Ach ja, Bilder löschen: Hab mal mein Albumsverzeichnis durchgesehen, und 26MB an Bildern (thumbs und normals nicht mitgerechnet) gefunden die zwar aus der Datenbank, nicht aber vom Server gelöscht wurden. Und das auf meiner eher kleinen Seite, möcht nicht wissen wie das auf großen Seiten aussieht wo viel gelöscht wird. Könnte da mal jemand diesen Thread bumpen, noch hab ich Hoffnung das der Fehler irgendwann mal behoben wird, der ist schon von Anfang an drin.

_________________
Bitte lies dies bevor du fragst.

Klas's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Jupload (Multiple File Upload) Plugin für Coppermine
Posted: 10.03.2008 01:25
Reply with quote

SUPER DING!! Klasse! Wink So könntest du es doch in der normalen Version auch rein packen Wink Is echt besser so, vorallem wegen der übersicht! Wink

Noch mal, besten dank dafür!!

LG

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Module & Blöcke
Page 6 of 9
All times are GMT + 1 Hour
Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Interactive software released under GNU GPL, Code Credits, Privacy Policy