Save Configuration problem when adding\changing descriptions

Hi :-)

I reinstalled phpalbum, and decided to continue using the picture descriptions. In some galleries, when we add the descriptions to the pictures and click on Save Configuration, we are redirected to the main 'Picture' page in the setup (and no gallery is selected), or we are redirected to the photoalbum itself, in stead of returning to the picture gallery which you were editing in the setup. The changes in the gallery are not saved.

The same happens if we want to have a certain picture as the thumbnail for that gallery.

This happens pretty random, and there doesn't seem to be anything indicating that this is because of something strange in the name of the gallery for example USA - New York (Sep 07). Before the reinstallation of Photoalbum we didn't had any problems with exactly the same setup. Some galleries seem to go ok, but others (and we suspect the more pictures, less the chance is it works, altough we have a max of 100 pics per gallery) we just can't save the configuration.

Any ideas? :-)

patrik's picture

May be your max_post_size is

May be your max_post_size is too small. Do you have now the same version of phpAlbum as before?

Do you get some errors in error log of phpAlbum or apache?

These are the two errors in

These are the two errors in the error log, and is added everytime I try to edit the description:

Warning
08/08/05 20:37:26 array_slice() expects parameter 1 to be array, null given
/home/our7wor/public_html/photoalbum/main.php (Line:980)
Warning
08/08/05 20:37:26 Invalid argument supplied for foreach()
/home/our7wor/public_html/photoalbum/main.php (Line:981)

If I open up main.php, I see the following lines at 980 and 981:

       $fl=array_slice($filelist,$start_with,$number_of_thmbs);
       foreach($fl as $key => $record){

Unfortunately I have no access to other logs, and I am not sure if this is the same version as before. I can check it with a backup somewhere if you need to know this. The average picture filesize is 150KB and the resolution is 800x535.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.