Skip to content

Xupload 5.0.1 not working with Yii 1.16.1 #27

@ifocus22

Description

@ifocus22

Thanks for this great extension. I'm using it properly with Yii framework v 1.15.

I tried the same code with 1.16.1 but it's failing. The widget is displayed properly but the upload does not work. No info in tha app log, no error in the js console. I'm using the basic scenario :

public function actions()
{
return array(
'upload'=>array(
'class' =>'xupload.actions.XUploadAction',
'path' =>Yii::app() -> getBasePath() . "/../uploads",
'publicPath' => Yii::app() -> getBaseUrl() . "/uploads",
),
);
}

public function actionIndex()
{

  Yii::import("xupload.models.XUploadForm");
    $model = new XUploadForm;
    $this -> render('index', array('model' => $model, ));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions