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

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 01, 2008, 07:06:17 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  [solved] Error when using the batch upload
Advanced search
  « previous next »
Pages 1
Author
Topic: [solved] Error when using the batch upload  (Read 3839 times)
« on: May 17, 2007, 05:57:14 pm »
Offline
Newbie
*
Posts: 5



I'm new to RSGallery and Joomla in general.  1.12.2  Installed perfectly fine with no errors and I am able to upload individual images with no problem.  However, when I use the batch upload I don't get any errors but it kicks me out of the RSGallery component page and puts me in the Joomla configuration page.  I go back into RSGallery and no images have been uploaded. 

I have SSH access to my provider so I went into the administrator folder and looked at the error_log and found the following entries:

[17-May-2007 15:50:15] PHP Warning:  POST Content-Length of 10552494 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
[17-May-2007 15:55:22] PHP Warning:  POST Content-Length of 10552504 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

Looks like there is a limitation to the size I can upload and I would like to know where that limitation is configured.  The RSGallery configuration page indicates that my php.ini limites my uploads to 102 mb so I'm assuming this 8388608 bytes is a Joomla setting.
« Last Edit: May 22, 2007, 01:29:45 pm by Jonah » Logged
 
Reply #1
« on: May 22, 2007, 01:05:41 pm »
Offline
Newbie
*
Posts: 5



It appears that my ISP has the post size set to 8mb and upload size set to 102mb.  They allow you to override there settings by putting a php.ini in everyfolder.  I made the changes and add the php.ini to every folder and it works.
Logged
 
Reply #2
« on: May 22, 2007, 01:29:37 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1413



Good to hear, thanks for posting your solution!
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #3
« on: January 25, 2008, 04:53:53 pm »
lux Offline
Newbie
*
Posts: 5



It appears that my ISP has the post size set to 8mb and upload size set to 102mb.  They allow you to override there settings by putting a php.ini in everyfolder.  I made the changes and add the php.ini to every folder and it works.

I just upgraded to RS Gall 1.14.1 on Joomla 1.0.13 and am having the exact same problem - submitting a batch upload takes me to my Joomla admin home page and no images get uploaded.

Can someone tell me how to create a php.ini file and what goes in it?
Logged
 
Reply #4
« on: January 26, 2008, 12:05:18 am »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1413



That may not be the way you need to solve your issue.  Review the FAQs at http://rsgallery2.net/content/view/13/21#largeupload and try the suggestions there.

Good luck!
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #5
« on: February 13, 2008, 12:34:42 pm »
gnubler Offline
Newbie
*
Posts: 7



Sorry to bump a thread marked [solved], but I don't want to start a new thread with the exact same topic.

I contacted my hosting provider and she said:

Quote
The way to go is to put a text file named php.ini in the same folder as the script(s) for which you're setting the value. Php.ini should contain this line:

upload_max_filesize = 8M (or whatever suits you best...)

So I've created the php.ini file with the values I need, but where exactly do I put it? Looking through my com_rsgallery2 directory I'm not sure where it goes. TA2 wrote above to put it in "every folder". Every folder?

RSGallery2 FAQ states:
Quote
I can't upload large images or zip files.

PHP has a number of settings that limit file uploads. You will need to ask your hosting provider to change these settings in the file php.ini. If you are hosting your own site, please read the PHP manual on Handling File Uploads and Common Pitfalls.  The following are suggested minimums:

max_execution_time: 300
memory_limit: 32MB
post_max_size: 32MB
upload_max_filesize: 32MB

The last three should be higher than the largest zip file you want to upload.

Is that the correct syntax to use? All the other examples I've seen use equal signs and M for megabytes, not MB.

Please help!
Logged
 
Reply #6
« on: February 13, 2008, 01:05:31 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1413



Follow the syntax in the php.ini file on your system.

The php.ini file needs to be in the folder where your index.php files are.  So / and /administrator should suffice for Joomla!.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Print  Pages 1
« previous next »
Jump to: