Поставил

Invision_Gallery_v1.3.0_Fixed_Version [RUS]

при попытке загрузить фото из админики пишет


IPB WARNING [2] process_file(gallery_mime_types.php): failed to open stream: No such file or directory (Line: 1494 of /modules/gallery/admin/ad_tools.php)
IPB WARNING [2] process_file(gallery_mime_types.php): failed to open stream: No such file or directory (Line: 1494 of /modules/gallery/admin/ad_tools.php)


Привожу кусок кода

CODE
       /************
        * Now we need to start importing the files
        **************/
       require( ROOT_PATH . 'modules/gallery/lib/image.php' );
       $processed = 0;
       if( is_array( $files ) )
       {
           foreach( $files as $file )
           {
               $temp     = array( 'file_name'     => $file,
                                  'file_size'     => filesize( $ibforums->input['dir'] .'/'. $file ),
                                  'member_id'     => ( $mem ) ? $mem['member_id'] : $ibforums->input['user'],
                                  'category_id'   => $ibforums->input['cat'],
                                  'album_id'      => $ibforums->input['album'],
                                  'caption'       => $file,
                                  'description'   => '',
                                  'approved'      => 1,
                                  'views'         => 0,
                                  'comments'      => 0,
                                  'date'          => time(),
                                  'ratings_total' => 0,
                                  'ratings_count' => 0,
                                );

               $temp = array_merge( $temp,  $this->process_file( $file, $ibforums->input['dir'].'/', $category['thumbnail'], $category['watermark_images'], $ibforums->input['cat'] ) );
   
               $DB->do_insert( 'gallery_images', $temp );
               if( $ibforums->input['cat'] )
               {
                   $DB->simple_update( 'gallery_categories', "images=images+1, last_pic=".$DB->get_insert_id(), "id={$ibforums->input['cat']}", 1 );
                   $DB->simple_exec();
               }
               else
               {
                   $DB->simple_update( 'gallery_albums', "images=images+1, last_pic=".$DB->get_insert_id(), "id={$ibforums->input['album']}", 1 );
                   $DB->simple_exec();
               }

           
               /* Do we need to take a break from processing? */
               $processed++;
               if( $processed >= $ibforums->input['num'] )
               {
                   break;
               }
           }
       }

       if( empty( $files ) )
       {
           $ibforums->admin->done_screen( "Images Added", "Invision Gallery Manager", "act=gallery" );            
       }
       else
       {
           $ibforums->admin->redirect( "act=gallery&code=tools&tool=bulkadd&op=do&album={$ibforums->input['album']}&dir={$ibforums->input['dir']}&url={$ibforums->input['url']}&cat={$ibforums->input['cat']}&user={$ibforums->input['user']}&num={$ibforums->input['num']}", "<b>{$ibforums->input['num']} images processed, moving on to the next batch...</b><BR>DO NOT exit the browser or press the stop button, or your images will not be imported" );
           $ibforums->admin->output();
       }
   }

   /**
    * process_file()
    *
 * Moves the upload file to the images directory, checks all group settings,
 * does any required image manipulation
    *
 * @version 1.1
 * @since 1.1
 * @access public
    *
    * @param string $file_name
    * @param integer $create_thumb
    * @param integer $watermark
    * @param integer $container_id
    * @return array
    **/
   function process_file( $file_name, $file_dir, $create_thumb=1, $watermark=0, $containter_id=0, $album_id=0 )
   {
       global $ibforums, $DB,  $std;

       $container_id = ( $container_id ) ? $container_id : $album_id;




а это и есть та строка
CODE
                                  'ratings_total' => 0,



НЕЛПППП sad.gif sad.gif