Complex Server Manager [In-Progress]

Status
Not open for further replies.

ryuma

Member
May 30, 2016
36
1
43
1st: I did this already, heres the thing that you need to edit, at your aside.php and at desing folder, edit both and erase "/complexserver" so.
2nd: go to your signup and edit line 31 and 32 to your php host, dbuser dbpasswd and dbname.

edit:
3rd it will be okay now but when you trying to signup it will give you an error telling

4th when you tried to signin [email protected] because you copied the sql to try it it will tell you

1)This is understandable, just I wrote that just to make more convenient. I understand that this is only a test. Just have to defect.
2)Not too lazy to look, but do not need to edit the 32, 33 and line parameters1 ($connection = mysql_connect, $db_select = mysql_select_db) line 30-31
3)The 'functions / mailer' has three libraries to organize smtp, pop and phpmail, by default, all the same it would be logical to use the latest feature without additional configuration. Where do I configure the SMTP then I find himself.
4)With this I have already figured out, just not immediately corrected in sql default port that was installed there. For one immediately deleted in the database port installed by default for new users. Although the letter and not recovering and the user is created, even without activation. Well, the options "vip, admin" for new users is also deleted.

Application developers my respek for their work. Especially for accuracy in writing code. Very convenient and readable.

Sorry my bad english ;(
 

Pim

Member
Sep 27, 2015
71
9
43
1)This is understandable, just I wrote that just to make more convenient. I understand that this is only a test. Just have to defect.
2)Not too lazy to look, but do not need to edit the 32, 33 and line parameters1 ($connection = mysql_connect, $db_select = mysql_select_db) line 30-31
3)The 'functions / mailer' has three libraries to organize smtp, pop and phpmail, by default, all the same it would be logical to use the latest feature without additional configuration. Where do I configure the SMTP then I find himself.
4)With this I have already figured out, just not immediately corrected in sql default port that was installed there. For one immediately deleted in the database port installed by default for new users. Although the letter and not recovering and the user is created, even without activation. Well, the options "vip, admin" for new users is also deleted.

Application developers my respek for their work. Especially for accuracy in writing code. Very convenient and readable.

Sorry my bad english ;(
have you figured out where u can locate this so called invalid address?
 

ryuma

Member
May 30, 2016
36
1
43
have you figured out where u can locate this so called invalid address?
1) go to /functions/mailer/ and edit class.user.php
find and edit (lines 119.120.122.123.124.125)
PHP:
            require_once('mailer/class.phpmailer.php');
            $mail = new PHPMailer();
            $mail->IsSMTP();
            $mail->SMTPDebug  = 0;                    
            $mail->SMTPAuth   = true;                
            $mail->SMTPSecure = "ssl";                
            $mail->Host       = "xxxxxxxx";    
            $mail->Port       = 465;            
            $mail->AddAddress($email);
            $mail->Username="xxxxxxxxxx";
            $mail->Password="xxxxxx";          
            $mail->SetFrom('xxxxxxxxx','Verificaction');
            $mail->AddReplyTo("xxxxxxxxxxx","Verificaction");
2) edit text message file signup.php
PHP:
            $message = "                  
                        Hello $uname,
                        <br /><br />
                        Welcome to Coding Cage!<br/>
                        To complete your registration  please , just click following link<br/>
                        <br /><br />
                        <a href='http://worhost.net/complexserver/verify.php?id=$id&code=$code'>Click HERE to Activate :)</a>
                        <br /><br />
                        Thanks,";

go to database and change the settings:
your database->structure
vip:0
admin:0
port:remove the value and leave the field blank
 
Last edited:

Pim

Member
Sep 27, 2015
71
9
43
OMG! Thanks :). Now ts3 error is the problem. I'm also reading the codes :)..
 
Last edited:

Pim

Member
Sep 27, 2015
71
9
43
Yeah my ts3setting is correct but still

ERRROR!!!
Look , Your TS3 Server Its Stopped or Suspended.

Please contact Administrator to Check This Error.
 

ryuma

Member
May 30, 2016
36
1
43
Yeah my ts3setting is correct but still

ERRROR!!!
Look , Your TS3 Server Its Stopped or Suspended.

Please contact Administrator to Check This Error.
1)screan phpmyadmin your database four user
settingsts3.php used user serveradmin who created the first time the server is started teamspeak server
 

ryuma

Member
May 30, 2016
36
1
43
what do you mean by screan?
sorry, the difference in terms of language, screenshot users database
ypqvx60.png
 

akzmeister

Member
Apr 10, 2016
32
4
43
When i press "Register a new membership"
Code:
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/fkzserve/public_html/panel/signup.php on line 33

Then when i sign up, another error appears. (the first error appears too)
Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fkzserve_panel.tbl_users' doesn't exist' in /home/fkzserve/public_html/panel/signup.php:45 Stack trace: #0 /home/fkzserve/public_html/panel/signup.php(45): PDOStatement->execute(Array) #1 {main} thrown in /home/fkzserve/public_html/panel/signup.php on line 45

