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

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 22, 2008, 03:55:08 pm
+  RSGallery2 Support Forums
|-+  Developers corner
| |-+  Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened! (Moderators: Daniel Tulp, Chef Groovy)
| | |-+  [SVN-439] Backend Batch Upload via FTP - Error
Advanced search
  « previous next »
Pages 1
Author
Topic: [SVN-439] Backend Batch Upload via FTP - Error  (Read 8346 times)
« on: November 11, 2006, 09:30:38 pm »
argie Offline
Newbie
*
Posts: 9

View Profile Email

PHP 4.4.4
Joomla 1.0.11

Attempted to upload via FTP on the backend.  After clicking next received the following error:

Notice: Undefined variable: ziplist in /home/sjiyforg/public_html/administrator/components/com_rsgallery2/includes/img.utils.php on line 1111



See attached screenshot
Logged
 
Reply #1
« on: November 12, 2006, 02:12:28 am »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1214

View Profile WWW Email

OK,

You've posted 4 messages now. I will only react in this thread. Next time, please do not flood this forum with posts, just pack them together in one.

Starting with the Batchupload error[SVN-436].
I need more information.
- Do you have EMULATION_RG set to 1 or 0? (This is a Joomla setting in globals.php)
- Can you provide an overview of important PHP-settings? of your system?(Backend->System Settings->Relevant PHP settings (1st tab))

- Did you create a category to upload them in first(sounds silly but it wouldn't be the first time)
- Did you have a ZIP or a TAR file?
- Did you choose a category in step 1 of did you choose "Specify per image in step 2?"

Thanks,


« Last Edit: November 12, 2006, 02:14:16 am by Ronald Smit » Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Reply #2
« on: November 12, 2006, 02:22:19 am »
argie Offline
Newbie
*
Posts: 9

View Profile Email

Good evening.

First off... forum etiquette you only put one issue per post.  And I was following your sticky note as well regarding posts.

EMULATION_RG = 0

I don't know how to access my PHP System Settings Backend

Yes I did create a category

ZIP File

I attempted both in step 1.


Logged
 
Reply #3
« on: November 12, 2006, 02:32:23 am »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1214

View Profile WWW Email

You probably haven't read the sticky in this forum, but that's OK. When posting in the Nightly builds forum, we'd like the errors to a specific SVN release together.

1. EMULATION_RG -> Can you change this setting to 1 and see if this solves any of your problems? If so, we need to check the register globals fixes we've done.
2. When loggin into Joomla backend, in the menu bar the last item before help is System. CLick on that and select System info. Goto the first tab. There is a heading called Relevant PHP settings. Please copy and paste this into your reply.

Let me know how you are doing.

Thanks,

Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Reply #4
« on: November 12, 2006, 03:10:26 am »
argie Offline
Newbie
*
Posts: 9

View Profile Email

This time after setting globals=1:

attempting to batch upload via zip file, it just redirected me to the home page of the admin (after waiting a long time, assuming it was uploading the zip file)

attempting to batch upload via ftp, i received the following error:Notice:

Undefined variable: ziplist in /home/sjiyforg/public_html/administrator/components/com_rsgallery2/includes/img.utils.php on line 1111


i found the php settings, what info do you need from there?

Logged
 
Reply #5
« on: November 12, 2006, 03:16:51 am »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1214

View Profile WWW Email

Just copy and paste the section Relevant PHP settings from the first tab(Not the complete second tab please)

The uploads you mentioned before, did not succeed? Batchupload does take some time if the file is large.

Cheers,



Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Reply #6
« on: November 12, 2006, 03:24:25 am »
argie Offline
Newbie
*
Posts: 9

View Profile Email

i just attempted again to do an ftp upload.  and received an error about arrays.  i closed it out before remembering to copy the actual error but it was the same error message that i posted earlier regarding ftp batch upload.  i also noticed that the batch ftp upload automatically deletes all files in that folder.  every attempt i check back in my ftp folder and all my files were gone.  why does this happen?  is it neccesary for it to delete the files?  the ftp folder is not dedicated for the gallery upload.  they are by user and they hold more than just photos in them.


php settings:


Joomla! Register Globals Emulation:  ON   
Register Globals:  OFF   
Magic Quotes:  ON   
Safe Mode:  OFF   
File Uploads:  ON   
Session auto start:  OFF   
Session save path:  /tmp 
Short Open Tags:  ON   
Output Buffering:  OFF   
Open basedir:  none 
Display Errors:  ON 
XML enabled:  Yes 
Zlib enabled:  Yes 
Disabled Functions:  none 

Logged
 
Reply #7
« on: November 12, 2006, 03:37:02 am »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1214

View Profile WWW Email

Ok,

Thanks for the info. The deleting part from the FTP source is removed from code. You are right, this serves no purpose. I attached the new img.utils.php in this post. Copy this over the old one and that won't happen again.

Just to be sure: does your ftp path ends with a "/"?

use the new img.utils.php and let me know again. (it is located in <joomlaroot>/administrator/components/com_rsgallery2/includes/)

Cheers,
Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Reply #8
« on: November 12, 2006, 03:45:45 am »
argie Offline
Newbie
*
Posts: 9

View Profile Email

uploaded file as instructed.  Attempted to FTP batch upload and the files remained.  Good news.

Bad news... still receiving error:

 Error Image Upload : 11-05-06 (89).JPG : error creating display image: Array
- Error Image Upload : 11-05-06 (90).JPG : error creating display image: Array
- Error Image Upload : 11-05-06 (91).JPG : error creating display image: Array


yes i do place a "/" at the end of the path.  After clicking "next" I am able to see the picture preview of the files in the path, but after clicking next after that is when i receive the error above.


Logged
 
Reply #9
« on: November 12, 2006, 04:00:27 am »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1214

View Profile WWW Email

Ok,
We'll get there.
Can you do me a favour. I see your filenames have spaces and other odd characters like ( and ) in them.
Could you upload a zip with "normal filenames"(no spaces and other characters).
We have some filename checking routines, but perhaps they are not working properly.

Thanks,

Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Print  Pages 1
« previous next »
Jump to: