Open muzammilhassan opened 8 years ago
This might help (Tested on windows only):
enable this extension by removing "; " from the php.ini file and restart Xampp ;extension=php_fileinfo.dll to extension=php_fileinfo.dll
Screenshot : http://prntscr.com/btnpcg
Also I haven't made any changes to default code , upload works well for me.
<?= $form->field($model, 'comments')->textArea(['rows' => '6'])->widget(\yii\redactor\widgets\Redactor::className()]); ?>
I have debug the issue and that gave me this info. After enabling it work for me. Hope this help someone.
Thank you for your answer.
It may be the urlManager, just disable urlManger and it'll automatically work as expected.
You can fix this adding the next rule:
'rules' => [ '<controller:\w+>/redactor' => '/redactor/upload/image', ],
@tav4u I think you are right, I saw a "301 Moved Permanently" message after uploading. If comment EnablePrettyUr inl urlManager, it works fine.
But, I added your rule , it still can't work.
i also meet this issue :)
I also face the same difficulty. @tav4u where do i find urlManager class ??
i have also same problem, any solution ,plz help thank
Hi,
Every one Please guide me how to upload image in editor , I have tried all the options it is not uploading please guide and help
Thanks