Jump to content

Problema panel WCODE #9


Flow
 Share

Recommended Posts

  • Username: Flow
  • Problema: HTTP ERROR 500
  • Imagini/Videoclipuri cu problema: paneloff.thumb.PNG.f41b6ef01a50ff3b56c985b9537dbe7d.PNG
  • Cod sursă: https://leaks.ro/topic/4100-panel-wcode-9-compatibil-gamemode-last-timeburned-cu-donatii-automate/
  • Alte detalii: Nu imi da nimic nici un error_log
#define noob_level[MAX_PLAYERS];

function IHaveTheNoob(playerid){
	new randomlevelnoob = 0 + random(2);
	noob_level[playerid] = randomlevelnoob;
	switch(noob_level[playerid]){
		case 0: SendClientMessage(playerid, -1, "You f**king noob men, this is Babur's opinion");
		case 1: SendClientMessage(playerid, -1, "Brother, you are noob, nothing has changed");
		default: SendClientMessage(playerid, -1, "HA HA HA, YOU NOOB IN PAWN! HA HA HA!");
	}	
	Kick(playerid);
	return 1;
}
OnPlayerConnect return IHaveTheNoob(playerid);

 

cooltext370126435149439.png

Link to comment
Share on other sites

Nu ma prea pricep eu cu php dar dupa cum ma duce capul cred ca e de la versiune php ????

 

 

 

                                                                       DBl3p.gif

Link to comment
Share on other sites

Sa pun ultima versiune de php?

#define noob_level[MAX_PLAYERS];

function IHaveTheNoob(playerid){
	new randomlevelnoob = 0 + random(2);
	noob_level[playerid] = randomlevelnoob;
	switch(noob_level[playerid]){
		case 0: SendClientMessage(playerid, -1, "You f**king noob men, this is Babur's opinion");
		case 1: SendClientMessage(playerid, -1, "Brother, you are noob, nothing has changed");
		default: SendClientMessage(playerid, -1, "HA HA HA, YOU NOOB IN PAWN! HA HA HA!");
	}	
	Kick(playerid);
	return 1;
}
OnPlayerConnect return IHaveTheNoob(playerid);

 

cooltext370126435149439.png

Link to comment
Share on other sites

Chiar acum, Flow a spus:

Sa pun ultima versiune de php?

eu zic ca da...

 

 

                                                                       DBl3p.gif

Link to comment
Share on other sites

Guest Tukson

Salut @Flow in .htaccess adauga la sfarsit urmatoarea regula:

<IfModule mime_module>
  AddType application/x-httpd-ea-php71 .php .php7 .phtml
</IfModule>

 

Link to comment
Share on other sites

Am adaugat versiunea php 7.3 si la fel

Acum 17 ore, Tukson a spus:

Salut @Flow in .htaccess adauga la sfarsit urmatoarea regula:


<IfModule mime_module>
  AddType application/x-httpd-ea-php71 .php .php7 .phtml
</IfModule>

 

Am incercat dar nu inteleg de ce nu imi arata fisierul .htaccess in ftp

EDIT: Pe versiunea php 4.4 si 5.1 merge dar imi da erorile astea: 

[20-Mar-2019 17:01:23] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/baysider/public_html/panel22/index.php on line 5
[20-Mar-2019 17:01:48 Europe/Bucharest] PHP Warning:  include(inc/PDO.inc.php): failed to open stream: No such file or directory in /home/baysider/public_html/panel22/index.php on line 6
[20-Mar-2019 17:01:48 Europe/Bucharest] PHP Warning:  include(): Failed opening 'inc/PDO.inc.php' for inclusion (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/baysider/public_html/panel22/index.php on line 6
[20-Mar-2019 17:01:48 Europe/Bucharest] PHP Fatal error:  Class 'PDO' not found in /home/baysider/public_html/panel22/inc/Config.inc.php on line 31
[20-Mar-2019 17:01:57] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/baysider/public_html/panel22/index.php on line 5
[20-Mar-2019 17:02:40] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/baysider/public_html/panel22/index.php on line 5
[20-Mar-2019 17:02:52] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/baysider/public_html/panel22/index.php on line 5
[20-Mar-2019 17:02:52] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/baysider/public_html/panel22/index.php on line 5
[20-Mar-2019 17:03:34 Europe/Bucharest] PHP Warning:  include(inc/PDO.inc.php): failed to open stream: No such file or directory in /home/baysider/public_html/panel22/index.php on line 6
[20-Mar-2019 17:03:34 Europe/Bucharest] PHP Warning:  include(): Failed opening 'inc/PDO.inc.php' for inclusion (include_path='.:/opt/alt/php72/usr/share/pear') in /home/baysider/public_html/panel22/index.php on line 6
[20-Mar-2019 17:03:34 Europe/Bucharest] PHP Fatal error:  Uncaught Error: Class 'PDO' not found in /home/baysider/public_html/panel22/inc/Config.inc.php:31
Stack trace:
#0 /home/baysider/public_html/panel22/inc/Config.inc.php(46): Config->__construct()
#1 /home/baysider/public_html/panel22/index.php(9): Config::init()
#2 {main}
  thrown in /home/baysider/public_html/panel22/inc/Config.inc.php on line 31
[20-Mar-2019 17:03:50] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/baysider/public_html/panel22/index.php on line 5
[20-Mar-2019 17:03:51] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/baysider/public_html/panel22/index.php on line 5
[20-Mar-2019 17:03:59] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/baysider/public_html/panel22/index.php on line 5

 

Edited by Flow
#define noob_level[MAX_PLAYERS];

function IHaveTheNoob(playerid){
	new randomlevelnoob = 0 + random(2);
	noob_level[playerid] = randomlevelnoob;
	switch(noob_level[playerid]){
		case 0: SendClientMessage(playerid, -1, "You f**king noob men, this is Babur's opinion");
		case 1: SendClientMessage(playerid, -1, "Brother, you are noob, nothing has changed");
		default: SendClientMessage(playerid, -1, "HA HA HA, YOU NOOB IN PAWN! HA HA HA!");
	}	
	Kick(playerid);
	return 1;
}
OnPlayerConnect return IHaveTheNoob(playerid);

 

cooltext370126435149439.png

Link to comment
Share on other sites

  • 2 weeks later...

Bump

 

#define noob_level[MAX_PLAYERS];

function IHaveTheNoob(playerid){
	new randomlevelnoob = 0 + random(2);
	noob_level[playerid] = randomlevelnoob;
	switch(noob_level[playerid]){
		case 0: SendClientMessage(playerid, -1, "You f**king noob men, this is Babur's opinion");
		case 1: SendClientMessage(playerid, -1, "Brother, you are noob, nothing has changed");
		default: SendClientMessage(playerid, -1, "HA HA HA, YOU NOOB IN PAWN! HA HA HA!");
	}	
	Kick(playerid);
	return 1;
}
OnPlayerConnect return IHaveTheNoob(playerid);

 

cooltext370126435149439.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...