Hi There
i am using drupal 5 , tinymce 5-1.9 and imce 5-1.2
using ie (6 and 7) adding an image , when the user presses the browse button, he gets an script error
"imceBrowserUrl is undefined"

when i uses the same user to log in with firefox - it works ok

so i guess it's not a user permission error,
i remember this working , so i have tried installing the previous version of imce (1.0) too , that does not help

any ideas ?

Thanks , Avior

Comments

avior’s picture

i have found the problem
it was a bad markup in page.tpl.php in the $closure part

<div><?php print $closure ?></div>

there was a missing closing ">" so it caused ie to ignore the script tag

<div<?php print $closure ?></div>

so the results was

<div<script type="text/javascript"> var imceBrowserURL = "/he/imce/browse"; </script>
<script type="text/javascript" src="/sites/all/modules/imce/imce_set_tinymce.js"></script></div>
ufku’s picture

Status: Active » Closed (fixed)