TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,031
  • Total Topics: 21,335
  • Online today: 264
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 200
  • Total: 200

TP Downloads not fully working...?

Started by sysengr, May 28, 2006, 10:14:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sysengr

Thanks.

Yep, I own all my servers.  Have them co-located at 5 points across the USA.  In the exact same shell, using a PhP-Nuke web site over the last several years, and even today because I have not erased it yet, I can upload and download any file I want, and of any size without any restrictions or problems.

I will try to find on my own what configuration on my servers cause only the SMF/Tinyporal site to fail on uploads but allow all of my other sites to work just fine.  To be honest, I do not have a single clue what that could be.  And because I get paid to know these thing it really has me wondering right now.

I do whole heartedly thank you for all of your time and thoughts put in to my problem.  I have been so very tickled with SMF and Tiny Portal that I can not even to express my excitement over the switch this week to SMF from Php-Nuke.  Though this upload problem has and shall be a stumbling block for me, there is no way that I will ever give up my new SMF forums, or the wonderful front end called TinyPortal.

Tuesday we will be back in the office, and I have 15 Engineers that will have an assignment on their desk to solve this problem.

It is good to be the Boss.

Again, many respects and thanks.

sysengr

Oh I have a bad feeling I am about to eat my own shoe here very soon.   

I just jumped over to my PhP-Nuke site and all files larger than 1 meg are failing. (/me pounds his head against the desk)   Something has changed on my server and my eyes have now popped out of my head and stuck to my glasses.

I shall let you all know if I have done something stupid or if one of my Employees.  If it is the latter, her or she will be restricted from playing online games at work for a week...

I need sleep! Good night G6, and thank you for all your time.  The power of the pillow has taken full control of me now.

The Evil Boss has spoken.


Crip

Great work on Cerberus Theme. :up:
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



sysengr

The Cerberus is fantastic!   I just modified the graphics a bit for more of a World of Warcraft feel.  You guys made it so easy for anyone to tweek SMF to fit their needs.  I am very happy with it.

sysengr

Problem Solved!

Know that the taste of my shoe shall linger in my mouth for a good while to comeâ€Ã,¦.

My hat is off to G6 for solidly nailing the problem directly on the head!

I run SMF on a Fedora 4 server with c-panel.  Off the Root of the server in the /etc folder is a file called â€Ã...“php.iniâ€Ã,.  There is where you will find all sorts of amazing and wondrous configuration options to amuse yourself for hours on end.

Back to the topic on hand though.   Look for the following lines of code.

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M


The last line is the key to my salvation and yours if you are suffering like I was.

I changed my line to read

upload_max_filesize = 1000M

This is because I have a huge server and can do such things.  I would not recommend 1000M for people running inside a little 200 meg folder.

As for me, I caused this problem myself by breaking my own rule I have posted on the wall in my own office.

NEVER!  Never ever install more than one application or upgrade more than one piece of software on a server at the same time.

I upgraded Apache, PHP, SQL, and added SMF and TP and more all on the same day.  I overwrote several custom files that I have not looked at since I built the server.  One of them being my php.ini on the server in Virginia that I had just put SMF on.

I grovel to the forum Gods for forgiveness and shall go out and find some ashes and sack cloth to start my punishment.

Again, many thanks to you all for making a fantastic product.  I look forward to the day when we will be adding modules for TP too.   Love to share my toys!

/salute again to G6

Syndel

I could raise the size of the files... but now when it takes over 3 minutes to upload, it resets to the Upload area like I did not send anything... :/
Any solutions???

IchBin

You could raise it where? In TP? php.ini? If it's not raised in PHP.ini it won't make a difference what you put in the TP settings.

G6Cad

I think you can change the limit for the time out in your sql db, Im not sure about this though, but i have read some post in here not to long ago about some one that change the timeout limit on upload/download files.
I will see if i can find it

Syndel

I raised the size of the uploads in the php.ini as indicated here :)
But now it resets when it takes too long, which surely happens for bigger files...

cyberbane

If you dont have access to PHP.INI you could maybe try adding this to the .htaccess file

php_value upload_max_filesize 20M

This website is proudly hosted on Crocweb Cloud Website Hosting.