CentOS 6 upload does not go through (resolved)

Discuss everything related to File Uploader. All versions. Any questions related to the File Uploader developing or using should be posted to this forum.

Moderators: ne_moj, zewa, Milton, vadimako, ne_moj, zewa, Milton, vadimako

yudthaphon
Junior
Junior
Posts: 24
Joined: Nov 2nd, '09, 14:29

CentOS 6 upload does not go through (resolved)

Postby yudthaphon » Aug 7th, '13, 16:32

Dear Support Team
I have tested using my Pro version 2.2.4 of the File Uploader successfully on Window Host.
Now, I need to use it on CentOS 6.4. I installed the Uploadprogress extionsion.
However, it cannot upload correctly (please see attached image)

Thank you very much for great product!
Yudthaphon

PHPINFO shows this
uploadprogress
uploadprogress support enabled
Version 1.0.3.1

Directive Local Value Master Value
uploadprogress.file.contents_template /tmp/upload_contents_%s /tmp/upload_contents_%s
uploadprogress.file.filename_template /tmp/upt_%s.txt /tmp/upt_%s.txt
uploadprogress.get_contents 0 0
Attachments
Screen Shot 2556-08-07 at 11.10.15 PM.png
the upload starts but never update the progress
Screen Shot 2556-08-07 at 11.10.15 PM.png (239.07 KiB) Viewed 2725 times
Last edited by yudthaphon on Aug 12th, '13, 08:07, edited 2 times in total.

administrator
Site Admin
Site Admin
Posts: 5992
Joined: Jan 7th, '09, 23:18
Contact:

Re: CentOS 6 upload does not go through

Postby administrator » Aug 8th, '13, 08:26

We didn't testing this script on CentOS 6.4
Please try to increase maximum allowed file for uploading and try again.
Also, can you check server error log file? Does it write for some error?
Browser Javascript error console?

yudthaphon
Junior
Junior
Posts: 24
Joined: Nov 2nd, '09, 14:29

Re: CentOS 6 upload does not go through

Postby yudthaphon » Aug 9th, '13, 04:53

Thank you very much.
I will check it.

yudthaphon
Junior
Junior
Posts: 24
Joined: Nov 2nd, '09, 14:29

Re: CentOS 6 upload does not go through

Postby yudthaphon » Aug 11th, '13, 16:11

Hello.
I found the solution for my problem and would like to share.
Additional steps to the suggested how-to for installation:

1.change the target folder permission to 777 (using # chmod 777 foldername)
2.edit the /etc/php.ini by
2.1changing upload_max_filesize = xxxM (where xxx is maximum file size in MB)
2.2 changing post_max_size = xxxM (to match the upload_max_filesize)
3. restart the httpd service (using # service httpd restart)

After testing upload a file (230MB), it works !!!

Thank for the great product.
Yudthaphon

During the upload:
centos64-00.png
centos64-00.png (81.13 KiB) Viewed 2676 times


After finish.
centos64-01.png
centos64-01.png (88.58 KiB) Viewed 2675 times

yudthaphon
Junior
Junior
Posts: 24
Joined: Nov 2nd, '09, 14:29

Re: CentOS 6 upload does not go through

Postby yudthaphon » Aug 11th, '13, 17:37

Hello
Would you please suggest how to change the display messages in the program including the report messages in the debug mode (ie. from ENG to THAI) ?
Thanks
Yudthaphon

administrator
Site Admin
Site Admin
Posts: 5992
Joined: Jan 7th, '09, 23:18
Contact:

Re: CentOS 6 upload does not go through

Postby administrator » Aug 12th, '13, 07:26

Yes, look in resources/ directory - you may see there resources.en.php and resources.de.php files.
Add your own file with translation into Thai lang and then define in your code a language you want to use:
SetLanguage(...)

Adhori Yaadin
Newbie
Newbie
Posts: 1
Joined: Mar 3rd, '15, 11:35

Re: CentOS 6 upload does not go through (resolved)

Postby Adhori Yaadin » Mar 3rd, '15, 11:36

Yes try to increase maximum allowed file for uploading and try again.
Also, can you check server error log file? Does it write for some error?


Return to “ApPHP AJAX File Uploader”