Bug in Centos?

Last post 01-10-2011, 6:22 AM by mypokerstake. 2 replies.
Sort Posts: Previous Next
  •  01-09-2011, 10:41 AM 65640

    Bug in Centos?

    The below is copied from my coder. He is testing with the latest trial version, however I have a full license for the software also. He is testing with trial as the website has not been pointed to the correct dns yet so the full version will obviously not work as it is tied to the final url (mypokerstake.com)
     
    It is being used in centos 5, on a dedicated Linux server
     
    ********************************************************************************
    I have been checking on the File Uploader issue in the application form. It seems there is a bug with the software when in a centos environment.
    The latest version of the file works well in my local development environment (Windows 7 - XAMPP).
    But it does not seems to work when in mypokerstake's server. The Upload button is enabled but nothing happens when I click on it.
    Could you check this with cutesoft to see what is wrong ? (The files are the latest version, with a 30-day trial license. I also tried the mypokerstake license, but with the same result).
    I have set up their demo pages in our server too, for quick checking.
     
  •  01-09-2011, 5:19 PM 65642 in reply to 65640

    Re: Bug in Centos?

    Dear mypokerstake,
     
    1. please open file "\cuteeditor_files\Dialogs\phpuploader\include_phpuploader.php"
    2. you can find the following code around line 395
         $cd=dirname($this->GetWebPath(__FILE__)); 
         $this->ResourceDirectory="$cd/resources";
         $this->ResourceHandler="$cd/ajaxuploaderresource.php";
         $this->UploadUrl="$cd/ajaxuploaderhandler.php";
    3. please hard_coded the $cd, change it to actual url
         $cd=dirname($this->GetWebPath(__FILE__)); 
         $cd = "/uploader/phpuploader";
         $this->ResourceDirectory="$cd/resources";
         $this->ResourceHandler="$cd/ajaxuploaderresource.php";
         $this->UploadUrl="$cd/ajaxuploaderhandler.php";
    4. test it again
    Keep us posted.
     
    Thank you for asking
    Eric@cutesoft.net 
     
     
  •  01-10-2011, 6:22 AM 65652 in reply to 65642

    Re: Bug in Centos?

    Perfect solution, thanks.
     
    He has set this software up before about a year ago. I guess he forgot that bit :)
View as RSS news feed in XML