Need help for an MP3

Advertise a phpBB hack or request help with an existing one.

Moderator: TerraFrost

Need help for an MP3

Postby Angel » Sun May 14, 2006 12:20 am

I have Music Online on my forum and I can only upload songs less than 2 megs. My co owner talked to our host and she said it wasn't on her end, it was on phpbb.She said her server doesn't have any size restrictions. What I need is the right setting to change.

Is there a mod that will play one MP3 in a loop that can be turned on and off by the user?

Thanks so much for any help you can give me :)
Angel
Traveler
 
Posts: 5
Joined: Sun May 14, 2006 12:15 am
Location: http://freebird-forum.com/index/

Postby TerraFrost » Mon May 15, 2006 6:57 am

phpBB has no more say over the size of files you can upload than HTML does (hint: neither really have any say). If it's not the server, it's probably PHP, itself. The thing is - if you upload too much, you're liable to, I imagine, run into PHP's timeout of 30 seconds.
TerraFrost
Legendary Guard
 
Posts: 12357
Joined: Wed Dec 04, 2002 6:37 am

Postby Angel » Mon May 15, 2006 8:12 am

Do ya know anyway to get around the 30 second timeout ?

Songs that I load that are 2 megs or less work fine, but anything larger than that give me a file corrupt / timeout error.
Angel
Traveler
 
Posts: 5
Joined: Sun May 14, 2006 12:15 am
Location: http://freebird-forum.com/index/

Postby TerraFrost » Tue May 16, 2006 5:05 am

The timeout can be increased by doing this:

set_time_limit(0);

That said, I don't think it always works on shared hosts...

Also, what are the error messages that you're getting?
TerraFrost
Legendary Guard
 
Posts: 12357
Joined: Wed Dec 04, 2002 6:37 am

Postby Angel » Tue May 16, 2006 7:12 pm

Which file is that line in that I need to change ?

I haven't changed anything yet but now I'm not getting the corrupt file / timeout error, it just seems like it's uploading fine and then just stops, and the song is not uploaded to the server.
Angel
Traveler
 
Posts: 5
Joined: Sun May 14, 2006 12:15 am
Location: http://freebird-forum.com/index/

Postby TerraFrost » Wed May 17, 2006 8:13 pm

Doing it in common.php should work.

Although I have no idea if it'll fix the problem or not...
TerraFrost
Legendary Guard
 
Posts: 12357
Joined: Wed Dec 04, 2002 6:37 am

Postby Angel » Fri May 19, 2006 6:53 pm

I can seem to find that line in common.php Is there perhaps another file it my be in ?
Angel
Traveler
 
Posts: 5
Joined: Sun May 14, 2006 12:15 am
Location: http://freebird-forum.com/index/

Postby Angel » Fri May 19, 2006 10:04 pm

I finally got it to give me that error again,,, and information box comes up and it says "Your uploaded file is too large or corrupted"

This happens with any song that is larger than 2 megs
Angel
Traveler
 
Posts: 5
Joined: Sun May 14, 2006 12:15 am
Location: http://freebird-forum.com/index/


Return to phpBB Hacks and MODs

Who is online

Users browsing this forum: No registered users and 1 guest

cron