-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xupload 5.0.1 not working with Yii 1.16.1 #27
Comments
Same thing here (not working with yii 1.1.16) ! Error jquery : The object "options" seem empty |
try changing the code in assets/jquery.fileupload-ui.js from http://stackoverflow.com/questions/23762825/why-is-this-datamycontrol-undefined |
Looks like Yii 1.1.16 updated the included version of jquery, so the correct solution would be to update the corresponding jquery upload library included in this extension. I am no longer supporting this extension, so I am looking for any interested maintainers. Please submit a PR, not sure how to transfer the access to updating the extension in the Yii site, probably just remove the downloads there, and point to this repository would work. |
@dev3k : This change doesn't work :( |
@gplaza you have to replace all the recurrences, try my working version of the file https://jsfiddle.net/khalilmajdalawi/os2gtamt/ |
@dev3k : but in reality it's just the sample of stackoverflow .... (#fileupload) the good change is : |
Is it possible that one of you can create a PR? I can update the extension page in the yii site. On Wed, Feb 25, 2015 at 11:01 AM, gplaza [email protected] wrote:
|
Here a PR : #28 |
Does it work if you replace |
@Asgaroth : no, there is lot of refactoring to create if you update with the last version of Jquery Plugin. ps : I'm not an expert in javascript but i have tried it. |
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",
),
);
}
The text was updated successfully, but these errors were encountered: