Joomla Cute Editor Image Upoad not working

Last post 03-16-2011, 4:49 PM by Eric. 3 replies.
Sort Posts: Previous Next
  •  03-16-2011, 11:38 AM 66691

    Joomla Cute Editor Image Upoad not working

    Im having a problem with Cute Editor for Joomla in that when I try to upload an image it wont work
     
    The site had been moved from a sub directory and that might be the reason and perhaps I need to alter some configuration file?
     
    Coudl yu make a sugestion of which files might need to be altered and where? Or if there might be a different solution?
     
    Thanks in advance
  •  03-16-2011, 12:41 PM 66693 in reply to 66691

    Re: Joomla Cute Editor Image Upoad not working

    Dear chayofa,
     
    Please send your site username and password to [email protected], i will check cuteeditor on your website.
     
    Thank you for asking
  •  03-16-2011, 3:02 PM 66699 in reply to 66693

    Re: Joomla Cute Editor Image Upoad not working

    Thanks Eric
     
    Ive just emailed you the details
     
    Peter
  •  03-16-2011, 4:49 PM 66704 in reply to 66699

    Re: Joomla Cute Editor Image Upoad not working

    Dear Peter,
     
    I have checked your website and can reproduce the issue, please set one temporary directory and try it again.
    How to set temporary directory?

    Please follow steps:

    1. Please open "cuteeditor_files\Dialogs\phpuploader\include_phpuploader.php"
    2. search the following line:

       function PhpUploader()
     {
      $this->Name="AjaxUploaderFiles";
      $cd=dirname($this->GetWebPath(__FILE__));  
      $this->ResourceDirectory="$cd/resources";
      $this->ResourceHandler="$cd/ajaxuploaderresource.php";
      $this->UploadUrl="$cd/ajaxuploaderhandler.php";
    3. if CuteEditor for joomla:
       update it to:
        function PhpUploader()
     {
      $this->Name="AjaxUploaderFiles";  
      $cd=dirname($this->GetWebPath(__FILE__));
      $cd = "/plugins/editors/cuteeditor_files/Dialogs/phpuploader";
      $this->ResourceDirectory="$cd/resources";
      $this->ResourceHandler="$cd/ajaxuploaderresource.php";
      $this->UploadUrl="$cd/ajaxuploaderhandler.php";
            if CuteEditor for PHP, how to get the value of variable "$cd"?
       a. save "cuteeditor_files\Dialogs\phpuploader\include_phpuploader.php" as "include_phpuploader(bak).php"
       b. edit "cuteeditor_files\Dialogs\phpuploader\include_phpuploader.php", remove all code of this file
       c. open cuteeditor, click button "insert image", you will find the upload button is replaced by one error message which looks like:
          Fatal error: Class 'PhpUploader' not found in /home/www/clients/client0/web15/web/plugins/editors/cuteeditor_files/Dialogs/upload.php on            line 99
       d. You can find php uploader will find file in "/home/www/clients/client0/web15/web/plugins/editors/cuteeditor_files/Dialogs/upload.php"
          the $cd value should be:
          $cd = "/home/www/clients/client0/web15/web/plugins/editors/cuteeditor_files/Dialogs/phpuploader";

     
    Thank you for asking
View as RSS news feed in XML