AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   PHP error (https://forums.alliedmods.net/showthread.php?t=311192)

Skadro 10-07-2018 06:40

PHP error
 
Hello,


I have a problem with web interface(1.6.19).


https://cdn.discordapp.com/attachmen...sXCE_Error.PNG


Can someone help me?

I tried anything,but didn't work.

NomisCZ 10-07-2018 14:41

Re: PHP error
 
Hello,
look at this post: https://forums.alliedmods.net/showth...=284078&page=2.

It's a problem with PHP 7.X (doesn't support old mysql). You can try downgrade to PHP 5.X or use fix in the post above.

NomisCZ 10-08-2018 10:11

Re: PHP error
 
Quote:

Originally Posted by Skadro (Post 2618849)
Now i have another problem :/
I can't login as an admin user.I copied the exact username and password from the database and didn't work.

Help? Again?

You can't just copy hashed (MD5 - https://en.wikipedia.org/wiki/MD5) password from database.

Default password is 123456, documentation: https://bitbucket.org/Maverick_of_UC...n/wiki/Install - Step 6 - Configure HLX:CE

If you forgot your new password (if you changed default password), you can change it with SQL query:
PHP Code:

UPDATE `hlstats_UsersSET password=MD5('your_new_password'WHERE username 'your_username'

Or you can insert default user / password, but before delete admin user.
PHP Code:

INSERT INTO `hlstats_UsersVALUES ('admin','e10adc3949ba59abbe56e057f20f883e',100,0); 


NomisCZ 10-09-2018 16:28

Re: PHP error
 
Quote:

Originally Posted by Skadro (Post 2619012)
Didn't work :/
Btw,i typed myself the password

https://cdn.discordapp.com/attachmen...CE_Error_2.PNG

PM me on SourceMod Discord (https://discord.gg/5KadJ3), probably you didn't change password or PHP error occured.
I can look at it, if you send me a DB credentials / HLStatsX subdomain FTP or PHP error log.

NomisCZ 10-10-2018 14:07

Re: PHP error
 
Quote:

Originally Posted by Skadro (Post 2619152)
Nvm,i tried again and now works.Thanks anyway, Nomis!

OK, no problem :-)


All times are GMT -4. The time now is 01:06.

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