SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 08:27:00 pm

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 46
Total: 46
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: 500 error on ftp-upload  (Read 1801 times)
scoutladen
Newbie
*
Offline Offline

Posts: 8


View Profile
« on: August 29, 2010, 10:42:50 am »

php.ini:

memory_limit = "64M"
upload_max_filesize = "100M"
post_max_size = "100M"

settings for download pro max filesize 100000000 bytes

but i have some trouble for uploading files with the ftp-option.
i get some 500 error

SMF 1.1.11

do you need some more details?

Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 on: August 29, 2010, 01:11:50 pm »

When does this exactly happen? Are you using the batch add feature in the admin area? Is it a specific file or any files?

If you have access to apache logs see if you can find details on why the 500 error would occur.
Logged
scoutladen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #2 on: August 29, 2010, 02:50:31 pm »

i am using the batch feature in the admin area.
its any file about 5 MB.

error_log: 29.08.2010 21:49:05 robur.de [client 87.178.131.123] Premature end of script headers: index.php, referer: http://www.robur.de/smf/index.php?action=downloads;sa=batchftp

Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #3 on: August 29, 2010, 05:40:32 pm »

From what I read premarture end of script headers means the script was ended/terminated by the webserver before output could be shown on the screen.

Try increasing the max-execution-time time in php the default is 30 seconds.

http://www.php.net/manual/en/info.configuration.php#ini.max-execution-time
Logged
scoutladen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #4 on: August 30, 2010, 02:14:03 am »

increasing the max-execution-time time in 1000 seconds, but no diffrence
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #5 on: August 30, 2010, 09:06:41 am »

Googled some more could be a file permission issue make sure the files are not 777 for file permissions try using 755
Logged
scoutladen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #6 on: August 30, 2010, 09:56:38 am »

777, 755, 644 dosent matter... :-(
Logged
scoutladen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #7 on: August 30, 2010, 03:00:56 pm »

in the directory "downloads" i found some files
every file have the size of 10.485.760 bytes.
i think that are the brocken uploads, but i do not now, why they stop at this size.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #8 on: August 30, 2010, 09:40:27 pm »

Attach one or two this message and I will take a look and see if I can figure out what they are.

The ftp folder should only be copying the file when using the batch ftp function.
Logged
scoutladen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #9 on: August 31, 2010, 01:54:11 am »

sorry please, what shall I attach ti this message? the broken upload-files (10MB) or something else?

can you tell me something for the permissons of directory and files. I have googled for "Premature end of script headers". in most cases there is something with the permissions

the download directory has 755, the downloads.php 666

for the files in.. /ftp/ I tried 755, 644 and 666

(and please do not worry about my english, its not the best)
Logged
scoutladen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #10 on: August 31, 2010, 08:10:51 am »

"Error no upload file found. The file may exceed the webserver upload limit please contact an administrator"

uploading the "normal" way I got the errormessage above...
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #11 on: August 31, 2010, 10:35:53 am »

10MB for the broken file would be too much to attach if you can zip it up and send me a link that would be the best way

Create a test page to display phpinfo and send me a link to it
Code for the page

phpinfo.php
Code:
<?php
phpinfo
();
?>

Logged
scoutladen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #12 on: September 01, 2010, 04:44:36 am »

yesterday I got an answer from my provider. It seams there ist es limit on the server (10 MB), wich I cannot change with php.ini

but have a look www dot robur dot de /smf/phpinfo.php

there you can see a limit of 100 MB... but it seams to be useless...
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #13 on: September 01, 2010, 08:36:20 am »

If they have a hard limit of 10mb that would do it for uploads. You could still use links to the files as a workaround.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 08:02:50 am]

[Today at 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.264 seconds with 21 queries.