0

phantomjs已经在usr/local/bin的目录下,phantomjs -version 也提示版本信息

错误信息如下;

{"status":false,"message":"Binary does not exist","code":500,"debug":{"line":174,"file":"\/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/anam\/phantommagick\/src\/Runner.php","class":"Exception","trace":["#0 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/anam\/phantommagick\/src\/Runner.php(100): Anam\PhantomMagick\Runner->pickBinary()","#1 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/anam\/phantommagick\/src\/Converter.php(623): Anam\PhantomMagick\Runner->run('\/www\/wwwroot\/sh...', 'https:\/\/shop.yo...', '\/www\/wwwroot\/sh...', Array)","#2 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/anam\/phantommagick\/src\/Converter.php(595): Anam\PhantomMagick\Converter->saveLocal('\/www\/wwwroot\/sh...')","#3 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/ibrand\/laravel-miniprogram-poster\/src\/MiniProgramShareImg.php(56): Anam\PhantomMagick\Converter->save('\/www\/wwwroot\/sh...')","#4 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/ibrand\/laravel-miniprogram-poster\/src\/MiniProgramShareImg.php(140): iBrand\Miniprogram\Poster\MiniProgramShareImg::generateShareImage('https:\/\/shop.yo...')","#5 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/modules\/Distribution\/Server\/src\/Http\/Controllers\/DistributionController.php(386): iBrand\Miniprogram\Poster\MiniProgramShareImg::run(Object(GuoJiangClub\Component\Product\Models\Goods), 'https:\/\/shop.yo...', true)","#6 [internal function]: GuoJiangClub\Distribution\Server\Http\Controllers\DistributionController->createMiniShareImg()","#7 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php(54): call_user_func_array(Array, Array)","#8 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('createMiniShare...', Array)","#9 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php(212): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(GuoJiangClub\Distribution\Server\Http\Controllers\DistributionController), 'createMiniShare...')","#10 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php(169): Illuminate\Routing\Route->runController()","#11 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(658): Illuminate\Routing\Route->run()","#12 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))","#13 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/barryvdh\/laravel-cors\/src\/HandleCors.php(36): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))","#14 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(149): Barryvdh\Cors\HandleCors->handle(Object(Dingo\Api\Http\Request), Object(Closure))","#15 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))","#16 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))","#17 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(149): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Dingo\Api\Http\Request), Object(Closure))","#18 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))","#19 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/ThrottleRequests.php(57): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))","#20 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(149): Illuminate\Routing\Middleware\ThrottleRequests->handle(Object(Dingo\Api\Http\Request), Object(Closure), 60, '1')","#21 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))","#22 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/dingo\/api\/src\/Http\/Middleware\/PrepareController.php(45): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))","#23 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(149): Dingo\Api\Http\Middleware\PrepareController->handle(Object(Dingo\Api\Http\Request), Object(Closure))","#24 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Dingo\Api\Http\Request))","#25 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Dingo\Api\Http\Request))","#26 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(660): Illuminate\Pipeline\Pipeline->then(Object(Closure))","#27 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(635): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Dingo\Api\Http\Request))","#28 \/www\/wwwroot\/shop.yooyu.net\/ec.api-release-3.0\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(601): Illuminate\Routing\Router->runRoute(Object(Dingo\Api\Http\Request), Object(Illuminate\Routing\Route))","#29

添加评论
0 条评论
发布您的评论
  • 你的答案

发布您的答案