Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeFILE.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Error codes used for file operations
8  * @class ErrorCodeFILE
9  * @see ErrorCode
10  * @brief List all error code for file operations
11  */
13 {
14  /**
15  * @errorCode
16  * exportfile could not get image size from cached image (the filecache image might be empty or corrupted)
17  */
18  const FILE0001 = 'exportfile could not get size of cached image "%s"';
19  /**
20  * @errorCode
21  * exportfile's cached image have an invalid width and/or height equal to zero
22  */
23  const FILE0002 = 'exportfile found an invalid width/height (%s/%s) for cached image "%s"';
24  /**
25  * @errorCode
26  * exportfile count not get image size from thumbnail image (the thumbnail iamge might be empty or corrupted)
27  */
28  const FILE0003 = 'exportfile could not get size of thumbnail image "%s"';
29  /**
30  * @errorCode
31  * exportfile's thumbnail image have an invalid width and/or height equal to zero
32  */
33  const FILE0004 = 'exportfile found an invalid width/height (%s/%s) for thumbnail image "%s"';
34  /**
35  * @errorCode
36  * dbaccess.php file is needed
37  */
38  const FILE0005 = 'dbaccess file not found "%s"';
39  /**
40  * @errorCode
41  * dbaccess.php file is incomplete
42  */
43  const FILE0006 = 'dbaccess.php file does not contain freedom_authtypeparams variable. May be old syntax for configuration file';
44  /**
45  * @errorCode
46  * The given file could not be stored in the vault because it does
47  * not exists or the pathname is not a file (it may be a directory,
48  * socket, etc.).
49  */
50  const FILE0007 = 'Could not store file "%s" in vault because the file does not exists';
51  /**
52  * @errorCode
53  * The given file could not be stored in the vault because it isn't
54  * readable (check Apache user read access rights on this file).
55  */
56  const FILE0008 = 'Could not store file "%s" in vault because the file is not readable';
57  /**
58  * @errorCode
59  * The given file could not be registered in the vault. This might
60  * be due to a faulty database connection, incorrect rights on
61  * vault's dirs, or I/O errors.
62  * The underlying error message is displayed and might provide
63  * additional informations on the error's condition.
64  */
65  const FILE0009 = 'Could not register file "%s" in document: %s';
66  /**
67  * @errorCode
68  * The given file has been registered in the vault but we could not
69  * get back its information. This might be due to a faulty database
70  * connection.
71  */
72  const FILE0010 = 'Could not get back informations for registered file "%s" in document.';
73 }
List all error code for file operations.
← centre documentaire © anakeen