zend-patterns / ZendServerSDK

Pure ZF2 CLI for zpk creation and webapi client.
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

pagecache commands are not working. #42

Closed weierophinney closed 10 years ago

weierophinney commented 10 years ago

I've tried using the pagecache commands, and am getting errors:

2014-09-08T11:33:12-05:00 ERR (3): The requested action 'pagecacheListRules' does not exist on this server<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.2">
    <requestData>
        <apiKeyName><![CDATA[Unknown]]></apiKeyName>
        <method>default</method>
    </requestData>
<errorData>
 <errorCode>unknownMethod</errorCode>
 <errorMessage><![CDATA[The requested action 'pagecacheListRules' does not exist on this server]]></errorMessage>
</errorData></zendServerAPIResponse>
======================================================================
   The application has thrown an exception!
======================================================================
 ZendServerWebApi\Model\Exception\ApiException
 The requested action 'pagecacheListRules' does not exist on this server

The server in question is running version 7.0, and I have a target setup correctly (as in, other commands such as deployment work fine).

slaff commented 10 years ago

That commit has the fixed phar file: 23bb49f0321bca7c49fee753ce518e647f7b732e.

weierophinney commented 10 years ago

Works perfectly -- thanks, @slaff !