I didn't import the SQL file that was in the post, my bad. Now it works :D
 
Last edited:

ryuma

Member
May 30, 2016
36
1
43
you need to create a database.
execute SQL query
-- phpMyAdmin SQL Dump
-- version 4.0.10.14
-- http://www.phpmyadmin.net
--
-- Servidor: localhost:3306
-- Tiempo de generación: 22-09-2016 a las 03:56:49
-- Versión del servidor: 5.6.31
-- Versión de PHP: 5.6.20

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

CREATE TABLE IF NOT EXISTS `tbl_users` (
`userID` int(11) NOT NULL AUTO_INCREMENT,
`userName` varchar(100) NOT NULL,
`userEmail` varchar(100) NOT NULL,
`userPass` varchar(100) NOT NULL,
`userStatus` enum('Y','N') NOT NULL DEFAULT 'N',
`tokenCode` varchar(100) NOT NULL,
`port` varchar(65) NOT NULL DEFAULT '9987',
`vip` int(11) NOT NULL DEFAULT '1',
`admin` int(11) NOT NULL DEFAULT '1',
`slots` int(32) NOT NULL DEFAULT '32',
`voa` int(1) NOT NULL DEFAULT '0',
`date` date DEFAULT NULL,
`registerIP` varchar(264) NOT NULL,
PRIMARY KEY (`userID`),
UNIQUE KEY `userEmail` (`userEmail`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Volcado de datos para la tabla `tbl_users`
--

INSERT INTO `tbl_users` (`userID`, `userName`, `userEmail`, `userPass`, `userStatus`, `tokenCode`, `port`, `vip`, `admin`, `slots`, `voa`, `date`, `registerIP`) VALUES
(4, 'EscuderoKevin', '[email protected]', 'a796e80ac3e27000bc1c8d4b56989af6', 'Y', '4d8460bc3d757c9e1379cd563346aec9', '9965', 1, 1, 80, 0, '2016-08-01', '');

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Setting dbconfig.php and settingsts3.php
 

akzmeister

Member
Apr 10, 2016
32
4
43
you need to create a database.
execute SQL query
-- phpMyAdmin SQL Dump
-- version 4.0.10.14
-- http://www.phpmyadmin.net
--
-- Servidor: localhost:3306
-- Tiempo de generación: 22-09-2016 a las 03:56:49
-- Versión del servidor: 5.6.31
-- Versión de PHP: 5.6.20

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

CREATE TABLE IF NOT EXISTS `tbl_users` (
`userID` int(11) NOT NULL AUTO_INCREMENT,
`userName` varchar(100) NOT NULL,
`userEmail` varchar(100) NOT NULL,
`userPass` varchar(100) NOT NULL,
`userStatus` enum('Y','N') NOT NULL DEFAULT 'N',
`tokenCode` varchar(100) NOT NULL,
`port` varchar(65) NOT NULL DEFAULT '9987',
`vip` int(11) NOT NULL DEFAULT '1',
`admin` int(11) NOT NULL DEFAULT '1',
`slots` int(32) NOT NULL DEFAULT '32',
`voa` int(1) NOT NULL DEFAULT '0',
`date` date DEFAULT NULL,
`registerIP` varchar(264) NOT NULL,
PRIMARY KEY (`userID`),
UNIQUE KEY `userEmail` (`userEmail`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Volcado de datos para la tabla `tbl_users`
--

INSERT INTO `tbl_users` (`userID`, `userName`, `userEmail`, `userPass`, `userStatus`, `tokenCode`, `port`, `vip`, `admin`, `slots`, `voa`, `date`, `registerIP`) VALUES
(4, 'EscuderoKevin', '[email protected]', 'a796e80ac3e27000bc1c8d4b56989af6', 'Y', '4d8460bc3d757c9e1379cd563346aec9', '9965', 1, 1, 80, 0, '2016-08-01', '');

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Setting dbconfig.php and settingsts3.php
I fixed it already, thanks anyway :D
 
Aug 12, 2016
11
1
35
i got this error: Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\complexserver\desing\aside.php on line 253

Fixed it by chaning <? } ?> to <?php } ?>
 
Last edited:

ryuma

Member
May 30, 2016
36
1
43
i got this error: Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\complexserver\desing\aside.php on line 253

Fixed it by chaning <? } ?> to <?php } ?>
PHP:
($_SERVER['REQUEST_URI'] == '/complexserver/pages/admin/others/cronmessage.php')

<?php } echo $_SERVER['REQUEST_URI']; ?>
let the installation script should be installed in the root domain folder and not to be the domain. This is a mistake in writing the code.

Code:
C:\xampp\htdocs\YOUR_DOMAIN\complexserver\desing\
 

flickerjunky

First perm VIP!? Furries4Life?! #CutenessOverload
VIP
Mar 16, 2016
69
58
56
Do you guys have the complexserver\pages\admin <--- folder?
 
  • Like
Reactions: Pim
Status
Not open for further replies.
Top