RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 03, 2008, 11:50:28 pm
+  RSGallery2 Support Forums
|-+  Developers corner
| |-+  Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened! (Moderators: Daniel Tulp, Chef Groovy)
| | |-+  SVN613 batch upload doesn't work
Advanced search
  « previous next »
Pages 1
Author
Topic: SVN613 batch upload doesn't work  (Read 4472 times)
« on: February 25, 2007, 03:47:30 am »
Antonio Offline
Newbie
*
Posts: 8



I have a fresh install from jRGGallery2, I try the  batch upload but it doesn't work.

See image bellow for the errors.
Logged
 
Reply #1
« on: February 25, 2007, 05:26:08 am »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1219

WWW

You are right.

It is fixed in SVN 614.
If you want to modify yourself, here is how.
Open up img.utils.php and goto line 1196. It should read:
Code:
if ( !in_array( fileHandler::getImageType($file), $this->allowedFiles ) ) {

change this to:
Code:
if ( !in_array( fileHandler::getImageType($extractDir . $file), $this->allowedFiles ) ) {

It now will provide the correct path to the getImageType() function.
Let me know if this fixes your problem.

Thanks.

« Last Edit: February 25, 2007, 05:30:29 am by Ronald Smit » Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Reply #2
« on: February 26, 2007, 04:26:51 am »
Antonio Offline
Newbie
*
Posts: 8



Yes thanks Smiley
Logged
 
Print  Pages 1
« previous next »
Jump to: