Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Batch Upload no Error but fails  (Read 2894 times)

0 Members and 1 Guest are viewing this topic.

xn85turbo

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Batch Upload no Error but fails
« on: November 06, 2005, 03:44:25 pm »

I am not a new user to Coppermine nor Linux world and have a problem.

I installed the newest 1.3.5 and setup the app to spec. I have these versions installed;

httpd-2.0.54-10.2

php-5.0.4-10
php-gd-5.0.4-10

in my /etc/php.ini:  safe_mode = Off

I set all the permissions (idiot proof here as coppermine tells you it needs to be 777 on certain directories).

I go to do any amount of pictures 3, 10 , what ever and I get no thumb nail on the first link to the picures but if I click them I can see the picture in full size. I then click "insert selected files" and it runs very fast and I get the same no thumb nail picture. When I click on it to see the error there is none. Any ideas?


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

xn85turbo

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Batch Upload no Error but fails
« Reply #2 on: November 06, 2005, 03:53:25 pm »

Yeah I did the following and I think what was screwwing me was #7. I got it all working thanks.

Things to check:

1. max_input_time- 60 seconds is the default time limit for uploading files.

This time limit includes the time it takes for the files to upload, so if you exceed this limit, the file will not even parse, and the browser will not get a response. You can workaround this by trying to upload smaller or fewer files, or you can try uploading over broadband. The best solution, of course, is to increase the time limit to something more in line with your needs.

2. upload_max_filesize - 2MB is the default limit for individual files.

3. post_max_size - 8MB is the default limit for post requests.

4. memory_limit - 8MB is the default size.

5. PHP's LimitRequestBody - 512KB default limit. (mainly an issue on Redhat/Apache systems.  Found in /etc/http/conf.d)

In general, upload_max_filesize < post_max_size < memory_limit in order for uploads to function properly. Coppermine may warn you if a file exceeds upload_max_filesize, but it cannot warn you if the total size of all the files exceeds the post limit or the memory limit.

6. file_uploads - This determines whether or not PHP will allow file uploads. It must be set to 'On'.

7. upload_tmp_dir - This specifies the temporary directory where PHP stores uploaded files.

The most common issue caused by this setting is an open_basedir warning.  In this situation, your server administrator has restricted the files that PHP can work with to a certain directory.  If he does not create and specify a temporary directory within the open_basedir restriction, PHP will attempt to use the OS temporary directory, and it will be rebuffed by the open_basedir restriction.

8. allow_fopen_url - This controls PHP's ability to read files using URL/URIs.  If it is disabled, Coppermine will not be able to upload from URLs.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 16 queries.