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: 196,027
  • Total Topics: 21,334
  • Online today: 519
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 238
  • Total: 238

Moved to new host, now downloads over 1MB don't download

Started by stormica, July 29, 2009, 12:18:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stormica

Hello All,

I'm using SMF 1.1.10 and TP 0.9.8
We recently relocated the board from locally hosted on a dedicated server, to shared hosting

The old php info (from the local machine) can be found here:
http://174.3.0.240/index3.php

Then new, can be found here:
http://www.banditalley.net/index3.php

As best I can tell, the 3 main entries that usually affect uploads are the same, but we're having trouble with the downloads.

URL to site: http://forums.banditalley.net

Mods installed:
Mod Name     Version     
1.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    
2.    TinyPortal    0.983    
3.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    
4.    Save PM as HTML    1.0.5    
5.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    
6.    SMF 1.0.14 / 1.1.6 Update    1.0    
7.    SMF 1.0.15 / 1.1.7 Update    1.0    
8.    Favicon    1.0    
9.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0
10.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    
11.    SMF 1.0.16 / 1.1.8 Update    1.0    
12.    Gallery 2 Integration    1.0beta3.1    
13.    Ignore user    1.4
14.    TinyPortal    1.075    
15.    FelBlog for SMF    0.940    
16.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    
17.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0
18.    SMF 1.1.4 Search "brd" Bug Fix (1.0.1)    1.0.1    
19.    Downloads System    1.0.3    
20.    Reason For Editing Mod    1.14    
21.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    
22.    No Reply Emails    1.3    
23.    Stop Spammer

Using the default theme (SMF Default Theme - Core)

If I try to download a file that's under 1MB, it will download just fine  (note, the files that we have are up to about 400kb then the next size is at the 3.5mb mark, and it won't download.)


If I try to download any of the files that we have that are above this limit, the download never starts, the screen doesn't refresh, it doesn't (appear to the user to ) fail.  Nothing happens.

Looking in the logs, I get the following message:
2: filesize(): Stat failed for /usr/local/pem/vhosts/<hostingIDHere>/webspace/httpdocs/<websitenamehere>/forums/tp-downloads/- empty item - ftp (errno=2 - No such file or directory)
File: /usr/local/pem/vhosts/<hostingIDhere>/webspace/httpdocs/<websitenamehere>/forums/Sources/TPdlmanager.php
Line: 1586

Yes, the file exists, but the message is the same whether the file exists or not.

I've tried:

  • removing the download file entries and re-adding them
  • I've tried re-uploading the files
  • I've tried changing the permissions on the files to 777. (the webserver uses apache:apache as the owner/group, but the FTP'd files save as f195xxx: pemcln  (the owner and group for the shared hosting account))
  • I've tried creating another category and adding the files to the new category instead

The webhosting package has no Cpanel access, and the web interface is atrocious, I have no ability to change ownership in the web interface, hence the permissions change.

Every time I try to do something, then test again, I click the download link, and we just stare at each other for a while.

I searched the forums, and saw several people with the same problem, but no solution that worked for me.

Do I need to contact my host about this?  If yes, what information would they need to find the issue?  

Thanks
stormi

stormica

I forgot to mention:

I've also run repair_settings.php

THe whole board works with the exception of the downloads

Skhilled

This is a hosting issue where php uploads have been set to 1mb max. You'll probably have to contact your hosting and ask them to set it higher.

You can also follow the instructions for "Can't upload a large zipped game/memory error". 

Renegd98

Skhilled has hit the nail on the head.... contact your host.

stormica

Hi guys,

Just to clarify: This will affect downloads as well?  I upload via FTP to get the files up there, it's the downloading that's a problem.
If I make the files available via direct link (i.e. move them out of that folder, etc) the files download fine.

Thanks

IchBin

Did you try uploading one of the affected files the normal way through the upload feature in your downloads module? Instead of using the FTP method.

stormica

I don't usually do that, because it fails at 8 mb due to the php limits on the larger files (we're hosting files up to about 135MB at this time). 

Just tested it though.  Uploads fine, but can't download it just like when the files are FTP'd. 

It says "waiting for forums.banditalley.net..." indefinitely. 
The download never starts. 

Interestingly, if I've uploaded the way you suggest, there are no errors in the logs, unlike the filesize error that shows up with the FTP'd files.

IchBin

You should talk to your host then, and ask them to help you. Its most likely a server permissions problem.

stormica

Alright, Will do. 

I will report back if they tell me what they fixed,... as long as they don't say they sacraficed a chicken and waved incense over it.  (which I suspect they'll try to tell me. )  ???

Thanks for the input.

Skhilled


This website is proudly hosted on Crocweb Cloud Website Hosting.