反射已添加到数据库但文件未退出
Reflection Added to db but file does not exit
文件相对于 /file/repository/AutoSalon/hasi/BB_Light_House_8.png
ipFileUrl(ipReflection('AutoSalon/'.$user['username'].'/'.$value['photo1'],$options,'thumb_'.$value['photo1'],true));
(36, options ,fprit, 'AutoSalon/hasi/BB_Light_House_8.png', '2016/02/03/thumb_BB_Light_House_8.png', 1454520313);
但是 /file/2016/02/03/thumb_BB_Light_House_8.png 中没有文件
GET http://kukur.dev/file/2016/02/03/thumb_BB_Light_House_8_1.png 404 (Not Found)
这是日志文件
{"errorTrace":"#0 /Users/flakerimi/Sites/ImpressPages/Ip/Internal/Repository/ReflectionModel.php(60): Ip\Internal\Repository\ReflectionModel->createReflectionRecord('AutoSalon/hasi/', Array, NULL)\ n#1 /Users/flakerimi/Sites/ImpressPages/Ip/Internal/Repository/ReflectionService.php(84): Ip\Internal\Repository\ReflectionModel->getReflection('AutoSalon/hasi/', Array, NULL, true)\n#2 /Users/flakerimi/Sites/ImpressPages/Ip/Functions.php(957): Ip\Internal\Repository\ReflectionService->getReflection('AutoSalon/hasi/', Array, NULL, true)\n#3 /Users/flakerimi/Sites/ImpressPages/Plugin/AutoSalon/view/user/list.php(25): ipReflection( 'AutoSalon/hasi/', 数组)\n#4 /Users/flakerimi/Sites/ImpressPages/Ip/View.php(111): require('/Users/flakerim...')\n#5 /Users/flakerimi /Sites/ImpressPages/Ip/Application.php(352): Ip\View->render()\n#6 /Users/flakerimi/Sites/ImpressPages/Ip/Application.php(442 ): Ip\Application->handleRequest(Object(Ip\Request), Array, false)\n#7 /Users/flakerimi/Sites/ImpressPages/Ip/script/run.php(8 ): Ip\Application->运行()\n#8 /Users/flakerimi/Sites/ImpressPages/index.php(14): require_once('/Users/flakerim...')\n#9 {main}"}
仅用于存档目的:
问题出在 $options,
$options = array('type' => 'center', 'widht' => 400, 'height'=>200, 'forced' => true);
宽度 (widht) 有错别字,这就是原因。也许更好地检查一下?
文件相对于 /file/repository/AutoSalon/hasi/BB_Light_House_8.png
ipFileUrl(ipReflection('AutoSalon/'.$user['username'].'/'.$value['photo1'],$options,'thumb_'.$value['photo1'],true));
(36, options ,fprit, 'AutoSalon/hasi/BB_Light_House_8.png', '2016/02/03/thumb_BB_Light_House_8.png', 1454520313);
但是 /file/2016/02/03/thumb_BB_Light_House_8.png 中没有文件
GET http://kukur.dev/file/2016/02/03/thumb_BB_Light_House_8_1.png 404 (Not Found)
这是日志文件
{"errorTrace":"#0 /Users/flakerimi/Sites/ImpressPages/Ip/Internal/Repository/ReflectionModel.php(60): Ip\Internal\Repository\ReflectionModel->createReflectionRecord('AutoSalon/hasi/', Array, NULL)\ n#1 /Users/flakerimi/Sites/ImpressPages/Ip/Internal/Repository/ReflectionService.php(84): Ip\Internal\Repository\ReflectionModel->getReflection('AutoSalon/hasi/', Array, NULL, true)\n#2 /Users/flakerimi/Sites/ImpressPages/Ip/Functions.php(957): Ip\Internal\Repository\ReflectionService->getReflection('AutoSalon/hasi/', Array, NULL, true)\n#3 /Users/flakerimi/Sites/ImpressPages/Plugin/AutoSalon/view/user/list.php(25): ipReflection( 'AutoSalon/hasi/', 数组)\n#4 /Users/flakerimi/Sites/ImpressPages/Ip/View.php(111): require('/Users/flakerim...')\n#5 /Users/flakerimi /Sites/ImpressPages/Ip/Application.php(352): Ip\View->render()\n#6 /Users/flakerimi/Sites/ImpressPages/Ip/Application.php(442 ): Ip\Application->handleRequest(Object(Ip\Request), Array, false)\n#7 /Users/flakerimi/Sites/ImpressPages/Ip/script/run.php(8 ): Ip\Application->运行()\n#8 /Users/flakerimi/Sites/ImpressPages/index.php(14): require_once('/Users/flakerim...')\n#9 {main}"}
仅用于存档目的:
问题出在 $options,
$options = array('type' => 'center', 'widht' => 400, 'height'=>200, 'forced' => true);
宽度 (widht) 有错别字,这就是原因。也许更好地检查一下?