Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Torrent Strike
Reply
Thread Tools
  #1  
Old 15th August 2009, 08:09
Ripparinn's Avatar
Ripparinn Ripparinn is offline
Senior Member
 
Join Date: Feb 2009
Iceland
Posts: 47
Default Fatal error: Allowed memory size of ?
When i upload a torrent i get this

Click the image to open in full size.

So if anyone can fix that for me it would be owesome
if you can you can have an access to FTP on my server to fix it :)
Reply With Quote
  #2  
Old 15th August 2009, 11:23
tekmobile tekmobile is offline
Senior Member
 
Join Date: Jul 2009
United Kingdom
Posts: 16
Default
You need to increase your PHP memory limit by adding the following line to the top of your benc.php file in the include folder

PHP Code:
ini_set("memory_limit""32M"); 
Change the 32M to whatever value is suitable.
Reply With Quote
  #3  
Old 15th August 2009, 17:48
Ripparinn's Avatar
Ripparinn Ripparinn is offline
Senior Member
 
Join Date: Feb 2009
Iceland
Posts: 47
Default
WHen i set this on top of benc.php i just get different numbers in the fatal error :S
Reply With Quote
  #4  
Old 15th August 2009, 18:20
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by Ripparinn View Post
When i upload a torrent i get this

Click the image to open in full size.

So if anyone can fix that for me it would be owesome
if you can you can have an access to FTP on my server to fix it :)
this is a server side error you need to increase memory limit in php.ini
Quote:
For those of you who use shared hosting the quick solution would be to add a line in .htaccess file located at your root folder.
php_value memory_limit 24M
In php.ini search for this line “memory_limit = 8M”, replace the 8M with your desired value like 16M, 24M etc. Save the file and upload it to the server. Now you need to restart Apache for the changes to effect, this can be done through WHM, if you dont have WHM installed use these command
/etc/rc.d/init.d/httpd restart Refresh the browser, your site should work normally.
By using the same procedure you can also increase the file upload limit size, in this case search for the line “upload_max_filesize = 2M” in php.ini and change the value to your desired value. The dafault upload limit in php is 2MB.

EDIT: lmao it is not a script error it is a server problem if you are on a vert or a dedi server you can fix this if you are on a home server you can fix this but If you are on a shared server you can not fix this as you need root access to the server to fix it.
FTP well do no one any good.
you can try to play with .htaccess file and add the line
php_value memory_limit 32M
on its own line but if that dose no good you can not do anything then sorry
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #5  
Old 15th August 2009, 20:59
Ripparinn's Avatar
Ripparinn Ripparinn is offline
Senior Member
 
Join Date: Feb 2009
Iceland
Posts: 47
Default
im on shared server and i have a root access to it :)
so what do i need to do then ? :D
Reply With Quote
  #6  
Old 15th August 2009, 22:33
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
Quote:
Originally Posted by Ripparinn View Post
im on shared server and i have a root access to it :)
so what do i need to do then ? :D
there are 3 types of hosting: shared VPS and dedicated, you have shared so cannot access root (not root of the site, root of the server)

you gotta do the htaccess thing...make a notepad file called .htaceess and put in it php_value memory_limit 32M then upload to your root
Attached Files
File Type: rar .htaccess.rar (179 Bytes, 7 views)
Reply With Quote
  #7  
Old 15th August 2009, 22:43
Ripparinn's Avatar
Ripparinn Ripparinn is offline
Senior Member
 
Join Date: Feb 2009
Iceland
Posts: 47
Default
Ohh sry i have two sites one on Shared and one on Deticaded server
im having proomblem with my site on Deticaded server.
I have an access to all the server (i own it)
and the site is IceBits.Net :)
and the .htaccess that you uploaded do i put in in the root of the server or the site ?
Reply With Quote
  #8  
Old 15th August 2009, 22:48
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
the .haccess is for the shared site
if you have the error on the dedicated server then look for php.ini and modify in it the max_allowed memory...mine is in /etc
Reply With Quote
  #9  
Old 15th August 2009, 22:49
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
open /etc/php5/apache2/php.ini
find
memory_limit = ?m
and make it
memory_limit = 32m
safe it and restart your server
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #10  
Old 15th August 2009, 23:04
Ripparinn's Avatar
Ripparinn Ripparinn is offline
Senior Member
 
Join Date: Feb 2009
Iceland
Posts: 47
Default
Thank you for your help but i dont think my php.ini is in php5 map
because i dont have any BUT
these are my mapps that are in /etc

Click the image to open in full size.

Could it be in one of these folders ?
Reply With Quote
Reply

Tags
allowed , error , fatal , memory , size


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error! Direct initialization of this file is not allowed. kingpiNmk Template Shares 1 23rd December 2009 22:46
Fatal Error Geko Yuna Scatari Edition (YSE) 7 25th August 2009 17:52
Upload error, Fatal error TKO Template Shares 5 14th February 2009 02:23
fatal error simbalord BT.Manager (phpMyBitTorrent) 9 23rd October 2008 16:18



All times are GMT +2. The time now is 12:38. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.