[Solved]: error while trying to upload [Solved]: error while trying to upload
 

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

[Solved]: error while trying to upload

Started by dt, April 02, 2004, 05:38:48 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

dt

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 :)

dt

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);


 :?

dt

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??

 :(