Yii Framework Forum: include(CJavaScriptExpression.php): failed to open stream: No such file or directory - Yii Framework Forum

Jump to content

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

include(CJavaScriptExpression.php): failed to open stream: No such file or directory Am using Yii 1.1 Version Rate Topic: -----

#1 User is offline   Geetha Janar 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 05-October 17

Posted 27 October 2017 - 03:19 AM

Hi,

Am using Yii 1.1.8 Version Got error like,

include(CJavaScriptExpression.php): failed to open stream: No such file or directory

When add Below Code
<?php
echo CHtml::ajaxButton('ButtonName',Yii::app()->createUrl('/admin/m3sections/search'),
array(
'type'=>'POST',
'data'=> 'js:$("#fliter-form").serialize()',
'success'=>'js:function(data){ alert("teetee"); }' ,
'error'=>'js:function(data){ alert("comment NOT Submitted");}',
),array('class'=>'someCssClass',));
?>
0

#2 User is offline   Arockia Johnson SR 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 185
  • Joined: 25-June 13
  • Location:Singapore

Posted 15 November 2017 - 02:34 AM

Hi Geetha,

Are you sure you have all helper classes of yii core ?

Please check under /web/helpers/CJavaScriptExpression.php file exists from your yii core.






மகிழ்ச்சியாக குறியிடுங்கள்!..... Happy Coding!.....


Thanks & Regards,
ஜான்சன் ( Arockia Johnson SR )
www.arojohnson.tk

Hit (+) button If my replies really helped you!
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