i have uploaded my images to the folders successfully
except 1 or 2 folders
one of the folder seems to have created the thumbs_ and normal_ but the album does not show any pictures :(
and if i try and batch upload again i get DP : means that the picture is a duplicate and is already in the database
but images dont show for the album :(
and another problem
i try to do a batch add form a folder and i get the errors
Warning: opendir(albums/4/): failed to open dir: No such file or directory in /home/www/rapid.50free.org/gallery/searchnew.php on line 178
Warning: readdir(): supplied argument is not a valid Directory resource in /home/www/rapid.50free.org/gallery/searchnew.php on line 179
Warning: closedir(): supplied argument is not a valid Directory resource in /home/www/rapid.50free.org/gallery/searchnew.php on line 189
List of new pictures
No new picture was found
and i would like to say you guy have been so helpful, and one day i can give some advice to others
cheers :)
is this the code form line 178- 189
$dir = opendir($CONFIG['fullpath'] . $folder);
while ($file = readdir($dir)) {
if (is_dir($CONFIG['fullpath'] . $folder . $file)) {
if ($file != "." && $file != "..")
$dir_array[] = $file;
}
if (is_file($CONFIG['fullpath'] . $folder . $file)) {
if (strncmp($file, $CONFIG['thumb_pfx'], strlen($CONFIG['thumb_pfx'])) != 0 && strncmp($file, $CONFIG['normal_pfx'], strlen($CONFIG['normal_pfx'])) != 0 && $file != 'index.html')
$pic_array[] = $file;
}
}
closedir($dir);
:?
problem fixed
one thing i noticed is when i clicked batch add and then select the picture/photos to add they did not tick it self. so after palying around witht he album name i magages to batch upload and this time it ticked it self(is there a bug witht he batch add with this version) or it must be caus my database is screwed
and what happen when i run out of free disk space on the hoster site???
do i have to upload all the pic back on the new web hos/server??
:(