Yii Framework Forum: Xupload xdr-transport 'Not Found' - Yii Framework Forum

Jump to content

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

Xupload xdr-transport 'Not Found' Rate Topic: -----

#1 User is offline   macbeth 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 28-August 14

Posted 20 December 2014 - 12:02 PM

  • I am using the current version of XUpload - 0.5.1
  • My Yii version is 1.1.15


I have been trying to get the XUpload extension to work in a new project but (I assume) the cors/jquery.xdr-transport.js asset is telling me that the file is 'Not Found'. I placed the location of the 'uploads' directory at the DocumentRoot and the Yii portion of the website is in a sub-directory of the DocumentRoot. I am using the stock extension and my controller has:
	public function actions()
	{
		return array(
			'upload'=>array(
				'class'=>'xupload.actions.XUploadAction',
				'path'=>Yii::app()->basePath . '/../../uploads',
				'publicPath'=> '/uploads',
				'secureFileNames' => true,
			),
		);
	}



I have confirmed that the resulting path and publicPath are correct and the uploaded file is inside the uploads/{datestamp}/ subdirectory as expected.

Any help would be appreciated.
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