CMS/static block insert image (404 page not found)

Hi

When creating/updating pages in CMS or static block, after clicking "Insert/Edit image" button and on the pop up, clicking "browse" button result in a "404 Page not found" pop up instead of the folder/wysiwyg.

Please advice. Thanks.

14 answers

Profile photo of Sherlock 0.00 $tone December 3, 2013
Public

Hi

When creating/updating pages in CMS or static block, after clicking "Insert/Edit image" button and on the pop up, clicking "browse" button result in a "404 Page not found" pop up instead of the folder/wysiwyg.

Please advice. Thanks.

I think it’s a problem of jmbasetheme extension, I attached here the jmbasetheme latest version, you can try to upgrade it to get rid of the issue

Remember to take a backup of your site first

#1
Profile photo of Joe Chan 0.00 $tone December 15, 2013
Public

Hi again,

I have uploaded your JM Basetheme.zip and it solves the photo insert/browse issue in CMS/static block.

However, now in system>Configuration>JM Base theme, the "Save Config" button are not working.

Please advice. Thanks again.

#2
Profile photo of Birger Kvam 0.00 $tone December 23, 2013
Public

Had the same issue with 404 when uploading images, but the new JMbasetheme files solved it.
Thx for the files.

Will JMbasetheme be updated for the Magento 1.8.1 quickstart?

#4
Profile photo of Sherlock 0.00 $tone December 25, 2013
Public

After uploaded the original base theme, it works again, but of course that means the CMS/static issue are back.

I accessed your site via FTP and fixed the issue directly for you, you can check it again yourself.

#5
Profile photo of boutique 30.00 $tone April 6, 2015
Public

Hi, I have the same problem. Installed Jm Kidsland and get a 404 when trying to add/change some images.
 
I didn’t find the download link in the earlier thread and, this question dates from December 2013. I was kind of hoping that the JMBasetheme version would include the fix…
 
Could you please help me?

#6
Profile photo of Mall Staff 184060.00 $tone April 8, 2015
Public

Hi guys,

When creating/updating pages in CMS or static block, after clicking “Insert/Edit image” button and on the pop up, clicking “browse” button result in a “404 Page not found” pop up instead of the folder/wysiwyg.

The root issue is the error of  tiny_mce plugin in the Magento Core.
To solve this issue, You can update a hot fix as follows:

1.Open the javascript file at js/mage/adminhtml/wysiwyg/tiny_mce/setup.js
and find to line 173, change:

var storeId = this.config.store_id !== null ? this.config.store_id : 0;

 to 

var storeId = this.config.store_id != null ? this.config.store_id : 0;

2. Clean the Magento cache after your changing.
 
Do it and let me know how it goes.
Regards,
Mall.

#8
Profile photo of David Robins 20.00 $tone September 30, 2015
Public

I’ve got the same problem but with Tony. I checked the line you suggested changing in tiny_mce/setup.js but it’s already set to

var storeId = this.config.store_id !== null ? this.config.store_id : 0

Any other suggestions?

#9
Profile photo of Mall Staff 184060.00 $tone October 2, 2015
Public

Hi David Robins,
Yes, let’s replace it by 

var storeId = this.config.store_id != null ? this.config.store_id : 0;

Please not that, the is a difference at “!==” and “!=” operator 😉
Regards.
Mall.

#10
Profile photo of fabiooliveira 480.00 $tone July 12, 2016
Public

Please I need help, when creating / updating pages in CMS or static block, after clicking on the “Insert / edit image” and the pop-up by clicking “browse” button results in a “404 Page not found” pop up instead of / wysiwyg.
Wait, thank you!
Fabio

#11
Profile photo of Ziven Staff 100280.00 $tone July 13, 2016
Public

Hi Fabio,
Please follow instruction like Mall. I did with this instruction and many site working fine. 
PS: I wonder whether you did purchase this theme on our site ubertheme.com or via Themeforest?
Best Regards,
Ziven.

#12

Please login or Register to Submit Answer

Written By

Comments