Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 26th July 2013, 08:22
xd-host.eu xd-host.eu is offline
Senior Member
 
Join Date: Feb 2013
P2P
Posts: 21
Default error nginx for tbdev engine!
Hi, please help, error tbdev nginx server.
PHP error

Code:
=UC_MODERATOR){  mysql_query("DELETE FROM vezetosegeifal") or sqlerr(__FILE__, __LINE__);  mysql_query("INSERT INTO vezetosegeifal (userid, username, date, text)  VALUES(0, 'RENDSZER', UNIX_TIMESTAMP(NOW() ), 'Az üzifalat üritette  $CURUSER[username]')");  echo "Üzenőfal üritve!";  } if($_GET['uzifal'] == "vezer"){?> 

 
Üzenet:
Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size. Ürités
Üzenet:
Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size. = UC_MODERATOR) { ?> Semmi Kvíz Kérdés Kvíz nyertes Rendszer üzenet Ürités " . $a["username"] . ""; else $latestuser = $a['username']; { $totalonline = $row["totalol"]; } /* $a = @mysql_fetch_assoc(@mysql_query("SELECT id,username FROM users WHERE status='confirmed' ORDER BY id DESC LIMIT 1")) or die(mysql_error()); if ($CURUSER) $latestuser = "" . $a["username"] . ""; else $latestuser = $a['username']; */ $registered = number_format(get_row_count("users")); //$unverified = number_format(get_row_count("users", "WHERE status='pending'")); $torrents = number_format(get_row_count("torrents")); $dead = number_format(get_row_count("torrents", "WHERE visible='no'")); $adatf = mysql_query("SELECT SUM(downloaded) as osszletoltes, SUM(uploaded) as osszfeltoltes FROM `users` WHERE `enabled`='yes'") or sqlerr(__FILE__,__LINE__); $adatforgalom = mysql_fetch_array($adatf); $totaldownloaded = $adatforgalom['osszletoltes']; $totaluploaded = $adatforgalom['osszfeltoltes']; $r = mysql_query("SELECT SUM(seeders) FROM torrents") or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $seeders = 0 + $a[0]; $r = mysql_query("SELECT SUM(leechers) FROM torrents") or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $leechers = 0 + $a[0]; if ($leechers == 0) $ratio = 0; else $ratio = round($seeders / $leechers * 100); $warnedu = number_format(get_row_count("users", "WHERE warned='yes'")); $disabled = number_format(get_row_count("users", "WHERE enabled='no'")); $VIP = number_format(get_row_count("users", "WHERE donor='yes'")); $peers = number_format($seeders + $leechers); $seeders = number_format($seeders); $leechers = number_format($leechers); $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $result = mysql_query("SELECT SUM(last_access >= $dt and jelenlet_elrejtese='nem') AS totalol FROM users") or sqlerr(__FILE__, __LINE__); while ($row = mysql_fetch_array ($result)) { $totalonline = $row["totalol"]; } $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $result = mysql_query("SELECT SUM(last_access >= $dt and jelenlet_elrejtese='igen') AS totalol FROM users") or sqlerr(__FILE__, __LINE__); while ($row = mysql_fetch_array ($result)) { $rejtettek = $row["totalol"]; } $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $res = mysql_query("SELECT id, username, class, donor, warned FROM users WHERE last_access >= $dt and jelenlet_elrejtese='nem' ORDER BY username") or print(mysql_error()); while ($arr = mysql_fetch_assoc($res)) { if ($activeusers) $activeusers .= ",\n"; switch ($arr["class"]) { case UC_SYSOP: $arr["username"] = "" . $arr["username"] . ""; break; case UC_ADMINISTRATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_MODERATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_UPLOADER: $arr["username"] = "" . $arr["username"] . ""; break; case UC_VIP: $arr["username"] = "" . $arr["username"] . ""; break; case UC_POWER_USER: $arr["username"] = "" . $arr["username"] . ""; break; case UC_USER: $arr["username"] = "" . $arr["username"] . ""; break; } $donator = $arr["donor"] === "yes"; if ($donator) $activeusers .= ""; $warned = $arr["warned"] === "yes"; if ($warned) $activeusers .= ""; if ($warned) $activeusers .= "Click the image to open in full size."; } if (!$activeusers) $activeusers = "Nincs egy felhasználó sem az oldalon"; $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $res = mysql_query("SELECT id, username, class, donor, warned FROM users WHERE last_access >= $dt and jelenlet_elrejtese='igen' ORDER BY username") or print(mysql_error()); while ($arr = mysql_fetch_assoc($res)) { if ($rejtuser) $rejtuser .= ",\n"; switch ($arr["class"]) { case UC_SYSOP: $arr["username"] = "" . $arr["username"] . ""; break; case UC_ADMINISTRATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_MODERATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_UPLOADER: $arr["username"] = "" . $arr["username"] . ""; break; case UC_VIP: $arr["username"] = "" . $arr["username"] . ""; break; case UC_POWER_USER: $arr["username"] = "" . $arr["username"] . ""; break; case UC_USER: $arr["username"] = "" . $arr["username"] . ""; break; } $donator = $arr["donor"] === "yes"; if ($donator) $rejtuser .= ""; if ($warned) $rejtuser .= "Click the image to open in full size."; } if (!$rejtuser) $rejtuser = "Nincs egy felhasználó sem az oldalon"; stdhead(); echo "\n"; $megjelenesig = "A TBDev-hun tracker v3.0 megjelenéséig még " . ennyinap(strtotime("2008-12-25") - gmtime()) . "van hátra! "; //print $megjelenesig; print("Köszöntjük legújabb tagunkat, $latestuser! "); ?> Figyelem! Ez az oldal mozilla firefoxra van optimalizálva. Kérlek ezt használd! Születésnap<----------// $b = 0; //print(" "); print("\n"); print("Szülinaposak"); print("\n"); $currentdate = date("m-d"); $res2 = mysql_query("SELECT szulinap2, id, username FROM users WHERE szulinap2 LIKE '%$currentdate' Order by szulinap2 DESC") or sqlerr(); $db = 0; if(mysql_num_rows($res2)>0){ print("Ma ünnepli szülinapját :"); while ($arr2 = mysql_fetch_assoc($res2)) { $db++; $ebben_az_evbe_szuletett = substr($arr2["szulinap2"],0,4); $idei_ev = date('Y'); $kor = $idei_ev-$ebben_az_evbe_szuletett; $username = $arr2["username"]; $id = $arr2["id"]; if($db==1) print("$username ($kor) "); else print(", $username ($kor) "); }} if (mysql_num_rows($res2)==0) print(" Ma egy felhasználó sem ünnepli szülinapját!"); else print(" Sok Boldogságott kiván az oldal vezetősége"); print ""; ?> Születésnap vége<----------// print("\n"); $res = mysql_query("SELECT * FROM news WHERE ADDDATE(added, INTERVAL 61 DAY) > NOW() ORDER BY added DESC LIMIT 10") or sqlerr(__FILE__, __LINE__); if (mysql_num_rows($res) > 0) { print("Hírek"); if (get_user_class() >= UC_ADMINISTRATOR) print(" - [Új hír]"); print("\n
  • "); while($array = mysql_fetch_array($res)) { $fn = mysql_query("SELECT `username` FROM `users` WHERE `id`=$array[userid]") or sqlerr(__FILE__,__LINE__); $fhn = mysql_fetch_array($fn); print("
  • " . $array['cim'] . " Kiírta: $fhn[username], ekkor: $array[added] " . format_comment($array['body']) . " "); if (get_user_class() >= UC_ADMINISTRATOR) { print(" [SIZE=\&quot;-2\&quot;][Szerkeszt][/SIZE]"); print(" [SIZE=\&quot;-2\&quot;][Töröl][/SIZE]"); } print(""); } print("
\n"); } ?> = UC_MODERATOR) { ?>Üzenőfal = UC_MODERATOR) { ?>/VezetőségiÜzenőfal
Üzenet:
Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size.Click the image to open in full size. = UC_MODERATOR) { ?> Semmi Kvíz Kérdés Kvíz nyertes Rendszer üzenet Ürités Szavazás \n"); ?> "; if ($CURUSER) $activeusers .= "{$arr["username"]}"; else $activeusers .= "{$arr["username"]}"; if ($donator) $activeusers .= "Click the image to open in full size."; $warned = $arr["warned"] === "yes"; if ($warned) $rejtuser .= ""; if ($CURUSER) $rejtuser .= "{$arr["username"]}"; else $rejtuser .= "{$arr["username"]}"; if ($donator) $rejtuser .= "Click the image to open in full size.

index.php

please how to configure server nginx ?
Attached Files
File Type: rar index.rar (6.4 KB, 3 views)
Reply With Quote
  #2  
Old 26th July 2013, 09:22
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
What Linux OS you using? as that is a problem with PHP I suspect. If you are using Deb/Ubuntu distro try this...

Code:
sudo apt-get install php5
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
The Following User Says Thank You to firefly007 For This Useful Post:
xd-host.eu (29th July 2013)
  #3  
Old 26th July 2013, 09:37
xd-host.eu xd-host.eu is offline
Senior Member
 
Join Date: Feb 2013
P2P
Posts: 21
Default
Quote:
Originally Posted by firefly007 View Post
What Linux OS you using? as that is a problem with PHP I suspect. If you are using Deb/Ubuntu distro try this...

Code:
sudo apt-get install php5

php5 is loaded up but still.

it is wrong.
Reply With Quote
  #4  
Old 26th July 2013, 10:11
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by xd-host.eu View Post
php5 is loaded up but still.

it is wrong.
If this shared hosting??
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
The Following User Says Thank You to firefly007 For This Useful Post:
xd-host.eu (29th July 2013)
  #5  
Old 26th July 2013, 12:23
xd-host.eu xd-host.eu is offline
Senior Member
 
Join Date: Feb 2013
P2P
Posts: 21
Default
no!
their vps.
Reply With Quote
  #6  
Old 26th July 2013, 13:14
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Turn on allow short tags in php.ini
__________________
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
The Following User Says Thank You to joeroberts For This Useful Post:
xd-host.eu (27th July 2013)
  #7  
Old 27th July 2013, 16:22
xd-host.eu xd-host.eu is offline
Senior Member
 
Join Date: Feb 2013
P2P
Posts: 21
Default
how ?
Quote:
Originally Posted by joeroberts View Post
Turn on allow short tags in php.ini
Reply With Quote
  #8  
Old 27th July 2013, 17:15
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by xd-host.eu View Post
how ?
your scean name is xd-host and you dont know how to edit php.ini?
__________________
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
The Following User Says Thank You to joeroberts For This Useful Post:
xd-host.eu (29th July 2013)
  #9  
Old 27th July 2013, 19:09
xd-host.eu xd-host.eu is offline
Senior Member
 
Join Date: Feb 2013
P2P
Posts: 21
Default
Quote:
Originally Posted by joeroberts View Post
your scean name is xd-host and you dont know how to edit php.ini?
short tags on:

ERROR 500 - Internal Server Error!


The following error occurred:

The requested URL caused an internal server error.
If you get this message repeatedly please contact the webmaster.

Bump: Thankyou working :-D
Reply With Quote
  #10  
Old 27th July 2013, 19:59
Joe Joe is offline
Senior Member
 
Join Date: Apr 2010
P2P
Posts: 167
Default
Quote:
Originally Posted by xd-host.eu View Post
short tags on:

ERROR 500 - Internal Server Error!


The following error occurred:

The requested URL caused an internal server error.
If you get this message repeatedly please contact the webmaster.

Bump: Thankyou working :-D

Funny shit
Reply With Quote
The Following User Says Thank You to Joe For This Useful Post:
xd-host.eu (27th July 2013)
Reply

Tags
engine , error , nginx , tbdev

Thread Tools

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



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