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 problem: exhausted memory, .htaccess method doesnt work  (Read 2783 times)

0 Members and 1 Guest are viewing this topic.

voydd

  • Coppermine newbie
  • Offline Offline
  • Posts: 10

Hi there.
First of all, here is my gallery:
http://voydd.pl/cpg1413/index.php
U may log as "new", password "test".
But as long as problem concerns batch upload not http, I think there is no need fot U to do so.
Problem emmerges when I try to upload files with hi-res (calculating needed memory it is like 12M ish). I read Your sticky topic, many soved treads about batch-upload problems and contacted my webhost asking about changes in php.ini. They replied me suggestin' usin' .htaccess file. So I created one and put such a line inside:
php_value memory_limit 20M
As long as I dont know where to place the .htaccess file, I copied it to albums and main cpg1413 folder. And still it didnt work. Then I read about changing files index.php and install.php by placing there on a top a line:
ini_set("memory_limit","32M");
That didnt change anything neither.
I have to say that uploading files corresponding to 8M or less works perfectly.
I hope that there is a diffrent sollution fot this case than making files smaller.
voydd
« Last Edit: October 25, 2007, 02:58:05 pm by Nibbler »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: batch upload problem: exhausted memory, .htaccess method doesnt work
« Reply #1 on: October 25, 2007, 09:47:41 am »

Do as suggested by your hosting and then check your phpinfo() and see if your memory limit takes the effect or not
if it doesn't work then ask your host for support
Logged
‍I don't answer to PM with support question
Please post your issue to related board

voydd

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: batch upload problem: exhausted memory, .htaccess method doesnt work
« Reply #2 on: October 25, 2007, 02:51:38 pm »

Thanks for the advice about phpinfo(). Its really powerful diagnostic thing:)
In my case I just had to put more memory in .htaccess file...
Problem solved
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.