Problem with directory with . in 1.2 not in 1.1 why? Problem with directory with . in 1.2 not in 1.1 why?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Problem with directory with . in 1.2 not in 1.1 why?

Started by ppeter, December 02, 2003, 11:22:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ppeter

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

Joachim Müller

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