- Joined
- Jul 12, 2011
- Messages
- 1,229
- Reaction score
- 475
If you're having trouble setting up MapleBit, please post here instead of the main thread!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
php_errors.log
Code:[05-Mar-2016 17:38:04 UTC] PHP Warning: date() expects at least 1 parameter, 0 given in /var/www/html/sources/misc/logout.php on line 7 [05-Mar-2016 17:39:43 UTC] PHP Warning: date() expects at least 1 parameter, 0 given in /var/www/html/sources/misc/logout.php on line 7 [05-Mar-2016 18:19:16 UTC] PHP Warning: date() expects at least 1 parameter, 0 given in /var/www/html/sources/misc/logout.php on line 7
error_log (apache) doesn't show anything interesting, just starting/stopping apache. Is there anywhere I can change the error reporting level for apache?
iirc the rankings files (php files) contain a display_errors or error_reporting statements, try to comment them out and see.
[07-Mar-2016 08:35:17 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
[07-Mar-2016 08:35:19 UTC] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/assets/img/GD/coordinates.php on line 14
hey, would it be possible to remove the sha1 password hash and just make it into plain text?
My source doesnt support Encryption.
Are you crazy? I hope I'm not the one signing up for your server. You should definitely add encryption to your source. It's incredibly easy.
It is possible, but you absolutely should not do this. This is incredibly irresponsible to do, and so I ask that you reconsider and add hashing to your source.
My server itself is protected as much as possible. lots of loops to even get into the DB.
So you dont have to worry about that. as far as i know.
Encryption is added aswell so your passwords would be safe.
As i noticed in my Mapleclient I apperently can read both. Plaintext and sha1 so this isnt necesary no more.
My server itself is protected as much as possible. lots of loops to even get into the DB.
So you dont have to worry about that. as far as i know.
Encryption is added aswell so your passwords would be safe.
and in the ranking i not see the picture of the playersreCAPTCHA
Notice: Undefined variable: publickey in C:\xampp\htdocs\sources\public\register.php on line 68
To use reCAPTCHA you must get an API key fromYou must be registered to see links
I can assure you your server is not protected at all and could be easily exploited, especially if you yourself don't know if your server-end supports password hashing. Because of this, I highly recommend hashing your passwords. It'd be silly of you to consider doing it otherwise, and if you ever decided to, I would do what @bowser123467 said and put a disclaimer. You'd scare off a lot of user's knowing you, anyone with VPS access, or anyone with decent knowledge on how to exploit your server, could all have access to their passwords (keep in mind, some people actually use their real passwords..).
hey greenelfx, how do i swap out the old captcha for the new google one? (my php knowledge is tragic..)
1.Im putting my account as administrator to be able to login to my site but every time im trying to login i get error msg that pass/username incorrect.
2.Warning: A non-numeric value encountered in C:\xampp\htdocs\MapleBit-master\sources\public\rankings.php on line 48 in ranking page
Hey,Hey green.
Apparently, it seems like the problem that this guy posted (quote below) is still present in your latest released build. (Jan 1st)
I have been experiencing it personally, and here I wonder, is there any fix for that? I don't think that it occurred right after the install, but I am also quite positive that no files relating to the login system have been changed.
It's like login.js doesn't get the right response (in this case, it has to get 'success'), but that doesn't make sense..
Edit:
Fixed it.
In login.js, replace
PHP:success: function (response) { if (response == 'success') { $("#loginform").slideUp('slow', function () { $("#message").html('<script>location.reload();</script><div class=\"alert alert-success\">Logged in. Reloading...</div>'); }); } else { $('#message').hide().html("<br/><div class=\"alert alert-danger\">Wrong username or password</div>").fadeIn('fast'); } console.log(response); }
with
PHP:success: function (response) { alert(response); console.log(response); }
For a moment, in order to check if the response is right. It seems like adding blocks for some other custom web stuff in places like the end of main.php can duck up the response.. lol