Raised This Month: $32 Target: $400
 8% 

[Release]Linux control panel


Post New Thread Reply   
 
Thread Tools Display Modes
napster_10
Senior Member
Join Date: May 2016
Old 12-05-2018 , 11:20   Re: [Release]Linux control panel
Reply With Quote #41

i guess this wont work on php7??????????!?!?!?!?!
napster_10 is offline
Cooky
Veteran Member
Join Date: Jun 2010
Location: 127.0.0.1
Old 12-06-2018 , 04:52   Re: [Release]Linux control panel
Reply With Quote #42

Quote:
Originally Posted by napster_10 View Post
i guess this wont work on php7??????????!?!?!?!?!
Try it??????????!?!?!?!?!
Cooky is offline
napster_10
Senior Member
Join Date: May 2016
Old 12-15-2018 , 10:30   Re: [Release]Linux control panel
Reply With Quote #43

noooo?!?!?!?!?!?!!!!!!!!!!!!!!!!!!!!!!!!!!!!
napster_10 is offline
ae2x
Member
Join Date: Mar 2017
Old 01-17-2019 , 13:43   Re: [Release]Linux control panel
Reply With Quote #44

Nah not working with php7 just tryed
ae2x is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 01-18-2019 , 04:19   Re: [Release]Linux control panel
Reply With Quote #45

Quote:
Originally Posted by ae2x View Post
Nah not working with php7 just tryed
Well, if you guys would stop all your "not working"-crap, the Internet would be very happy:

Instead move on with sharing useful information, such as the exact errors you see and information when you see them (what actions you did), as well as the logs files from your web servers, that are pinpointing to where the errors actually are.

In that case you follow that information, someone else would actually have a possibility of making an updated version with the issues you see fixed...

It is very clear that you DO NOT WANT a fixed version at all, when you do not want to give useful/helpful information that could eventually help you getting a such fixed version..

It's actually not that hard to give "useful information", ...
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
ae2x
Member
Join Date: Mar 2017
Old 01-19-2019 , 09:31   Re: [Release]Linux control panel
Reply With Quote #46

Quote:
Originally Posted by arne1288 View Post
Well, if you guys would stop all your "not working"-crap, the Internet would be very happy:

Instead move on with sharing useful information, such as the exact errors you see and information when you see them (what actions you did), as well as the logs files from your web servers, that are pinpointing to where the errors actually are.

In that case you follow that information, someone else would actually have a possibility of making an updated version with the issues you see fixed...

It is very clear that you DO NOT WANT a fixed version at all, when you do not want to give useful/helpful information that could eventually help you getting a such fixed version..

It's actually not that hard to give "useful information", ...

Well there is no error on weblog..

http://82.146.60.239/panel/control-panel/home.php

and when you try to install it:

