Trying REST api, but keep getting provider 'ezp' not found

Author Message

Sander van den Akker

Sunday 26 June 2011 1:08:01 pm

I followed the installation instructions found in the docs, but I keep getting the following error:

"The API provider 'ezp' could not be found. in /usr/local/var/www/ezpublish/kernel/private/rest/classes/rest_provider.php on line 37".

Am I missing something?

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Jérôme Vieilledent

Monday 27 June 2011 1:10:41 am

Hi Sander

Do you have the ezprestapiprovider extension installed and activated ? It should be part of the distribution anyway...

Sander van den Akker

Monday 27 June 2011 2:24:28 am

That's it! I was mislead since the docs state the REST api is part of the kernel, but apparently the ezp provider is not. Thanks!

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Jérôme Vieilledent

Monday 27 June 2011 2:27:31 am

You're welcome !

Actually, the core of the REST API is part of the kernel, but the base services are contained in an extension ;-)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:14:31
Script start
Timing: Jan 30 2025 00:14:31
Module start 'layout'
Timing: Jan 30 2025 00:14:31
Module start 'content'
Timing: Jan 30 2025 00:14:31
Module end 'content'
Timing: Jan 30 2025 00:14:31
Script end

Main resources:

Total runtime0.0140 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.3750151.2422
Module start 'layout' 0.00440.0022 739.617236.7188
Module start 'content' 0.00660.0059 776.335994.3281
Module end 'content' 0.01240.0016 870.664133.9766
Script end 0.0140  904.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.7648140.0002
Check MTime0.00117.5065140.0001
Mysql Total
Database connection0.00075.126610.0007
Mysqli_queries0.002014.581830.0007
Looping result0.00000.050910.0000
Template Total0.00128.510.0012
Template load0.00096.564410.0009
Template processing0.00031.865610.0003
Override
Cache load0.00064.357610.0006
General
dbfile0.001913.542980.0002
String conversion0.00000.042440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs