On Mon, Jan 17, 2005 at 04:08:18PM -0500, Michael Schultheiss wrote: > Roel van der Made wrote: > > Package: gallery > > Version: 1.4.4-pl4-7 > > Severity: important > > > > > > When (auto-)upgrading my albums from gallery 1.41 to 1.4.4-pl4-debian7 > > it seems it hangs on 'upgrading' .avi movie file items. > > > > The .avi is correctly recognised: > > > > MVI_1950.avi: RIFF (little-endian) data, AVI, 320 x 240, 20.00 fps, video: > > Motion JPEG, audio: uncompressed PCM (mono, 11024 Hz) > > > > The convert just stops (whatever it tries to upgrade). > > You may be exhausting the available memory that PHP has access to. In > php.ini there is a config variable named memory_limit that by default is > set to 8MB. I quickly exhausted this after uploading a couple thousand > images and had to increase it. Edit php.ini and increase it to a larger > value (restart Apache afterwards). If you don't have access to php.ini, > you can add this line to your .htaccess file. > > php_value memory_limit [new memory limit] > > Note: When adding that line to .htaccess, you must use a number, in bytes. > For example, 8MB would be about 8000000 bytes.
This is not it, already was set to a higher value. > Another possibility is that you're experiencing the same issue as > http://sourceforge.net/tracker/index.php?func=detail&aid=942056&group_id=7130&atid=107130 Indeed, seems to be the same issue. > If you place your gallery in debug mode (by setting $gallery->app->debug > to "yes" in /etc/gallery/config.php or selecting "yes" for Debug mode in > the configuration wizard), you should be able to determine where exactly > the issue is. As shown below: Upgrading item 30 of 51 . . . done. Upgrading item 31 of 51 . . . done. Upgrading item 32 of 51 . . . done. Upgrading item 33 of 51 . . . done. Upgrading item 34 of 51 . . . done. Upgrading item 35 of 51 . . . done. Upgrading item 36 of 51 . . . done. Upgrading item 37 of 51 . . . done. Upgrading item 38 of 51 . . . done. Upgrading item 39 of 51 . . . done. Upgrading item 40 of 51 . . . done. Upgrading item 41 of 51 . . . The file /home/roel/sites/sitename/html/albums/album02/MVI_1950.thumb.jpg does not exist ?! Had to copy the /usr/share/gallery/images/movie.thumb.jpg to the MVI_xxxx.thumb.jpg for *all* movie files in that album to get past this issue.. Wierd, cause I have other albums with also .mov files in it which were 'upgraded' correctly. Thanks Roel. > > -- > ---------------------------- > Michael Schultheiss > E-mail: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]