ErrorException [ Warning ]: chmod(): File o directory non esistente

APPPATH/classes/Model/Catalogo.php [ 661 ]

656 			$image_path_thumbnails = $dir_temp_thumbnails.'/Maestro'.$id;
657 			$foto = base64_decode($foto);
658 			$image = fopen($image_path_large, "wb");
659 			fwrite($image, ($foto));
660 			fclose($image);
661 			chmod($image_path_large, 0777);
662 
663 			$image = fopen($image_path_medium, "wb");
664 			fwrite($image, ($foto));
665 			fclose($image);
666 			chmod($image_path_medium, 0777);
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Model/Catalogo.php [ 661 ] » chmod(arguments)

  3. APPPATH/views/shop.php [ 249 ] » Model_Catalogo->getFoto(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  5. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  6. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  7. SYSPATH/classes/Kohana/Response.php [ 169 ] » Kohana_View->__toString()

  8. APPPATH/classes/Controller/Home.php [ 369 ] » Kohana_Response->body(arguments)

  9. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Home->action_shop()

  10. {PHP internal call} » Kohana_Controller->execute()

  11. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke(arguments)

  12. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  13. SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute(arguments)

  14. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment