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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 337
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 272
  • Total: 272

problem with tp-download after transfer to new host

Started by bioemm.com, November 15, 2009, 06:30:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bioemm.com

Hi
i have transfer my files to news host
all of tp-dwonload files are transfered but when i click to download one of them just 0 Kb is size of file

how can i solce this problem ?
permission of folders are 755 .

Thx

ZarPrime

NYZ4LI,

Upload the file attached to this post to your root directory of your site or the root directory of your Forum and then run it from your browser.  For instance, if your Forum root is http://bioemm.com/forum/ then you will type the following into the address bar of your browser and hit enter ...
http://bioemm.com/forum/info.php

Once you have done this, check the Local Value for the following item.  It may be set too low.  I set this to 50M on my sites ...
upload_max_filesize

There may be other items here set too low as well, but this one is usually the culprit.  Once you have done this, you may delete the info.php file or leave it if your host permits it.  Some hosts don't permit this file to remain on your site even though there is no security issue with it being there.

ZarPrime

bioemm.com

thx ZarPrime
upload_max_filesize = 5 M

what should i do now ?

ZarPrime

Well, 5M is pretty low.  My host normally sets it for 2M but I change it in my root folder (.../public_html/) by adding the following lines to my .htaccess file in that folder ...

php_value upload_max_filesize 50M
php_value post_max_size 24M


The first one changes it locally for me to 50M.  Usually 16M is enough but I set mine much higher.  If your host doesn't allow you to change it yourself then you can ask them to raise the upload_max_filesize for you.  I would go at least 16M but a little higher wouldn't hurt.  Post back and let us know if this solves the problem and if it doesn't then we'll look at a couple of other things that could be causing it.

ZarPrime

bioemm.com

i do that
there is error
Internal Server Error

now i send a ticket to my server admin about this problem and post back the result .

IchBin

It should not have anything to do with those settings really. It's a server permission error. The upload_max and post_max are settings that only affect the uploading of a file. It sounds to me like apache/php cannot properly read the file. I would suggest changing the permissions on the file and folders for tp-files to 777 to just test if the download will work. If you cannot change this permission you will have to seek help from your host.

bioemm.com

yes
thx you
it was server permission error
i contact with my server admin and he correct this problem .

special thx to all

ZarPrime


This website is proudly hosted on Crocweb Cloud Website Hosting.