1
majortom
MyAlbum-P Multiple Uploads
  • 2003/11/6 0:43

  • majortom

  • Just popping in

  • Posts: 7

  • Since: 2003/11/6


Maybe I am trying to use this feature wrong, I am a newbie so I can use that as an excuse right?

I am trying to upload multiple pictures into the MyAlbum-P module. I have ftp'd the pictures to the "uploads/photos" directory and I try to use the "Batch Register" feature to get them listed into the album. I enter the directory location that I ftp'd the images too and it keeps telling me "Invalid Directory". I have tried every varition of directory path from "../../../uploads/photos" to the full server file path and all with the same error message.

Is this module the best one for me to use? Bulk uploads is my primary method of loading pictures to the gallery.

Thanks for your help!


2
Anonymous
Re: MyAlbum-P Multiple Uploads
  • 2003/11/6 1:54

  • Anonymous

  • Posts: 0

  • Since:


I too experience this problem of Batch register to the point now I am thinking this feature just does not work.

I am familiar with this module before GIJOE updated it and the Batch register worked correctly then.

Like you I have tried every permetation I can think of and still receive 'Invalid Directory' warning.

So your not alone, and also on other XOOPS web sites others are asking, experiencing the exact same problem world wide.

This is a good updated module by GIJOE. I wish the batch register would operate correctly, as I too update on batch.

Cheers


3
GIJOE
Re: MyAlbum-P Multiple Uploads
  • 2003/11/6 8:30

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


I've just known some version of php fails returning right permission of is_executable().

Try this:

myalbum/admin/batch.php
line 58-
// Check Directory
    
$dir $_POST['dir'] ;
    if( empty( 
$_POST['dir'] ) || ! is_dir$dir ) [d]|| ! is_executable$dir )[/d] ) {
        
redirect_header$PHP_SELF _ALBM_MES_INVALIDDIRECTORY ) ;
        exit ;
    }
    if( 
substr$dir , -) == '/' $dir substr$dir , -) ;

4
Anonymous
Re: MyAlbum-P Multiple Uploads
  • 2003/11/6 14:53

  • Anonymous

  • Posts: 0

  • Since:


GIJOE

Thanks for your swift support of this module.

Your posted fix works and Batch register is now running well.


Cheers

Serge

5
majortom
Re: MyAlbum-P Multiple Uploads
  • 2003/11/8 5:48

  • majortom

  • Just popping in

  • Posts: 7

  • Since: 2003/11/6


Many Many Thanks GIJOE!! The patch works like a charm!!!

Login

Who's Online

239 user(s) are online (165 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits