dqsong2010 2013-03-06 12:46
浏览 54

Symfony和Azure Distribution Bundle - Azure中的资产

I am trying to deploy an existing Symfony 2.1 application to Azure. For this I am using the Azure Distribution Bundle, and I am trying to deploy assets to Azure as documented here.

However, I am getting an error when doing windowsazure:package to create the package:

Catchable Fatal Error: Argument 2 passed to WindowsAzure\DistributionBundle\Deployment\Assets\BlobStrategy::__construct() must be an instance of WindowsAzure\Blob\BlobRestProxy, none given, called in C:\IGPR\igpr\app\cache\azure\appAzureDebugProjectContainer.php on line 2361 and defined in C:\IGPR\igpr\vendor\beberlei\azure-distribution-bundle\WindowsAzure\DistributionBundle\Deployment\Assets\BlobStrategy.php line 35

Here is the relevant section of my config.yml:

windows_azure_distribution:
...
    services:
        blob:
            default: UseDevelopmentStorage=true
            azureprod: DefaultEndpointsProtocol=http;AccountName=myaccountname;AccountKey=MyVeryLongAccOUntKeY==
    assets:
        type: blob
        connection_name: azureprod

Any ideas? Seems that the Blob proxy cannot be created. I get the same error if I try to use the local development storage.

The bundle is installed via Composer.

  • 写回答

1条回答 默认 最新

  • doushang8512 2013-03-07 08:03
    关注

    Looks like this was a bug in the Azure Distribution Bundle, which the maintainer has now fixed.

    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡等级和折扣规则
  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分