Hi
Have about 40 images in a local dir, but wen adding the files, it only list 7 of the images, and adds them to G2.
Creating a folder with all the images in, and adding this give me the same result, the onely this that is different is that it correctly create a album in G2 with the folders name.
Is there something I`m doing wrong or is it a little bug?
----
Gallery version: latest CVS version
Webserver :Apache/1.3.33 (Darwin)
Datatabase : Mysql-standard-4.1.10-apple-darwin7.7.0-powerpc
PHP version : 5.0.3
Graphics Toolkit(s):
Operating system: OS X 10.3
Web browser/version: Firefox 1.x
Posts: 8601
check the permissions on the files on the local server? they need to be readable by your webserver/php user.
Posts: 383
also check the execution time allowed for php scripts and other sorts of actions (they are in the php.ini and can be found using phpinfo();)
But I am not sure if gallery2 actually makes sure the entire transaction went ok or not if it does then this will not be the cause...
Posts: 31
Solved!
1. changed the time from 30 to 60sec on max_execution_time=60 ut I dont think G2 i using this.
2. The upload dir and parrent dir is 755, but is is only listing 7 files of 40 and was only able to add these...
Changed the owner to www, that is what apache is running as on OS X now everything worked!
So I then checked the permission on the image files, and they was set to 600 except on, yes 7 files that was 644. Arrgh.
Is there any way to make G2 detect that it is missing files in the "file-listing" and give a warning that is is not able to list and add all files?