Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Upload Error template editor [object object] Rate Topic   - - - - -

  • richiej
  • Member
  • Members
  • Join Date: 12-Feb 13
  • 23 posts

Posted 03 September 2013 - 03:48 PM #1

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.

ErrorCannot write to the file /homepages/45/d487622789/htdocs/cs_cart[object Object]/gallery2.swf. Please check the file and directory permissions.

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
and it is showing as a string! not an object! anyone had the same problem? are there any fixes?