TPhpErrorException

Description

[Warning] file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: SSL operation failed with code 1. OpenSSL Error messages: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version (@line 11 in file /home/clients/outline/outline/www/protected/pages/Murale.php).

Source File

/home/clients/outline/outline/www/protected/pages/Murale.php (11)

0001: <?php
0002: 
0003: class Murale extends BasePage
0004: {
0005: 
0006:     public function onLoad($param)
0007:     {
0008:         parent::onLoad($param);
0009:         $this->showAllMurals();
0010:         
0011: $cont = file_get_contents("https://532698326764082.iframehost.com/2511047");
0012: $cont = substr($cont, 0, strpos($cont, "<script")); 0013: $cont = substr($cont, strpos($cont, "<body>")+6); 0014: //$this->pageContent->setText($cont); 0015: $this->pageContent->setText(""); 0016: } 0017: 0018: public function showAllMurals() 0019: { 0020: $murals = array(); 0021: $results = UFWallRecord::finder()->findAll('ORDER BY ID DESC'); 0022: foreach ($results as $result) { 0023: $murals[] = new UFWallDTO($result);

Stack Trace

#0 [internal function]: PradoBase::phpErrorHandler(2, 'file_get_conten...', '/home/clients/o...', 11, Array)
#1 /home/clients/outline/outline/www/protected/pages/Murale.php(11): file_get_contents('https://5326983...')
#2 /home/clients/outline/outline/www/framework/Web/UI/TControl.php(1286): Murale->onLoad(NULL)
#3 /home/clients/outline/outline/www/framework/Web/UI/TPage.php(210): TControl->loadRecursive()
#4 /home/clients/outline/outline/www/framework/Web/UI/TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#5 /home/clients/outline/outline/www/framework/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#6 /home/clients/outline/outline/www/framework/Web/Services/TPageService.php(420): TPageService->runPage(Object(Murale), Array)
#7 /home/clients/outline/outline/www/framework/TApplication.php(1066): TPageService->run()
#8 /home/clients/outline/outline/www/framework/TApplication.php(376): TApplication->runService()
#9 /home/clients/outline/outline/www/index.php(30): TApplication->run()
#10 {main}
2025-05-04 02:53 Apache PRADO/3.1.3a