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:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 2 Guests 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