Announcement

  •  » Extensions
  •  » [resolved] I cannot uploaded with pLoader!

#1 2010-02-09 15:21:04

winson
Translation Team
China
2009-06-02
40

[resolved] I cannot uploaded with pLoader!

I have downloaded  the laster version : pLoader 2.0.7

I have created a upload folder in piwigo root, and then I cannot upload success with pLoader,the error is : Communication error with http://my URL :500 [add_file] error during file director

but I found there is a buffer folder in upload folder after this.

by the way, I found cannot show the Chinese category name in it.

the following capture are the error and category display screen:


Uploaded Images

Last edited by winson (2010-02-09 15:24:26)

Offline

 

#2 2010-02-09 15:24:48

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13173

Re: [resolved] I cannot uploaded with pLoader!

Hi Winson,

Can you describe what you have in the "upload" directory on server side?
Do you have write access on "upload" directory?


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#3 2010-02-09 15:28:05

winson
Translation Team
China
2009-06-02
40

Re: [resolved] I cannot uploaded with pLoader!

Yes, it has full access rights, and there are 3 files in the upload/buffer folder after I uploaded fail:

a2dea1b640da68b9fd9ad80f3c458c00-file-00001.block
a2dea1b640da68b9fd9ad80f3c458c00-thumb-00001.block
index.htm

Offline

 

#4 2010-02-09 15:49:10

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13173

Re: [resolved] I cannot uploaded with pLoader!

I don't understand the upload issue. I need more details.

1) in Localfiles Editor, add:

Code:

$conf['ws_enable_log'] = true;
$conf['ws_log_filepath'] = 'upload/buffer/log.txt';

2) modify include/ws_functions.inc.php : approximately near to line 1036, in function add_file, after:

Code:

  $upload_dir = dirname($file_path);

insert

Code:

  ws_logfile('[add_file] file_path  : '.$file_path);
  ws_logfile('[add_file] upload_dir : '.$upload_dir);

3) try another upload with pLoader

4) display the content of http://www.winsonalbums.com/upload/buffer/log.txt

My intuition leads me to think that the recursive parameter in mkdir does not work on your PHP installation (mkdir works because upload/buffer was created). Can you tell us what is your PHP version precisely?


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#5 2010-02-09 16:01:54

winson
Translation Team
China
2009-06-02
40

Re: [resolved] I cannot uploaded with pLoader!

Ok, I have finished the setting, now you can see the log file in the path

http://www.winsonalbums.com/upload/buffer/log.txt

my PHP version is 5.0

Offline

 

#6 2010-02-09 16:06:10

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13173

Re: [resolved] I cannot uploaded with pLoader!

And I remind that you're running Windows for your server, right?


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#7 2010-02-09 16:06:52

winson
Translation Team
China
2009-06-02
40

Re: [resolved] I cannot uploaded with pLoader!

Yes, is that a problem ?

Offline

 

#8 2010-02-09 16:28:45

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13173

Re: [resolved] I cannot uploaded with pLoader!

winson wrote:

Yes, is that a problem ?

Yes, I think this is the problem. Let's find a solution now :-)

Still in the add_file function in include/ws_functions.inc.php, after

Code:

  $upload_dir = dirname($file_path);

insert

Code:

  if (substr(PHP_OS, 0, 3) == 'WIN')
  {
    $upload_dir = str_replace('/', DIRECTORY_SEPARATOR, $upload_dir);
  }

And give another try :-)


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#9 2010-02-09 16:36:00

winson
Translation Team
China
2009-06-02
40

Re: [resolved] I cannot uploaded with pLoader!

Ok, it's works! That's great! Thanks :)

Offline

 

#11 2010-02-17 17:17:38

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13173

Re: [resolved] I cannot uploaded with pLoader!

I've just fixed the 2 previously listed bugs. The fix is in Piwigo 2.0.9 (soon to be released).


Latest blog post (May 3rd 2018) New subscription form

Offline

 
  •  » Extensions
  •  » [resolved] I cannot uploaded with pLoader!

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact