Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
PHP File Uploader
»
Bug in Centos?
Bug in Centos?
Last post 01-10-2011, 6:22 AM by
mypokerstake
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
01-09-2011, 10:41 AM
65640
mypokerstake
Joined on 01-09-2011
Posts 2
Bug in Centos?
Reply
Quote
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.
Demo pages:
http://217.174.249.8/uploader/demo1.php
and
http://217.174.249.8/uploader/demo2.php
PHP Info page:
http://217.174.249..8/php_info.php
01-09-2011, 5:19 PM
65642
in reply to
65640
Eric
Joined on 08-05-2009
Posts 1,269
Re: Bug in Centos?
Reply
Quote
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
[email protected]
01-10-2011, 6:22 AM
65652
in reply to
65642
mypokerstake
Joined on 01-09-2011
Posts 2
Re: Bug in Centos?
Reply
Quote
Perfect solution, thanks.
He has set this software up before about a year ago. I guess he forgot that bit :)