Large Userbase Can't Set Permissions

temptaker

Joined: 2006-03-10
Posts: 2
Posted: Fri, 2006-03-10 05:17

Hi,

I have gallery working on a phpnuke site which has over 100K in users. When I try to create a new gallery, or otherwise set the permissions it basically times out. The part to add the owner shows up in the window but nothing else.

We have tried to set this manually by copying over the permissions from another working gallery. That works fine until we try to change the owner. Since it is working in nuke the "god" uid is 2. When we try to put another id in there regardless of what the number is it wont take it. The owner becomes blank.

Suggestions?

Thanks for your help.

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Fri, 2006-03-10 06:05

This is a long-standing issue with Gallery 1 - the problem is that your system is timing out before it can generate the page. More than likely if you view the source for the change permissions page when this issue occurs, you'll see "time limit 30 seconds exhausted" (or similar) at the bottom of the source.

The only solution to this is to increase the time limit allowed to PHP in your php.ini

Developer, G1 and G2
http://www.cothlamadh.net/gallery/
Your donations help make Gallery

 
temptaker

Joined: 2006-03-10
Posts: 2
Posted: Fri, 2006-03-17 02:52

Excellent! Thanks very much. I'll check if that works.