No login after installation U232 V5
Hello, I installed the u232 v5. I created everything according to instructions. if i want to log in now i just get the message
Login failed! Error: Username or password entry incorrect Have you forgotten your password? Recover your password! The errorr log says PHP Notice: Undefined variable: INSTALLER09 in /var/www/html/include/class/page_verify.php on line 39 does someone have an idea what you have to change there so that the login works? Would be very grateful for that |
off my nose.. my hunch is that you are using ...a different PHP version than the one that V5 was made for
|
PHP 7.0.33-1
MySQL 5.5. (Debian) |
using the latest github release ?
|
on page_verify.php line 38:
Code:
global $CURUSER, $_SESSION; Code:
global $CURUSER, $_SESSION, $INSTALLER09; |
yes https://github.com/Bigjoos/U-232-V5 this one
this not work PHP Notice: Undefined variable: INSTALLER09 in /var/www/html/include/class/page_verify.php on line 39 |
Quote:
YOU NEED TO ADD GLOBAL $INSTALLER09 ON LINE 38 FOR MAKEIT WORK LINE 39; |
yes. you need to add the global variable.. inside the create function
the files should've been updated on the latest github version |
Is it correct that way
function create($task_name = 'Default') { global $CURUSER, $_SESSION, $INSTALLER09; |
YEEP;
|
now i have this error
PHP Notice: Undefined variable: INSTALLER09 in /var/www/html/include/class/page_verify.php on line 39 and a white page :wallbash: |
once its on the global set you won't get undef variable
you are doing something wrong |
Now if you tell me what I'm doing wrong then I could fix it too. should I reinstall it again with the changed page verify
|
why? just change the page verify with that we told ya..
just do the trick.. logout..clear your cookies.. maybe also empty/refresh memcache |
just copy this code:
Code:
// receiving script... verify on config.php if you have this line. $INSTALLER09['bot_id'] = 2; |
I changed that as you wrote me. I still get login failed
|
well..the login failed error is not from the page_verify thing. your problem is someplace different.
|
Quote:
some sql errors? you can verify sql errors on folder sqlerr_logs. but your error is on database. on table `users` change length of column `passhash` from 32 to 64. Code:
`passhash` varchar(32) CHARACTER SET utf8 DEFAULT NULL, Code:
`passhash` varchar(64) CHARACTER SET utf8 DEFAULT NULL; second from phpmyadmin enter on table users and change the length of column passhash from 32 to 64. or use this on phpmyadmin: Code:
ALTER TABLE `users` MODIFY `passhash` varchar(64) CHARACTER SET utf8 DEFAULT NULL; Bump: errors are from database on column passhash. length of column passhash is 32. function make_passhash creates a passhash of length 64. on sql insert passhash is truncated to 32. |
it works, thank you very much!:ok::ok: I still have one question, how can I turn off Donate and change the template?
|
from site settings and also there is a termplate system management..but you need to use already created designs or create your own
v5 is not a click and play code.. you need to have some knowledge when editing it |
how can i create a second sysop? until now it has only been an admin
|
you need to go directly into the database and change the class number to your highest class
you cannot promote or demote a class equal to yours |
thank you I changed that. the second sysop stays at its rank for a short time and is then power user
if I change it again in the database, when I click on staff panel, I get this error: Incorrect access Silly Rabbit - Trix are for kids .. You dont have the correct credentials to be here! |
check staff_settings.php and staff_settings2.php. you need to add username credentials on that pages.
|
that's how it is set for me. is that not right?
staff_settings.php **/ $INSTALLER09['allowed_staff']['id'] = array(1,2,3,4); ?> staff_settings2.php $INSTALLER09['staff']['allowed'] = array( 'user1' => 1, 'user2' => 2, 'user3' => 3, 'user4' => 4 ); |
correct is :
staff_settings2.php $INSTALLER09['staff']['allowed'] = array( 'user1' => 1, 'user2' => 1, 'user3' => 1, 'user4' => 1 ); Verify also on database table users override_class value need to be higher than class value. default override_class value is 255 |
I've changed that, when I click on the staff panel I get this
message: Incorrect access Silly Rabbit - Trix are for kids .. You dont have the correct credentials to be here! and then I'm back to power |
try to change all again and restart browser. when u promote a user to staf it need to be logged out.
|
well wasn't your user already in the allowed staff list ids and names? it should be
|
Quote:
|
here is where you made wrong in staff_settings2.php
this line PHP Code:
PHP Code:
|
|
All times are GMT +2. The time now is 19:30. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.