Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Another Batch Add Problem  (Read 5868 times)

0 Members and 1 Guest are viewing this topic.

Kattis

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Another Batch Add Problem
« on: March 18, 2004, 09:09:08 am »

When I click Batch Add I get the following message:
Quote
Fatal error: Maximum execution time of 30 seconds exceeded in /home/alyson/public_html/gallery/searchnew.php on line 205


Now, this is just from clicking the initial batch add button, which lists the folders. I have a feeling that there are too many folders to show or something, but what can I do about that. I can't delete them obviously, as all the uploaded pictures will disappear if I do. I am attaching a screen cap of the problem :)

(http://www.alysonfan.com/screencapprob.jpg)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Another Batch Add Problem
« Reply #1 on: March 18, 2004, 10:01:39 am »

the error message you get simply means that listing all folders and subfolders takes too much time, so you're experiencing a timeout. If the webserver you're hosted in is yours to administer, you could modify the settings in php.ini for the maximum time a script is allowed to run before it is terminated. If you're webhosted, you could politely ask your webhost to raise this setting for you (although I doubt that you'll be succesfull with this request). You could as well try using a different browser for a start (something else than IE, Opera recommended), and if you're on a slow dial-up connection it might also help to try to go to a friends pc with a broadband connection.

If none of this suggestions apply to you or help you, I'm afraid that you will have to change webhosts or reduce the number of folders you store pics in - this can be done with ftp access and modifications of the mySQL database entries, but is only recommended for experienced users (since it's not rocket science, but cardial surgery :wink: ).

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Another Batch Add Problem
« Reply #2 on: March 18, 2004, 12:24:00 pm »

I'm sure I saw this before, and someone came up with a hack to display only so many folders, and a next/previous type nav.

BUT, after searching for some time, I can't find it :?
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Kattis

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Another Batch Add Problem
« Reply #3 on: March 18, 2004, 12:25:10 pm »

That would be a blessing  :D
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Another Batch Add Problem
« Reply #4 on: March 18, 2004, 06:34:34 pm »

If you are not in safe mode, you can add this to the beginning of searchnew.php.

set_time_limit(60);

This will raise the time limit to 60 seconds, etc.  However, it will have no effect when in safe mode.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

jriba

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 21
Re: Another Batch Add Problem
« Reply #5 on: January 19, 2005, 02:57:35 am »

It's been some time since these postings (about 10 months), so I'll ask.

I'm using coppermine in such a way that I'm putting up about 7 events per week, that's 365 events in a year.  It does not matter how I arrange them in the folder structure, because in any case, the "batch add" utility does not allow for folders to be "collapsed/expanded".. therefore, if I use folders like /2005/01/14/event/ it will actually use up more space than just using /20050114event/, since the extra "date" folders will not be used, and cannot be collapsed.

Has anyone been able to find a solution (or the mod) for this problem? 

Thanks!!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Another Batch Add Problem
« Reply #6 on: January 19, 2005, 07:01:41 am »

It's been some time since these postings (about 10 months), so I'll ask.
What did you expect on the support board for version cpg1.2, which has been outdated for very long. Using cpg1.2.x is not recommended any longer.
I'm using coppermine in such a way that I'm putting up about 7 events per week, that's 365 events in a year. It does not matter how I arrange them in the folder structure, because in any case, the "batch add" utility does not allow for folders to be "collapsed/expanded".. therefore, if I use folders like /2005/01/14/event/ it will actually use up more space than just using /20050114event/, since the extra "date" folders will not be used, and cannot be collapsed.

This is not an actual problem, but a matter of design. We're working on a workaround for the next coppermine version, but currently you will have to live with this I'm afraid (there will be no backport). However, you could use one folder per week - this will reduce the number of folders to 52 instead of 365...

Joachim
Logged

jriba

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 21
Re: Another Batch Add Problem
« Reply #7 on: January 21, 2005, 03:13:10 am »

Didn't notice that it was a CPG 1.2 post.. oops..

Good idea about the 1 per week folder, sounds more manageable.

Any idea of an estimated public release date for CPG 1.4?? That way I can estimate around how many foldrs I'll be working with before I can start testing/upgrade to CPG 1.4.  Let me know.. & Thanks!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Another Batch Add Problem
« Reply #8 on: January 21, 2005, 04:19:24 pm »

you're welcome to test cpg1.4 anytime, but upgrading your "live" gallery with cpg1.4 files or (generally speaking) using cpg1.4 in production environment is not recommended. Cpg1.4 comes without support, if you can live with this, you're welcome to use it. There's no release date know.

Joachim
Logged

jriba

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 21
Re: Another Batch Add Problem
« Reply #9 on: January 21, 2005, 05:02:09 pm »

Sounds good.. Where can I download CPG1.4 from?  If this info should not be publicly available, PM me the info.. Thanks!
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Another Batch Add Problem
« Reply #10 on: January 21, 2005, 07:59:59 pm »

It's available from the first post in the 1.4 testing/bugs board.  We don't support by email.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.042 seconds with 19 queries.