Page 1 of 1

My mistake - but how to fix it ?

Posted: Wed Nov 26, 2008 12:16 pm
by tractorboy
Hi,

I put live a site with an error in config.php : I had

$config['uploads_path'] = '/home/sites/mysite.co.uk/uploads

not

$config['uploads_path'] = '/home/sites/mysite.co.uk/public_html/uploads

I've changed it, so file uploads work fine now,  but the TinyMCE file picker still looks in the old, wrong directory.  How do I update the TinyMCE config ? Clearing chache, De-installing, deleting /modules/TinyMCE, re-copying and re-installing did not work. 

The exact error, from running in debug, is

Warning: dir(/home/sites/webu.org.uk/uploads/images/) [function.dir]: failed to open dir: No such file or directory in /home/sites/webu.org.uk/public_html/modules/TinyMCE/filepicker.php on line 105

Fatal error: Call to a member function on a non-object in /home/sites/webu.org.uk/public_html/modules/TinyMCE/filepicker.php on line 106


CMSMS is v1.4.1 and TinyMCE is version 2.4.5

Thanks in advance

Re: My mistake - but how to fix it ?

Posted: Fri Dec 05, 2008 2:46 pm
by aktos
I have the same error, I would be interested to know a solution

Re: My mistake - but how to fix it ?

Posted: Fri Dec 05, 2008 2:51 pm
by Ted
Try doing a cache clear in Site Settings.  Changes to config.php sometimes require this because templates are generated on their values and cached.