When I click on Batch add files it takes 3-5 minutes for the searchnew.php page to display the first directory listing. This only happens on my shared web host machine. Is there anything I can do to speed up the display of this page or debug what the problem is? I've verified the permissions on the albums dir are correct according to the FAQ. The number of directories in albums/uploaded_files doesn't seem to have an effect on how long it takes.
hehe i dont think there is a way to speed it up :D
may i see the url to your gallery
I removed the recursive call to display_dir_tree($folder . $file . '/', $ident . ' '); in the display_dir_tree function in searchnew.php and it's much faster now. Is this going to cause any downstream problems? It looks like the page is caching the directory tree the first time this page is accessed. My directory structure contains thousands of files and it's way too slow.
Thanks!
I suggest reviewing the folder structure / nesting. Use the browsable batch-add interface if you can.