We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

FileExplorer appear an error when I upload files

Thread ID:

Created:

Updated:

Platform:

Replies:

147978 Sep 30,2019 02:09 PM UTC Oct 23,2019 05:16 AM UTC PHP 5
loading
Tags: FileExplorer
saddam
Asked On September 30, 2019 02:09 PM UTC

Hello all 
I would to ask about FileExplorer appearing an error 405 when I upload files ?

how I can fix this problem ?

thanks a lot 


Ashokkumar Balasubramanian [Syncfusion]
Replied On October 1, 2019 11:37 AM UTC

Hi Saddam, 
 
Good day to you. 
 
We suspect that you have tried to upload file with online PHP sample browser and we have restricted modification of online data in service file. We suggest you click explore demos from PHP build from where you can get the folder containing services of FileExplorer along with samples. You can include services like this in your sample. We have attached a PHP sample with FileExplorer and service for your reference in the following link 
  
 
Please check the sample and get back to us, if you require any further assistance on this. 
 
Regards, 
Ashokkumar B. 


saddam
Replied On October 21, 2019 01:24 PM UTC

thanks you for helping

I use same code and still appear same error 405  when upload file and works successful when make dir or view files 
this is my code : 
'EJ\AutoLoad.php'; 
$fileexplorer=new EJ\FileExplorer('default');
echo $fileexplorer->width('100%')->minWidth('150px')->layout('tile')
->path('FileBrowser/')->ajaxAction('EJ/Services/FileExplorer')
->ajaxDataType('jsonp')->isResponsive(true)->fileTypes('*.png, *.gif, *.jpg, *.jpeg, *.docx')
->render();
?>

Keerthana Rajendran [Syncfusion]
Replied On October 22, 2019 06:35 AM UTC

Hi Saddam, 
 
Good day to you.  
 
We have checked your query and used your shared code in our end. Upload functionality is working fine with our sample. We suspect that the upload function was not hit on server-side services with your sample.  
 
We have attached a video with upload functionality of our sample. Kindly check this with your end and ensure whether your service is working fine. 
 
 
Regards, 
Keerthana. 


saddam
Replied On October 22, 2019 10:39 AM UTC

Thanks for your helping <3 

I solved the problem by editing this :

->ajaxAction('EJ/Services/FileExplorer')
to 
->ajaxAction('EJ/Services/FileExplorer/index.php')



Keerthana Rajendran [Syncfusion]
Replied On October 23, 2019 05:16 AM UTC

Hi Saddam,  
 
We are glad to hear that the issue has been resolved. Please let us know if you require further assistance on this.  
 
Regards, 
Keerthana. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon