problem pointing to the scripts

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
8/27/2008 4:02:17 AM
Gravatar
Total Posts 69

problem pointing to the scripts

hi, I've tried to get TinyMCE editor working on my site but the buttons are not appearing. When I right-click on where they are supposed to be and seelct properties I can see that the growser is trying to get them from the following url -> http://www.***.com/web/ClientScript/tiny_mce/http://www.***.com/ClientScript/tiny_mce/plugins/fullscreen/images/fullscreen.gif

obviously I've got something wrong in where I point to the images somewhere but I can't figure out where.

8/27/2008 5:54:56 AM
Gravatar
Total Posts 18439

Re: problem pointing to the scripts

Why do you have /web/ as part of the path? Can you put mojoportal in the root folder instead of the web folder? I think that will solve it for you.

Hope it helps,

Joe

8/27/2008 6:57:00 AM
Gravatar
Total Posts 69

Re: problem pointing to the scripts

all files on our host have to go in the /web/ folder - other mojo sites I've setup are in this folder and work fine but somewhere along the way the links seem to get doubled up

8/27/2008 7:04:31 AM
Gravatar
Total Posts 18439

Re: problem pointing to the scripts

Well it looks like the /web/ is not getting included in the image path:

http://www.***.com/ClientScript/tiny_mce/plugins/fullscreen/images/fullscreen.gif

if your site is running from:

http://www.***.com/web/

then the path to the images should be:

http://www.***.com/web/ClientScript/tiny_mce/plugins/fullscreen/images/fullscreen.gif

8/27/2008 7:07:44 AM
Gravatar
Total Posts 69

Re: problem pointing to the scripts

thanks but the problem seems to be the doubling up of the url

http://www.***.com/web/ClientScript/tiny_mce/http://www.***.com/ClientScript/tiny_mce/plugins/fullscreen/images/fullscreen.gif

will I have to re-upload the whole site or can I adjust the settings for the paths somewhere?

8/27/2008 7:31:34 AM
Gravatar
Total Posts 18439

Re: problem pointing to the scripts

Try changing this in Web.config:

<add key="TinyMCE:BasePath" value="/ClientScript/tiny_mce/" />

to this:

<add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce/" />

Hope it helps,

Joe

8/27/2008 7:39:30 AM
Gravatar
Total Posts 69

Re: problem pointing to the scripts

no difference, looks like I'll have to start over

8/27/2008 7:46:08 AM
Gravatar
Total Posts 18439

Re: problem pointing to the scripts

Well, I just tried to use TinyMCE here and I got an error until I changed that setting as indicated. If it didn't fix it for you, then there must be some other factors involved, like in your previous post where you mentioned about opening it up in Dreamweaver and changing a bunch of links. If it modifed links to javascript or within javascript files that most likely is the problem. You should not have to modify anything in Dreamweaver and doing so makes it hard to diagnose problems you are having.

Hope it helps,

Joe

8/27/2008 7:47:06 AM
Gravatar
Total Posts 69

Re: problem pointing to the scripts

that's what I thought, looks like a fresh install would be best

thanks for your help

You must sign in to post in the forums. This thread is closed to new posts.