Error when doing several operations

Hi,


I get a strange error message when I do several kinds of operations in backend. This is for example when updating a file, moving or cloning files/images.



This is what I get:

    0 => array (
    	"function" => "sq_error_handler",
    	"args" => array (
      0 => 512,
      1 => "File Belongs to different Repository [FVER0008]",
      2 => "[SYSTEM_ROOT]/core/include/locale_manager.inc",
      3 => 516,
      4 => array (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    1 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/locale_manager.inc",
    	"line" => 516,
    	"function" => "trigger_error",
    	"args" => array (
      0 => "File Belongs to different Repository [FVER0008]",
      1 => 512 
    	) 
    ),
    2 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/general.inc",
    	"line" => 896,
    	"function" => "raiseerror",
    	"class" => "locale_manager",
    	"type" => "->",
    	"args" => array (
      0 => "FVER0008",
      1 => 512,
      2 => array (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    3 => array (
    	"file" => "[SYSTEM_ROOT]/core/lib/file_versioning/file_versioning.inc",
    	"line" => 208,
    	"function" => "trigger_localised_error",
    	"args" => array (
      0 => "FVER0008",
      1 => 512 
    	) 
    ),
    4 => array (
    	"file" => "[SYSTEM_ROOT]/core/lib/file_versioning/file_versioning.inc",
    	"line" => 755,
    	"function" => "_getfileinfofromrealfile",
    	"class" => "file_versioning",
    	"type" => "->",
    	"args" => array (
      0 => "[SYSTEM_ROOT]/data/public/assets/file/3926/design_css_1008.css" 
    	) 
    ),
    5 => array (
    	"file" => "[SYSTEM_ROOT]/core/assets/files/file/file.inc",
    	"line" => 492,
    	"function" => "uptodate",
    	"class" => "file_versioning",
    	"type" => "->",
    	"args" => array (
      0 => "[SYSTEM_ROOT]/data/public/assets/file/3926/design_css_1008.css" 
    	) 
    ),
    6 => array (
    	"file" => "[SYSTEM_ROOT]/core/assets/files/file/file.inc",
    	"line" => 446,
    	"function" => "_checkfilestate",
    	"class" => "file",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    7 => array (
    	"file" => "[SYSTEM_ROOT]/core/assets/files/file/file_edit_fns.inc",
    	"line" => 258,
    	"function" => "_updated",
    	"class" => "file",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    8 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",
    	"line" => 1828,
    	"function" => "processfileupload",
    	"class" => "file_edit_fns",
    	"type" => "->",
    	"args" => array (
      0 => new file Object (
     	 [Max Depth Reached]
      ),
      1 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      2 => "file_3926" 
    	) 
    ),
    9 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",
    	"line" => 1598,
    	"function" => "processinline",
    	"class" => "asset_edit_interface",
    	"type" => "->",
    	"args" => array (
      0 => new file Object (
     	 [Max Depth Reached]
      ),
      1 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      2 => ,
      3 => "details" 
    	) 
    ),
    10 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset.inc",
    	"line" => 3487,
    	"function" => "process",
    	"class" => "asset_edit_interface",
    	"type" => "->",
    	"args" => array (
      0 => new file Object (
     	 [Max Depth Reached]
      ),
      1 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      2 =>  
    	) 
    ),
    11 => array (
    	"file" => "[SYSTEM_ROOT]/core/assets/files/file/file.inc",
    	"line" => 742,
    	"function" => "processbackend",
    	"class" => "asset",
    	"type" => "::",
    	"args" => array (
      0 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      1 => array (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    12 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset_manager_edit_fns.inc",
    	"line" => 180,
    	"function" => "processbackend",
    	"class" => "file",
    	"type" => "->",
    	"args" => array (
      0 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      1 => array (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    13 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset_manager.inc",
    	"line" => 5313,
    	"function" => "paintbackend",
    	"class" => "asset_manager_edit_fns",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    14 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/backend.inc",
    	"line" => 1037,
    	"function" => "paintbackend",
    	"class" => "asset_manager",
    	"type" => "->",
    	"args" => array (
      0 => new backend Object (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    15 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/backend.inc",
    	"line" => 170,
    	"function" => "_printmain",
    	"class" => "backend",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    16 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/mysource.inc",
    	"line" => 329,
    	"function" => "paint",
    	"class" => "backend",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    17 => array (
    	"file" => "[SYSTEM_ROOT]/core/web/index.php",
    	"line" => 37,
    	"function" => "start",
    	"class" => "mysource",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    )


    0 => array (
    	"function" => "sq_error_handler",
    	"args" => array (
      0 => 512,
      1 => "Error occured getting file information, unable to run uptodate() [FVER0002]",
      2 => "[SYSTEM_ROOT]/core/include/locale_manager.inc",
      3 => 516,
      4 => array (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    1 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/locale_manager.inc",
    	"line" => 516,
    	"function" => "trigger_error",
    	"args" => array (
      0 => "Error occured getting file information, unable to run uptodate() [FVER0002]",
      1 => 512 
    	) 
    ),
    2 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/general.inc",
    	"line" => 896,
    	"function" => "raiseerror",
    	"class" => "locale_manager",
    	"type" => "->",
    	"args" => array (
      0 => "FVER0002",
      1 => 512,
      2 => array (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    3 => array (
    	"file" => "[SYSTEM_ROOT]/core/lib/file_versioning/file_versioning.inc",
    	"line" => 758,
    	"function" => "trigger_localised_error",
    	"args" => array (
      0 => "FVER0002",
      1 => 512,
      2 => "uptodate" 
    	) 
    ),
    4 => array (
    	"file" => "[SYSTEM_ROOT]/core/assets/files/file/file.inc",
    	"line" => 492,
    	"function" => "uptodate",
    	"class" => "file_versioning",
    	"type" => "->",
    	"args" => array (
      0 => "[SYSTEM_ROOT]/data/public/assets/file/3926/design_css_1008.css" 
    	) 
    ),
    5 => array (
    	"file" => "[SYSTEM_ROOT]/core/assets/files/file/file.inc",
    	"line" => 446,
    	"function" => "_checkfilestate",
    	"class" => "file",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    6 => array (
    	"file" => "[SYSTEM_ROOT]/core/assets/files/file/file_edit_fns.inc",
    	"line" => 258,
    	"function" => "_updated",
    	"class" => "file",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    7 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",
    	"line" => 1828,
    	"function" => "processfileupload",
    	"class" => "file_edit_fns",
    	"type" => "->",
    	"args" => array (
      0 => new file Object (
     	 [Max Depth Reached]
      ),
      1 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      2 => "file_3926" 
    	) 
    ),
    8 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",
    	"line" => 1598,
    	"function" => "processinline",
    	"class" => "asset_edit_interface",
    	"type" => "->",
    	"args" => array (
      0 => new file Object (
     	 [Max Depth Reached]
      ),
      1 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      2 => ,
      3 => "details" 
    	) 
    ),
    9 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset.inc",
    	"line" => 3487,
    	"function" => "process",
    	"class" => "asset_edit_interface",
    	"type" => "->",
    	"args" => array (
      0 => new file Object (
     	 [Max Depth Reached]
      ),
      1 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      2 =>  
    	) 
    ),
    10 => array (
    	"file" => "[SYSTEM_ROOT]/core/assets/files/file/file.inc",
    	"line" => 742,
    	"function" => "processbackend",
    	"class" => "asset",
    	"type" => "::",
    	"args" => array (
      0 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      1 => array (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    11 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset_manager_edit_fns.inc",
    	"line" => 180,
    	"function" => "processbackend",
    	"class" => "file",
    	"type" => "->",
    	"args" => array (
      0 => new backend_outputter Object (
     	 [Max Depth Reached]
      ),
      1 => array (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    12 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/asset_manager.inc",
    	"line" => 5313,
    	"function" => "paintbackend",
    	"class" => "asset_manager_edit_fns",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    13 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/backend.inc",
    	"line" => 1037,
    	"function" => "paintbackend",
    	"class" => "asset_manager",
    	"type" => "->",
    	"args" => array (
      0 => new backend Object (
     	 [Max Depth Reached]
      ) 
    	) 
    ),
    14 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/backend.inc",
    	"line" => 170,
    	"function" => "_printmain",
    	"class" => "backend",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    15 => array (
    	"file" => "[SYSTEM_ROOT]/core/include/mysource.inc",
    	"line" => 329,
    	"function" => "paint",
    	"class" => "backend",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    ),
    16 => array (
    	"file" => "[SYSTEM_ROOT]/core/web/index.php",
    	"line" => 37,
    	"function" => "start",
    	"class" => "mysource",
    	"type" => "->",
    	"args" => array (
      [Empty]
    	) 
    )


As you can see I get error messages as: File Belongs to different Repository [FVER0008]
and: Error occured getting file information, unable to run uptodate() [FVER0002]


Anyone with experience in this?

Have you moved your Matrix install from one server to another? or from one place on the server to another?


This normally occurs when the file versioning repository entires are pointing at an old system root rather than the new one. There is a script to fix this up (system_move_update.php in the scripts dir).

No, I've not moved the root.


I'll try the script you suggest.

Hi again,


did run the script without any difference.

Are there any other tips on this?


I get this error when trying to update, moving, cloning file assets.



Can it possibly have anything to do with file ownership or anything like that?

This is definitely solved by using the system_move_update.php script – its just a case of working out which files have the wrong file repository location (and using that location as the "old system root" when running the script).


We know that this file is affected:

    [SYSTEM_ROOT]/data/public/assets/file/3926/design_css_1008.css

Because its in the back trace.



Take a look inside this file:


    [SYSTEM_ROOT]/data/private/assets/file/3926/.FFV/design_css_1008.css


And see what the file repository path is set to. If its wrong, you'll need to run the system_move_update.php script with the old path specified correctly.