Comment or delete that line.Index error
Warning: include_once(dkfirewall.php) [You must be registered to see links]: failed to open stream: No such file or directory in C:\AppServ\www\ams\Index.php on line 25
Warning: include_once() [You must be registered to see links]: Failed opening 'dkfirewall.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\ams\Index.php on line 25
Warning: session_start() [You must be registered to see links]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\ams\Index.php:4) in C:\AppServ\www\ams\header.php on line 2
dangky.js handle the ajaxregister.php do Register action. It response result to dangky.jsThe register page works? Its just keep loading after clicking submit. Plus, I saw there is nothing written inside the form action, is it suppose to be like that or to code it myself?
Plus, I have this error
A session had already been started - ignoring session_start() in C:\xampp\htdocs\mswebsite\www\header.php on line 2
What cause it?
to thismysql_query("INSERT INTO accounts(`name`,`password`,`pass1`,`lastknownip`) VALUES('".$username."', '".$hashed_password."','".$pass."','127.0.0.1')");
mysql_query("INSERT INTO accounts(`name`,`password`,`lastknownip`) VALUES('".$username."', '".$hashed_password."','127.0.0.1')");
A session had already been started - ignoring session_start() in C:\xampp\htdocs\mswebsite\www\header.php on line 2
Thanks for your assistance.What page show this error. Header.php include in every page need loggedin.
Thanks for your assistance.
The first problem I've managed to understand it in the end, it fixed it.
The second one happened because there was 2 start_session() commands, one in the page and one in the header. Just remove one from the regular pages (register and character info i think it was).
Anyway I've managed to register, but it doesn't return me the message that everything completed, its just keep "loading".
ty bro but need edit all scripts for english..and i get errors in siteUpdate Thread: English version
I am planning to move to PDO already, and I have a PDO config file in there, just no free time to complete."mysql_query()" what the actual duck
I'm on phone so I haven't looked into the code but quoting you saying this one line makes me feel very unsafe about this release. Please use MySQLi or PDO. Plus, all mysql_* functions were removed in PHP7..
ty bro but need edit all scripts for english..and i get errors in site
lol, this CMS using for Vietnamese's server?
"Cho hỏi server này còn sống không? :v"
site fully vietname's and i have the ver englishlol, this CMS using for Vietnamese's server?
"Cho hỏi server này còn sống không? :v"
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\dbconfig.php:8 Stack trace: #0 C:\xampp\htdocs\header.php(3): include() #1 C:\xampp\htdocs\Index.php(25): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\dbconfig.php on line 8
how i fix this eror?
Code:Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\dbconfig.php:8 Stack trace: #0 C:\xampp\htdocs\header.php(3): include() #1 C:\xampp\htdocs\Index.php(25): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\dbconfig.php on line 8
Wrong mysql info. Please check your dbconfig.php
No, no... It clearly says "undefined function", plus the path says xampp, so it's safe to assume that he uses xampp with PHP 7, where as I said earlier, it had all the mysql_* functions removed because of it's security flaws, the main methods for SQL are MySQLi and PDO.