Quote:
aTSlash($homeDir); $backupsDir = $_POST['backupsDir']; $backupsDir = $pathing->aTSlash($backupsDir); $salt = Misc::random(; $cpuser = $_POST['cpuser']; //$pass = $_POST['cppass']; $cppass = sha1(sha1($salt . $_POST['cppass'])); $cpemail = $_POST['cpemail']; $senderName = $_POST['senderName']; $senderEmail = $_POST['senderEmail']; $dump = $_POST['dump']; if (isset($_POST['senderDumpAddy']) && !empty($_POST['senderDumpAddy'])) { $dumpAddy = $_POST['senderDumpAddy']; } else { $dumpAddy = ''; } @$mysqli = new mysqli($host, $user, $pass, $dbname); if (empty($mysqli->connect_error)) { $tables = array(" CREATE TABLE IF NOT EXISTS `" . $dbprefix . "_backups` ( `id` int(11) NOT NULL AUTO_INCREMENT, `server_name` varchar(64) NOT NULL, `srv_path` varchar(12 NOT NULL, `backup_path` varchar(12 NOT NULL, `compression` varchar(4) NOT NULL, `has_pw` int(1) NOT NULL, `timestamp` int(32) NOT NULL, `username` varchar(64) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;", " CREATE TABLE IF NOT EXISTS `" . $dbprefix . "_logs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `type` varchar(32) NOT NULL, `user` varchar(64) NOT NULL, `log` varchar(1000) NOT NULL, `timestamp` int(32) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;", "CREATE TABLE IF NOT EXISTS `" . $dbprefix . "_new_servers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `appid` int(16) NOT NULL, `path` varchar(512) NOT NULL, `steamuser` varchar(64) NOT NULL, `steampass` varchar(64) NOT NULL, `user_name` varchar(32) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `created` int(11) NOT NULL DEFAULT '0', `email_confirm` varchar(12 DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;", "CREATE TABLE IF NOT EXISTS `" . $dbprefix . "_servers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `appid` varchar(64) NOT NULL, `name_friendly` varchar(64) NOT NULL, `path` varchar(256) NOT NULL, `exec_path` varchar(256) NOT NULL, `cmd_line` varchar(256) NOT NULL, `cmd_line_hidden` varchar(256) DEFAULT NULL, `pid_file` varchar(256) DEFAULT NULL, `ip` varchar(16) NOT NULL, `port` int( NOT NULL, `rcon_pass` varchar(64) DEFAULT NULL, `steam_inf_path` varchar(12 DEFAULT NULL, `steamuser` varchar(64) DEFAULT NULL, `steampass` varchar(64) DEFAULT NULL, `notes` varchar(1000) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `auto_update` int(1) NOT NULL DEFAULT '0', `enabled` int(1) NOT NULL DEFAULT '0', `status` int(1) NOT NULL DEFAULT '0', `auto_restart` int(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;", "CREATE TABLE IF NOT EXISTS `" . $dbprefix . "_server_order` ( `id` int(11) NOT NULL, `order` int(11) NOT NULL, KEY `id` (`id`), CONSTRAINT `id` FOREIGN KEY (`id`) REFERENCES `" . $dbprefix . "_servers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=latin1;", "CREATE TABLE IF NOT EXISTS `" . $dbprefix . "_users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(32) NOT NULL, `password` varchar(256) NOT NULL, `permissions` int(32) NOT NULL, `enabled` int(1) NOT NULL DEFAULT '0', `email` varchar(12 NOT NULL, `rec_email` int(1) NOT NULL DEFAULT '1', `srvStats` int(1) NOT NULL DEFAULT '1', `rconPopOut` int(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `email` (`email`), UNIQUE KEY `username` (`username`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1; ", "INSERT INTO " . $dbprefix . "_users (`username`, `email`, `password`, `permissions`, `rec_email`, `enabled`) VALUES ('$cpuser', '$cpemail', '$cppass', '511', '1', '1') "); foreach ($tables as $sql) { $mysqli->query($sql)or die($mysqli->error); if (empty($mysqli->error)) { continue; } else { die('Error creating tables ' . $mysqli->error); } } echo "Connected to MySQL server and installed tables.
"; $file = " "; echo "Proceed to page 2"; echo ""; } else { die("Un-able to connect to MySQL server. " . $mysqli->connect_error); } } function rollback($num) { echo 'rolling back
'; global $mysqli, $dbname, $homeDir, $configDir, $backupsDir; if ($num >= 1) { $mysqli->query("DROP DATABASE `$dbname`;"); $mysqli->query("CREATE DATABASE `$dbname`;"); } if ($num >= 2) { rmdir($configDir); } if ($num >= 4) { rmdir($homeDir); } if ($num >= 5) { rmdir($backupsDir); @unlink($configDir . 'config.php'); @unlink($configDir . 'email.php'); } }

Last edited by ae2x; 01-19-2019 at 09:31.
ae2x is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 01-20-2019 , 07:50   Re: [Release]Linux control panel
Reply With Quote #47

Quote:
Originally Posted by ae2x View Post
Well there is no error on weblog..

http://82.146.60.239/panel/control-panel/home.php

and when you try to install it:
Sites printing the PHP code rather than executing them is either because PHP is not installed, not loaded/enabled (for the site), or due to a misconfiguration somewhere.

Is it your own server? Do you have full root access to the server, etc?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
ae2x
Member
Join Date: Mar 2017
Old 01-22-2019 , 11:31   Re: [Release]Linux control panel
Reply With Quote #48

I got it work problem was that i got php version 7.2 now its 7.0 and it works

but can you tell me why Counter Strike Source got "-game undefined" in Command Line and its not creating server at all

EDIT:

I figure it out you need to update server first so you could run it.

Now it works!!

Last edited by ae2x; 01-22-2019 at 14:18.
ae2x is offline
Reply



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 -4. The time now is 04:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode