While batch adding I found a problem. The batch add function don't accept a directory with a dot in it ( album.name )
You can see ( see bold text ) that searchnew.php cuts out everything in the directory name that comes after the . ( real name ( album.name ))
I may sound silly you might say, just rename the directory....... But the problem is that the content is already live and published so I really don't want to change the directory structure.
Warning: opendir(album/): failed to open dir: No such file or directory in /web/sites/mydomain.com/members/copperminevid/searchnew.php on line 191
Warning: readdir(): supplied argument is not a valid Directory resource in /web/sites/mydomain.com/members/copperminevid/searchnew.php on line 192
Warning: closedir(): supplied argument is not a valid Directory resource in /web/sites/mydomain.com/members/copperminevid/searchnew.php on line 202
Regards
Crippe
Find this line:
//if (is_dir($CONFIG['fullpath'] . $folder . $file) && $file != "." && $file != "..") { // removed by following line for 'do not show folders with dots': gaugau 03-11-02
in searchnew.php, uncomment it, and comment out the line immediately below instead.
Hi Nibbler thanks for getting back to me so fast :D,
Nope that didn't do it, still the same result :\'( The directory name is still getting cut off after the . so coppermine can't find the files in that directory. Coppermine actually list the directory name correctly on the bach page.
Comment out this:
$dir = str_replace(".","" ,$dir);
We'll get there in the end :)
Hi Nibbler
Yepp that did the trick!
Thanks for great support !
Regards
Crippe