TPhpErrorException

Description

[Warning] file_get_contents(documents/by-uuid/d4/d44a56ddd7da40148fe5a015e72dd3b8): failed to open stream: No such file or directory (@line 63 in file /var/www/html/app/site/protected/database/common/DocumentRecord.php).

Source File

/var/www/html/app/site/protected/database/common/DocumentRecord.php (63)

0052:             }
0053:             return true;
0054:         } else {
0055:             return false;
0056:         }
0057:     }
0058: 
0059:     public function GetContenu() {
0060:         $path = DocumentRecord::basePath() .
0061:                 "/" . substr($this->Uuid, 0, 2) .
0062:                 "/" . $this->Uuid;
0063: return file_get_contents($path);
0064: } 0065: 0066: }

Stack Trace

#0 [internal function]: PradoBase::phpErrorHandler(2, 'file_get_conten...', '/var/www/html/a...', 63, Array)
#1 /var/www/html/app/site/protected/database/common/DocumentRecord.php(63): file_get_contents('documents/by-uu...')
#2 /var/www/html/app/prado/framework/TComponent.php(102): DocumentRecord->GetContenu()
#3 /var/www/html/app/prado/framework/Data/ActiveRecord/TActiveRecord.php(251): TComponent->__get('Contenu')
#4 /var/www/html/app/site/Downloads.php(13): TActiveRecord->__get('Contenu')
#5 {main}
2017-08-24 15:57 Apache/2.4.10 (Debian) PRADO/3.1.10