HI!!!
i need some help in my zenphoto installation, the scenario is:
Zenphoto 1.2.8 + IIS 7.0 (Windows Server 2003 R2) + DFS
The IIS server uses DFS for replicate some directories with photograph thar are on another two servers, the dfs service create a directory (F:\directory\DfsrPrivate) with hidden and system atribute, but Zenphoto read it, and show this error:
Warning: opendir(F:/directory/DfsrPrivate/) [function.opendir]: failed to open dir: Invalid argument in C:\Inetpub\wwwroot\zenphoto\zp-core\class-album.php on line 1264
Warning: readdir(): supplied argument is not a valid Directory resource in C:\Inetpub\wwwroot\zenphoto\zp-core\class-album.php on line 1268
Warning: closedir(): supplied argument is not a valid Directory resource in C:\Inetpub\wwwroot\zenphoto\zp-core\class-album.php on line 1281
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\zenphoto\zp-core\class-album.php:1264) in C:\Inetpub\wwwroot\zenphoto\themes\default\album.php on line 2
The DfsrPrivate directory cant be changed to another path.
In ZenPhoto i cant delete this album or unpublish, the permission of the DFS directory are:
System (full grant)
MACHINE\Administrator (full grant)
How is it possible that Zenphoto read the directory? Can i "exclude" this directory?
In the zp-config.php the values of the album is:
$conf['album_folder'] = 'F:/directory/';
$conf['album_folder_class'] = 'external';
Anyone have some idea for this issue?
Thank!!!!!
P.D: sorry for my bad english.
I think this is a permissions problem and not a zenphoto issue.
You might want to try opening the permissions to Everyone on the host machine and then backing them out to get what you need. Most likely, the user that will need further permissions is the IIS default user (IUSR_).
I'm not too keen on Windows permissions so you may have to play around with it a bit yourself to find what you need.