cancel
Showing results for 
Search instead for 
Did you mean: 

500 error comes when getting wysiwyg image selection.

SOLVED

500 error comes when getting wysiwyg image selection.

Hello ,

 

Screenshot: https://nimb.ws/Cp6tfe

 

I am facing an issue with fetching images in wysiwyg image uploader.

I can not see any images on this uploader. what will be the issue ? Screenshot provided.

I am using Magento 2.3.4

1 ACCEPTED SOLUTION

Accepted Solutions

Re: 500 error comes when getting wysiwyg image selection.

Hello,

 

Thank you all of you... I have fixed the issue. After debugging deep into files with wysiwyg_images module from CMS module, Found that a setMimeType is not getting the correct mime type. I have Commented the code and works well. 

View solution in original post

9 REPLIES 9

Re: 500 error comes when getting wysiwyg image selection.

@radiantweb 

 

There are few ways you can debug :

 

  1. Console : Console might have captured the error.
  2. Network : While uploading picture, open your network tab and record the network log.
  3. Log : Check Magento log files if they have captured the issue.

This info is not enough to trace the issue, try the above methods and let me know.

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: 500 error comes when getting wysiwyg image selection.

Re: 500 error comes when getting wysiwyg image selection.

Hi @radiantweb 

When facing a 500 error the first thing you should do is search for your webserver error log.

When running on apache it can mostly be found in one of these 2 locations:

/var/log/httpd/ -> centos, archlinux ...

/var/log/apache2/ -> debian, ubuntu ...

It may help you to debug issue.

If issue resolve. Please click on 'Kudos' & Accept as Solution!

Problem solved? Click Accept as Solution!

Re: 500 error comes when getting wysiwyg image selection.

@radiantweb 

 

I am not able to reach to the given URL, shows 404, Please provide screenshot


the error you get in console, click on the right side where line no. is written, it will take you to the network tab and get the error.

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: 500 error comes when getting wysiwyg image selection.

console screenshot:

 

https://nimb.ws/WRfqb5

Re: 500 error comes when getting wysiwyg image selection.

@radiantweb 

 

Click on the /stp/admin...... url in the right section of error and it will show you the main error

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: 500 error comes when getting wysiwyg image selection.

I have clicked and screenshot is given below

 

https://nimb.ws/IR3MhW

 

When i click image images in directories are not showing. And that ajax request fails with 500 Internal Server Error.

Re: 500 error comes when getting wysiwyg image selection.

hover on the cross icon it will show you exact error.

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: 500 error comes when getting wysiwyg image selection.

Hello,

 

Thank you all of you... I have fixed the issue. After debugging deep into files with wysiwyg_images module from CMS module, Found that a setMimeType is not getting the correct mime type. I have Commented the code and works well.