Yii Framework Forum: Error In Rest Services Yii - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Error In Rest Services Yii Rate Topic: ***** 1 Votes

#1 User is offline   rizwan shaikh 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 05-December 13

Posted 05 December 2013 - 02:01 AM

Hello All,
I am making YII REST services. I am posting data using

$inputJSON = file_get_contents('php://input');
$input= CJSON::decode($inputJSON,true);

But I am posting data with images I am having error
<h1>Request Entity Too Large</h1>
The requested resource<br />/velolock_staging/index.php/api/create/service/setBikeOffer/<br />
does not allow request data with POST requests, or the amount of data provided in
the request exceeds the capacity limit." Whether images is only about 100kb. I setup my server php.ini to 100MB but its still arising error.
Please help me its very very urgent.

Thanks in Advance.

Cheers.
Rizwan Shaikh

This post has been edited by rizwan shaikh: 06 December 2013 - 12:42 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users