I have just installed a fresh untouched copy of CS-CART 4.01, everything works fine except when i try an upload a file using The template editor, i get the following error.
Error[color=#B94A48]Cannot write to the file [/color]/homepages/45/d487622789/htdocs/cs_cart[object Object]/gallery2.swf[color=#B94A48]. Please check the file and directory permissions.[/color]
I have checked all my folder permissions, and they are all correct.
I checked the controller and this seems to be the problem
$pname = fn_normalize_path($base_dir . $_REQUEST['path'].'/');
I checked $_REQUEST['path']
and it is showing as a string! not an object! anyone had the same problem? are there any fixes?