TinyCME - missing popups

Permalink 1 user found helpful
I've got an installation of C5 5.3.3.1 installed on a subdomain. When I edit a content block, the TinyMCE editor is functioning properly. But if I click on any menu icon that instantiates a popup - such as HTML, Table or Insert/Edit image - I get a "Page Not Found" in the popup modal.

I've tried reinstalling the JS folder, but no luck.

Has anyone seen this, or might anyone have a suggestion of how I might resolve?

Thanks

 
luan replied on at Permalink Reply
Go to the file: concrete/helpers/concrete/urls.php and replace this line 90-94 witch is:

} else {
$url = BASE_URL . DIR_REL . '/' . DIRNAME_BLOCKS . '/' . $bt->getBlockTypeHandle() . $ff;
}

return $url;

with this code:

} else if(file_exists(BASE_URL . DIR_REL . '/' . DIRNAME_BLOCKS . '/' . $bt->getBlockTypeHandle() . $ff)) {
$url = BASE_URL . DIR_REL . '/' . DIRNAME_BLOCKS . '/' . $bt->getBlockTypeHandle() . $ff;
} else {
$url = "";
}
return $url;



hope this helps.