My mistake - but how to fix it ?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
tractorboy
Forum Members
Forum Members
Posts: 21
Joined: Thu Mar 23, 2006 11:06 am

My mistake - but how to fix it ?

Post 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
aktos

Re: My mistake - but how to fix it ?

Post by aktos »

I have the same error, I would be interested to know a solution
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: My mistake - but how to fix it ?

Post 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.
Post Reply

Return to “CMSMS Core”