coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: ppeter on December 02, 2003, 11:22:19 AM

Title: Problem with directory with . in 1.2 not in 1.1 why?
Post by: ppeter on December 02, 2003, 11:22:19 AM
hello!

i have in  the albums directory in 1.1 with the name:

image1.kirche
in 1.2 he to not read this directory, why?
he only read it without .
image1kirche

Warning: opendir(albums/image1kirche/): failed to open dir: No such file or directory in /Library/Tenon/WebServer/WebSites/www.edith-temmel.at/gallery/searchnew.php on line 178

Warning: readdir(): supplied argument is not a valid Directory resource in /Library/Tenon/WebServer/WebSites/www.edith-temmel.at/gallery/searchnew.php on line 179

Warning: closedir(): supplied argument is not a valid Directory resource in /Library/Tenon/WebServer/WebSites/www.edith-temmel.at/gallery/searchnew.php on line 189

found no new pictures
Title: Problem with directory with . in 1.2 not in 1.1 why?
Post by: Joachim Müller on December 03, 2003, 12:26:34 AM
you shouldn't use dots in folder names (at least when on Linux/Unix webservers) - that's why we modified the searchnew function in cpg1.2.0.
If this is a problem for you and you absolutely must have dots in folder names, you can safely go back to how things were in 1.1 by replacing the searchnew.php on your webserver with searchnew.php from the cpg1.1 package you used to have.

GauGau