Page 1 of 1

Root Directory

Posted: Thu May 17, 2007 2:20 pm
by lilahunt
Hi

I just changed my root directory so that it points to the domain name, not the folder that the cms files are in. I modified the config file so that the urls point to the correct place.
Everything seemed fine. The pages load and the admin section load. Except...

The images that I uploaded using the image manager aren't showing up on the website.
The thumbnails show up in the image manager and the modules are all installed.
When opening a page in the admin panel I get an error saying:
Error loading ...en.js
Error loading ...fckplugin.js
*Both under the fckeditor directory
Unknown toolbar item CmsModules
Unknown toolbar item CmsContent

After clicking through the error messages the page loads except for the images, which are broken.

Any help would be greatly appreciated. Thanks

Lila

Re: Root Directory

Posted: Thu May 17, 2007 2:46 pm
by Nullig
You should probably use the "Source" view for those pages that have images and amend the path info there.

Nullig

Re: Root Directory

Posted: Thu May 17, 2007 2:50 pm
by lilahunt
Well, I could always just bring the images into the images directory and use the image tag and path but I am saving that as my last resort. I would prefer to get the problem with my module fixed. I forgot to mention that although the image manager works it is not loading into the fckeditor either.
Thanks for your help.
Lila

Re: Root Directory

Posted: Thu May 17, 2007 5:19 pm
by Pierre M.
Hello,

what about using TinyMCE instead of FCKeditor ?
Does it solve your problem ?

Pierre M.

Re: Root Directory

Posted: Thu May 17, 2007 7:13 pm
by tsw
lilahunt wrote: I modified the config file so that the urls point to the correct place.
You also need to modify the paths

Re: Root Directory

Posted: Thu May 17, 2007 7:14 pm
by tsw
oh and remember to clear cache after you edit config.php

Re: Root Directory

Posted: Fri May 18, 2007 2:15 pm
by lilahunt
Ya I did.
in my config file I have...

#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = '/homepages/18/d204744332/htdocs/hockeyschool/uploads/images';
$config['image_uploads_url'] = 'http://www.kellyreedhockey.com//uploads/images';

If I go to an image following the path it is there.
http://www.kellyreedhockey.com//uploads ... lly(1).jpg

but in my source it is still using the /hockeyschool/uploads/images

Even after I cleared my cache.
Thanks

Re: Root Directory

Posted: Fri May 18, 2007 2:24 pm
by lilahunt
Never mind...
I am the biggest idiot. Such an idiot I'm not even going to say what I did because it is such a minor oversite.
Thanks for the help.

I think to solve the editor problem I am going to download a different editor.

Thanks again
Lila