Hi Court
"Court Shrock" <court x_r_y_.com> wrote in
message
news:e1n7pn$gbs$1 newton.xaraya.com...
> Greetings!
> In tracking down why the tinymce imanager/ibrowser was
not working on our
> production servers but was working locally and on our
test server, I
> discovered that imanager.php (in
modules/tinymce/xartemplates/...) around
> line 43 was doing a str_replace('//', '/') for the
realpath of the config
> scripts. This will silently cause errors if you are
hosting xaraya over a
> DFS (Distributed File System) or UNC share and the path
starts with
> '//' --- yeah! The page will never finish loading
and the last javascript
> error in Firefox is:
Thanks for tracking it down. Once I've tidied up the config
(getting there -
just moved all the configs for
tinymce/ibrowser/imanager/filebrowser to one
file) we could perhaps look at a configuration switch for
this situation but
it would be nice to gather up all the instances of this code
insertion first
so we can switch it in one place. I'll see what i can do
over the holiday
weekend..
Also, just for info, imanager is a 3rd party non-xaraya
plugin for tinymce
that i've just wrapped for our own xartinymce module (and
still needs more
work). It is not included by default in the xartinymce
package but i do
update it every now and again to my home space on xaraya
(reminds me i need
to update the latest ...).
> Which brings me to the subject line. I was not able to
quickly check the
> version of imanager.php by using the online docs to see
if this info is
> old news or not Anyhow --
I hope things are going well for everyone.
phpdocs and xref on xaraya only manage the core distribution
files. In
anycase, imanager is not included in any module distribution
we maintain at
xaraya, I just maintain it locally. I usually take the most
recent imanager
available (the 3rd party non xar version), add my usual xar
code to wrap it
as a plug in for xartinymce (I have a list of areas i
change), do a few
things with the UI display, and also update to latest stable
phpthumbs
library. I'll shoot you an email when i've got the lastest
version updated
to my download area.
> BTW, I have noticed that it is generally a very bad
idea to host a xaraya
> site where the files are not on the local filesystem of
the windows
> webserver (on a UNC share) -- page load takes an extra
2-4 seconds even
> with caching. We've tracked it down to all the file
IO and the inherent
> network latency of the files being on the network
instead of local.
Thanks for sharing the observations. Good luck with the
.net work
Cheers
Jo
_______________________________________________
Xaraya_devel mailing list
Xaraya_devel xaraya.com
http:
//xaraya.com/mailman/listinfo/xaraya_devel
|