Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   ERR_CONTENT_DECODING_FAILED (http://www.bvlist.com/showthread.php?t=9440)

pedrodarcos 24th August 2013 23:36

ERR_CONTENT_DECODING_FAILED
 
Hello,

I have set up my tracker here

www.demonoid.com.co

but I get this error when I login (http://demonoid.com.co/user.php)

as admin and as other user...

I don't know how to fix it,

some help would be very appreciated,

thank you

joeroberts 25th August 2013 01:21

what theme are you using?
open include/functions.php and find
PHP Code:

function getip() { 
  
$check = array('HTTP_X_FORWARDED_FOR''HTTP_X_FORWARDED'
                 
'HTTP_FORWARDED_FOR''HTTP_FORWARDED'
                 
'HTTP_VIA''HTTP_X_COMING_FROM''HTTP_COMING_FROM'); 

  foreach (
$check as $c) { 
    if (
ip_valid(&$_SERVER[$c])) { 
      return 
ip_first($_SERVER[$c]); 
    } 
  } 

  return 
$_SERVER['REMOTE_ADDR']; 


and replace it with
PHP Code:

function getip() {
  
$check = array('HTTP_X_FORWARDED_FOR''HTTP_X_FORWARDED',
                 
'HTTP_FORWARDED_FOR''HTTP_FORWARDED',
                 
'HTTP_VIA''HTTP_X_COMING_FROM''HTTP_COMING_FROM');

  foreach (
$check as $c) {
    if (isset(
$_SERVER[$c]) AND ip_valid($_SERVER[$c])) {
      return 
ip_first($_SERVER[$c]);
    }
  }

  return 
$_SERVER['REMOTE_ADDR'];



pedrodarcos 25th August 2013 01:49

Thank you joeroberts
but I am afraid it shows same error.
The theme is NBdemon by NIKKBU

Some days ago when I set up the tracker was working fine...
but today I get many problems, I don't know why, even I have tryed to upload
a torrent and it was spending many time and didn't work.

When you want to upload anonymous it give an error

Access DeniedYou do not have Permissions to Access Upload at this time


although It was enabled this option in the admin area.




joeroberts 25th August 2013 12:28

what edits have you done in the last couple days?

pedrodarcos 25th August 2013 16:02

I tried to upload a torrent, and then as it takes a long time without success...I logged out, and when I re-login again it showed this error.

joeroberts 25th August 2013 16:18

That was not the answer I was looking for.
I am working on error #1
What edits have you made in the last say 5 days?

pedrodarcos 25th August 2013 18:57

I haven't made any changes in the scripts just I changed
Maximum Torrent Size,
now I have re-installed inside this subdomain

tracker.demonoid.com.co

and now appears this error when trying to register

  • Duplicate Ip In use
As admin I have tryed to upload a torrent and it takes a long time without success.
I have changed Upload access level to everyone and still shows this error
btaccdenied
_btnoperms

x360zone 25th August 2013 19:05

hi
 
hosting?
and whats your max_exe time set to?

pedrodarcos 25th August 2013 19:16

1 Attachment(s)
HOSTGATOR

max_execution_time 30

x360zone 25th August 2013 20:09

hi
 
set it to 300 and then try

pedrodarcos 25th August 2013 20:59

ok, works, but when you want to download you get this error
_btaccdenied_btnoautherizeddownload

and when register it again show the error for duplicated ip.

also appears _bt everywhere, is there any way to remove it?

About the other problem ERR_CONTENT_DECODING_FAILED with
demonoid.com.co do you think is better to re-install again?
or just to change some files, and which ones.

Sorry for to much trouble, and thank you very much for your support.

joeroberts 25th August 2013 22:30

Quote:

Originally Posted by pedrodarcos (Post 42363)
ok, works, but when you want to download you get this error
_btaccdenied_btnoautherizeddownload

create a user group quest and set the permistions

Quote:

Originally Posted by pedrodarcos (Post 42363)
and when register it again show the error for duplicated ip.

this is a safty feature to prevent multible accounts to disable it open user/takeregester.php and find
PHP Code:

        if ($db->sql_numrows($db->sql_query("SELECT * FROM ".$db_prefix."_users WHERE lastip = '".sprintf("%u",ip2long(getip()))."';")) != 0)
                
$errmsg[] = "Duplicate Ip In use"

and remove it
Quote:

Originally Posted by pedrodarcos (Post 42363)
also appears _bt everywhere, is there any way to remove it?

you need to creat the missing language vereables.
Best way is to take the english and convert it to the language you want to use
Quote:

Originally Posted by pedrodarcos (Post 42363)
About the other problem ERR_CONTENT_DECODING_FAILED with
demonoid.com.co do you think is better to re-install again?
or just to change some files, and which ones.

I am stell waiting on a answer as to what edits you have done to the site.
do you get this erro with the default theme?

pedrodarcos 25th August 2013 23:05

"and remove it"
I get this error now
_http500errttl_http500errtxt


"you need to creat the missing language vereables.
Best way is to take the english and convert it to the language you want to use"

How can I do that? I mean do I need to open the english.php and then for example...
define("_btsorry","Sorry");
need to write ("lo siento"); or
("_btsorry","lo siento");

and so on which every each file?

"I am stell waiting on a answer as to what edits you have done to the site.
do you get this erro with the default theme?"

I can't acces to admin panel now, but I removed the other themes by ftp...and now shows the default theme, but still is the error
and about what I edit...nothing.

joeroberts 25th August 2013 23:15

to create a new language or fix missing text
open language/english.php copy the content to the language file you are using
Now edit the text
define('_btsorry','Your new text for Sorry');
its only one file.
why cant you access admin?
What Is you php version?





[edit]
Turn off forum sharing!

pedrodarcos 25th August 2013 23:37

why cant you access admin?

because of when I try to access it shows the error
ERR_CONTENT_DECODING_FAILED

PHP Version 5.2.17


joeroberts 25th August 2013 23:46

Quote:

Originally Posted by pedrodarcos (Post 42367)
why cant you access admin?

because of when I try to access it shows the error
ERR_CONTENT_DECODING_FAILED



go into torrent_admin_forum
and set forum_share to false

pedrodarcos 25th August 2013 23:55

forum_share
Where can I find it?
sorry for this noob question

joeroberts 26th August 2013 00:00

data base->torrent_admin_forum

pedrodarcos 26th August 2013 01:15

Thank you very much,
now is working like a charm:drink:


All times are GMT +2. The time now is 18:44.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.